Project

General

Profile

Anomalie #8448

impossible de reconfigurer si creoled est arrêté sur un serveur enregistré dans Zéphir

Added by Emmanuel GARETTE about 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Haut
Assigned To:
Category:
-
Start date:
Due date:
07/04/2014
% Done:

100%

Estimated time:
2.50 h
Spent time:
Distribution:
EOLE 2.4

Description

Si creoled est arrêté, il est impossible de reconfigure le serveur enregistré dans Zéphir :

creole.client - Connexion error 'socket.error: Can't connect to ('127.0.0.1', 8000)', retry 1/3
creole.client - Connexion error 'socket.error: Can't connect to ('127.0.0.1', 8000)', retry 2/3
creole.client - Connexion error 'socket.error: Can't connect to ('127.0.0.1', 8000)', retry 3/3
reconfigure - HTTP error: socket.error: Can't connect to ('127.0.0.1', 8000)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 705, in main
    COMPAT_NAME.upper())
  File "/usr/lib/python2.7/dist-packages/creole/fonctionseole.py", line 256, in zephir
    from zephir.lib_zephir import log as zlog
  File "/usr/lib/python2.7/dist-packages/zephir/lib_zephir.py", line 55, in <module>
    eole_module = creole_vars.get_creole(u'eole_module')
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 401, in get_creole
    ret = self.get('/creole', *args, variable=name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 365, in get
    raise err
CreoleClientError: HTTP error: socket.error: Can't connect to ('127.0.0.1', 8000)

Related issues

Related to creole - Anomalie #8513: reconfigure : creoled est redémarré même s'il y a un lock reconfigure Fermé 06/23/2014 07/04/2014
Related to creole - Anomalie #8467: reconfigure : le redémarrage de creoled est extrêmement long Fermé 06/23/2014 07/04/2014

Associated revisions

Revision 339fa7d8 (diff)
Added by Emmanuel GARETTE about 6 years ago

ne faire à appel à CreoleClient que si nécessaire (ref #8448)

Revision 08a02fbe (diff)
Added by Emmanuel GARETTE about 6 years ago

ne pas passer par creoled lors du démarrage de creoled (ref #8448)

Revision 57b20317 (diff)
Added by Emmanuel GARETTE about 6 years ago

ne pas faire d'appel au client creoled à l'import si possible (fixes #8448 @2h)

Revision 1b968f7b (diff)
Added by Joël Cuissinat about 6 years ago

Suppression des locks sur UserExit et UserExitError

Fixes #8448 @30m

Revision 8abfb53f (diff)
Added by Fabrice Barconnière about 6 years ago

Charger les valeur par défaut de cert.py ref #8448 @30m

History

#1 Updated by Emmanuel GARETTE about 6 years ago

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

#2 Updated by Joël Cuissinat about 6 years ago

  • Due date set to 07/04/2014
  • Assigned To set to Emmanuel GARETTE
  • Target version set to Eole 2.4.0.1
  • Estimated time set to 2.50 h

#3 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Résolu to Réouvert
  • % Done changed from 100 to 80

Suite à ces modifications, le lock est posé avant la question "Continuer instanciation quand même ?" (ce qui me paraît une bonne chose) mais il n'est pas supprimé si on répond "non" à cette question !

root@horus:~# instance 
   [ ... ]
Continuer instanciation quand même ? [oui/non]
[non] : non
root@horus:~# instance
   [ ... ]
A system lock is already set by another process: /var/lock/eole/eole-system/reconfigure.23473

#4 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Réouvert to Résolu
  • % Done changed from 80 to 100

#5 Updated by Emmanuel GARETTE about 6 years ago

  • Status changed from Résolu to Fermé

Sur un serveur dans Zéphir avec creoled arrêté :

--------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                  Préparation pour instance                                                                   
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Stop System V service creoled                                                                                                                         [  OK  ]
Start System V service creoled                                                                                                                        [  OK  ]

Also available in: Atom PDF