Project

General

Profile

Tâche #32578

Scénario #32576: L'EAD3 devait fonctionner sur tous les modules 2.8.1

Mettre à niveau le dictionnaire pour gérer les différents cas Eolebase/Scribe/Amonecole

Added by Daniel Dehennin over 2 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/31/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Faire comme dans le dictionnaire SSO.

Associated revisions

Revision 1264cbe3 (diff)
Added by Daniel Dehennin over 2 years ago

Amonecole: make sure the nginx configuration is up and running

EAD3 always run behind the nginx reverse proxy:

- on port 4300 when Apache handle port 443
- on port 443 when there is no Apache

So:

- the “web.d/ead3.conf” must always be generated
- the “sites-enabled/ead3_apache.conf” must be generated only when
apache listen on port 443

  • dicos/29_ead3.xml: update conditions to mimic “sso” but with EAD3
    specificties.

Ref: #32578

Revision 01556872 (diff)
Added by Daniel Dehennin over 2 years ago

EAD3: no need to take care of EAD3 specificity any more

We don't need to disable the “ead3_nginx” anymore since on 2.8.1 it's
not an nginx server configuration but a “web.d” configuration.

Ref: #32578

Revision 2888fd65 (diff)
Added by Daniel Dehennin over 2 years ago

Amonecole/EAD3: enable by default

Ref: #32578

History

#1 Updated by Daniel Dehennin over 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#2 Updated by Daniel Dehennin over 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

Cela fonctionne sur Amonecole, Eolebase et Scribe.

En revanche, la gestion des clefs clients est cassée sur Amonecole :

 The minion function caused an exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/minion.py", line 1904, in _thread_return return_data = minion_instance._execute_job_function( File "/usr/lib/python3/dist-packages/salt/minion.py", line 1861, in _execute_job_function return_data = self.executors[fname](opts, data, func, args, kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/executors/direct_call.py", line 12, in execute return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as return _func_or_method(*args, **kwargs) File "/var/lib/ead3/var/cache/salt/minion/extmods/modules/ead/__init__.py", line 55, in func return getattr(module, function)(*args, **kwargs) File "/var/lib/ead3/var/cache/salt/minion/extmods/modules/ead/saltkey/__init__.py", line 10, in get_keys data = loads(stdout) File "/usr/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ✕

#3 Updated by Joël Cuissinat over 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
  • aca.eolebase :
    • oui : OK
    • non : page Nginx "La page que vous avez demandée est indisponible"
  • aca.scribe :
    • oui : OK
    • non : Not Found "The requested URL was not found on this server."
  • etb3.amonecole
    • oui : OK
    • non : Not Found "The requested URL was not found on this server."

Also available in: Atom PDF