Projet

Général

Profil

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

Ajouté par Daniel Dehennin il y a presque 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
31/05/2021
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

Faire comme dans le dictionnaire SSO.

Révisions associées

Révision 1264cbe3 (diff)
Ajouté par Daniel Dehennin il y a presque 3 ans

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

Révision 01556872 (diff)
Ajouté par Daniel Dehennin il y a presque 3 ans

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

Révision 2888fd65 (diff)
Ajouté par Daniel Dehennin il y a presque 3 ans

Amonecole/EAD3: enable by default

Ref: #32578

Historique

#1 Mis à jour par Daniel Dehennin il y a presque 3 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Daniel Dehennin

#2 Mis à jour par Daniel Dehennin il y a presque 3 ans

  • Statut changé de En cours à Résolu
  • % réalisé changé de 0 à 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 Mis à jour par Joël Cuissinat il y a presque 3 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 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."

Formats disponibles : Atom PDF