Project

General

Profile

Tâche #14457

Scénario #14546: Corriger le comportement de certains services en cas d'arrêt de creoled

Eole-SSO : Correction du traceback affiché si creoled est arrêté

Added by Fabrice Barconnière over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/18/2015
Due date:
% Done:

0%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

root@horus:~# logrotate -f /etc/logrotate.conf 
Traceback (most recent call last):
  File "/usr/bin/eole-sso", line 71, in <module>
    start_service()
  File "/usr/bin/eole-sso", line 41, in start_service
    from check_certs import run_check
  File "/usr/share/sso/check_certs.py", line 25, in <module>
    import config, socket, sys
  File "/usr/share/sso/config.py", line 152, in <module>
    dico = CreoleClient().get_creole()
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 427, in get_creole
    ret = self.strip_full_path(self.get('/creole', *args, **kwargs))
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 381, in get
    ret = self.request('/get', path, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 308, in request
    ret = self._request(self.url + command + path, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 287, in _request
    raise TimeoutCreoleClientError(msg.format(err))
creole.client.TimeoutCreoleClientError: Erreur HTTP : socket.error: [Errno 111] ECONNREFUSED
Veuillez vous référer au journal d'événement de creoled (/var/log/creoled.log) pour avoir plus d'informations et redémarrer le service avec la commande 'service creoled start'
error: error running shared postrotate script for '/var/log/rsyslog/local/eolesso/*.log '

Associated revisions

Revision aa6e6c3c (diff)
Added by Bruno Boiget over 4 years ago

Ajout d'un message si erreur de connexion à creoled au lancement de service

ref #14457 @20m

History

#1 Updated by Scrum Master over 4 years ago

  • Assigned To set to Bruno Boiget

#2 Updated by Bruno Boiget over 4 years ago

  • Tracker changed from Demande to Tâche
  • Subject changed from Logrotate fait un traceback quand creoled est arrêté to Eole-SSO : Correction du traceback affiché si creoled est arrêté
  • Estimated time set to 1.00 h
  • Parent task set to #14546
  • Remaining (hours) set to 1.0

#3 Updated by Bruno Boiget over 4 years ago

  • Assigned To deleted (Bruno Boiget)

#4 Updated by Scrum Master over 4 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Scrum Master over 4 years ago

  • Assigned To set to Bruno Boiget

#6 Updated by Bruno Boiget over 4 years ago

  • Remaining (hours) changed from 1.0 to 0.25

#7 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#8 Updated by Klaas TJEBBES over 4 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0
root@scribek25:~# /etc/init.d/eole-sso start
 * Starting Serveur d'authentification eole-sso                                                                                                                                                                                              Erreur lors de l'accès aux données de configuration Creole :
Erreur HTTP : socket.error: [Errno 111] ECONNREFUSED
Veuillez vous référer au journal d'événement de creoled (/var/log/creoled.log) pour avoir plus d'informations et redémarrer le service avec la commande 'service creoled start'

Also available in: Atom PDF