Projet

Général

Profil

Tâche #14837

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

Corrige le comportement des services EAD si creoled est arrếté

Ajouté par Emmanuel GARETTE il y a environ 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
08/01/2013
Echéance:
% réalisé:

100%

Temps estimé:
4.00 h
Temps passé:
Restant à faire (heures):
0.0

Description


root@amon:~# /etc/init.d/ead-server start
 * Starting Serveur Ead: ead-server                                                                                                                                                  waiting for process to start
giving up on pid 
                                                                          [ OK ]
root@amon:~# echo $?
0
<pre>

Révisions associées

Révision 96b2724e (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

fichier de configuration pour amon-backend (ref #14837 @1h)

Révision 24567170 (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

amon-backend ne devrait pas avoir besoin de creoled (ref #14837 @3h)

Révision 9495273e (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

ead ne devrait pas nécessité de creoled (ref #14837 @6h)

Révision 28959c43 (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

creoled pas obligatoire au chargement de models.py (ref #14837 @2h)

Révision 0679f61e (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

erreur d'import (ref #14837 @1h)

Révision 7cf4f50a (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

adresse_ip_eth0_proxy_ling n'existe pas (ref #14837)

Révision fb487f09 (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

problème d'import (ref #14837)

Révision 26868087 (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

probleme a la detection des conteneurs (ref #14837)

Révision 8fe90d11 (diff)
Ajouté par Joël Cuissinat il y a environ 8 ans

Correction de la détection du mode conteneur

ref #14837 @20m

Révision 4e4cdbe8 (diff)
Ajouté par Joël Cuissinat il y a environ 8 ans

Fix import manquant

Ref: #14837 @15m

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • Assigné à mis à Emmanuel GARETTE

#3 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • % réalisé changé de 0 à 100
  • Restant à faire (heures) changé de 4.0 à 0.5

Pour tester :

# cd /usr/share
# /etc/init.d/creoled stop
# /etc/init.d/ead-server stop
# twistd -noy /usr/share/ead2/backend/eadserver.tac --pidfile=/tmp/pouet.pid
2016/02/01 16:21:47  [-] Log opened.
2016/02/01 16:21:47  [-] twistd 13.2.0 (/usr/bin/python 2.7.6) starting up.
2016/02/01 16:21:47  [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2016/02/01 16:21:47  [-] Site (TLS) starting on 4201
2016/02/01 16:21:47  [-] Starting factory <twisted.web.server.Site instance at 0x7fecdd027050>
2016/02/01 16:21:47  [-] Site (TLS) starting on 8062
2016/02/01 16:21:47  [-] Starting factory <twisted.web.server.Site instance at 0x7fecdd026cf8>
2016/02/01 16:21:47  [-] Site starting on 4202
2016/02/01 16:21:47  [-] Starting factory <twisted.web.server.Site instance at 0x7fecdd0268c0>

#4 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de En cours à Résolu

#5 Mis à jour par Klaas TJEBBES il y a environ 8 ans

cd /usr/share
/etc/init.d/creoled stop
/etc/init.d/ead-server stop
twistd -noy /usr/share/ead2/backend/eadserver.tac --pidfile=/tmp/pouet.pid
root@scribek25:~# cd /usr/share
root@scribek25:/usr/share# /etc/init.d/creoled stop
 * Stopping Creole daemon creoled                                                                                                                                                                                                     [ OK ] 
root@scribek25:/usr/share# /etc/init.d/ead-server stop
 * Stopping Serveur Ead: ead-server                                                                                                                                                                                                   [ OK ] 
root@scribek25:/usr/share# twistd -noy /usr/share/ead2/backend/eadserver.tac --pidfile=/tmp/pouet.pid
2016/02/08 17:04:10  [-] Log opened.
2016/02/08 17:04:10  [-] twistd 13.2.0 (/usr/bin/python 2.7.6) starting up.
2016/02/08 17:04:10  [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2016/02/08 17:04:10  [-] Site (TLS) starting on 4201
2016/02/08 17:04:10  [-] Starting factory <twisted.web.server.Site instance at 0x7fe71457b9e0>
2016/02/08 17:04:10  [-] Site starting on 4202
2016/02/08 17:04:10  [-] Starting factory <twisted.web.server.Site instance at 0x7fe71457bbd8>
^C2016/02/08 17:07:55  [-] Received SIGINT, shutting down.
2016/02/08 17:07:55  [-] (TCP Port 4202 Closed)
2016/02/08 17:07:55  [-] Stopping factory <twisted.web.server.Site instance at 0x7fe71457bbd8>
2016/02/08 17:07:55  [-] (TLS Port 4201 Closed)
2016/02/08 17:07:55  [-] Stopping factory <twisted.web.server.Site instance at 0x7fe71457b9e0>
2016/02/08 17:07:55  [-] Main loop terminated.
2016/02/08 17:07:55  [-] Server Shut Down.
root@scribek25:# /etc/init.d/creoled stop
 * Stopping Creole daemon creoled                                                                                                                                                                                                     [ OK ] 
root@scribek25:# /etc/init.d/ead-server stop
 * Stopping Serveur Ead: ead-server                                                                                                                                                                                                   [ OK ] 
root@scribek25:~# /etc/init.d/ead-server start
 * Starting Serveur Ead: ead-server                                                                                                                                                                                                          waiting for process to start
                                                                                                                                                                                                                                      [ OK ]
root@scribek25:~# ps -edf|grep ead
root         2     0  0 10:25 ?        00:00:00 [kthreadd]
root     15695     1  0 16:02 ?        00:00:01 /usr/bin/python /usr/bin/twistd -noy /usr/share/ead2/frontend/frontend.tac --pidfile /var/run/ead/ead-web.pid --logfile /var/log/ead/ead-web.log
root     16386     1  0 16:02 ?        00:00:01 /usr/bin/python /usr/bin/gunicorn -c /etc/eole/flask/eoleflask.conf eoleflask.application:run(config='eoleadmin')
root     16391 16386  0 16:02 ?        00:00:01 /usr/bin/python /usr/bin/gunicorn -c /etc/eole/flask/eoleflask.conf eoleflask.application:run(config='eoleadmin')
nobody   24282     1 11 17:08 ?        00:00:00 /usr/bin/python /usr/bin/twistd -noy /usr/share/ead2/backend/eadserver.tac --pidfile /var/run/ead/ead-server.pid --logfile /var/log/ead/ead-server.log
root     24295  9786  0 17:08 pts/4    00:00:00 grep --color=auto ead

#6 Mis à jour par Klaas TJEBBES il y a environ 8 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) changé de 0.5 à 0.0

Formats disponibles : Atom PDF