Project

General

Profile

Tâche #30391

Scénario #25296: L’installation du SSO en mode cluster n’est pas fonctionnelle en 2.7

Connexion refusée dans les logs EoleSSO

Added by Joël Cuissinat 11 days ago. Updated 8 days ago.

Status:
Résolu
Priority:
Normal
Assigned To:
Start date:
06/26/2020
Due date:
% Done:

0%

Remaining (hours):

Description

https://dev-eole.ac-dijon.fr/squash/executions/10868

Si j'exécute le test squash, je suis bloqué sur l'authentication EoleSSO du Scribe.
Les logs indiquent :

root@scribe:~# tail -fn30 /var/log/rsyslog/local/eole-sso/eole-sso.info.log 
2020-06-26T12:24:18.222299+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:24:18+0200 [-] - Attributs calculés définis : ENTPersonProfils, ecs_profil, groupes, ecs_rne, FrEduVecteur, secureid, entlogin
2020-06-26T12:24:18.222480+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:24:18+0200 [-] - Attributs de fédération externes déclarés :
2020-06-26T12:24:18.224553+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:24:18+0200 [-] - Filtres chargés : ead2, saml, providers, openid, roundcube, default
2020-06-26T12:24:18.224736+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:24:18+0200 [-] - Applications chargées : ead2, eole_openid, roundcube, roundcube
2020-06-26T12:24:18.224920+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:24:18+0200 [-] - Mise à jour des jeux d'attributs fournis par EoleSSO
2020-06-26T12:26:28.265125+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error] Traceback (most recent call last):
2020-06-26T12:26:28.265352+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "./cas_resources.py", line 151, in render
2020-06-26T12:26:28.265396+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     return self._render(request)
2020-06-26T12:26:28.265438+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "./cas_resources.py", line 1266, in _render
2020-06-26T12:26:28.265487+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     redirect_to = self.render_content(request)
2020-06-26T12:26:28.265523+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "./cas_resources.py", line 788, in render_content
2020-06-26T12:26:28.265576+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     return self.render_login(request, request.args)
2020-06-26T12:26:28.265631+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "./cas_resources.py", line 891, in render_login
2020-06-26T12:26:28.265678+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     login_ticket = self.manager.get_login_ticket(request_args)
2020-06-26T12:26:28.265968+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "./authserver.py", line 1144, in get_login_ticket
2020-06-26T12:26:28.266022+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     self._DBLoginSessionsAddTicket(data,ticket)
2020-06-26T12:26:28.266062+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "./authserver.py", line 295, in _DBLoginSessionsAddTicket
2020-06-26T12:26:28.266098+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     self.db_sessions.set("login_%s" % ticket, pickle.dumps(data))
2020-06-26T12:26:28.266149+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "/usr/lib/python2.7/dist-packages/redis/client.py", line 1171, in set
2020-06-26T12:26:28.266974+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     return self.execute_command('SET', *pieces)
2020-06-26T12:26:28.267144+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "/usr/lib/python2.7/dist-packages/redis/client.py", line 673, in execute_command
2020-06-26T12:26:28.267262+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     connection.send_command(*args)
2020-06-26T12:26:28.267316+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 610, in send_command
2020-06-26T12:26:28.267543+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     self.send_packed_command(self.pack_command(*args))
2020-06-26T12:26:28.267633+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 585, in send_packed_command
2020-06-26T12:26:28.267721+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     self.connect()
2020-06-26T12:26:28.267771+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]   File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 489, in connect
2020-06-26T12:26:28.267867+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error]     raise ConnectionError(self._error_message(e))
2020-06-26T12:26:28.267953+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [stderr#error] ConnectionError: Error 111 connecting to 127.0.0.1:9380. Connexion refusée.
2020-06-26T12:26:28.268116+02:00 scribe.domscribe.ac-test.fr eole-sso[2041]: 2020-06-26T12:26:28+0200 [HTTPChannel (TLSProtocolWrapper),0,10.100.1.2] Une erreur est survenue lors du calcul de contenu pour / :  Error 111 connecting to 127.0.0.1:9380. Connexion refusée.

History

#1 Updated by Philippe Caseiro 11 days ago

  • Status changed from Nouveau to En cours

#2 Updated by Philippe Caseiro 11 days ago

  • Description updated (diff)
  • Assigned To set to Philippe Caseiro

#3 Updated by Philippe Caseiro 11 days ago

Quelque chose ne va pas dans le tests.

le scribe ne peut pas se connecter à 127.0.0.1:9380
le serveur redis est sur la machine eolebase
donc soit on installe eole-sso-cluster-server sur le scribe, soit on configure pour qu'il se connecte à 192.168.0.24:9380

#4 Updated by Joël Cuissinat 10 days ago

Philippe Caseiro a écrit :

Quelque chose ne va pas dans le tests.

le scribe ne peut pas se connecter à 127.0.0.1:9380
le serveur redis est sur la machine eolebase
donc soit on installe eole-sso-cluster-server sur le scribe, soit on configure pour qu'il se connecte à 192.168.0.24:9380

J'ai trouvé une explication => #30395#note-1

#5 Updated by Philippe Caseiro 8 days ago

  • Status changed from En cours to Résolu

Also available in: Atom PDF