Project

General

Profile

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é

Added by Emmanuel GARETTE over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/08/2013
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
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>

Associated revisions

Revision 96b2724e (diff)
Added by Emmanuel GARETTE over 7 years ago

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

Revision 24567170 (diff)
Added by Emmanuel GARETTE over 7 years ago

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

Revision 9495273e (diff)
Added by Emmanuel GARETTE over 7 years ago

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

Revision 28959c43 (diff)
Added by Emmanuel GARETTE over 7 years ago

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

Revision 0679f61e (diff)
Added by Emmanuel GARETTE over 7 years ago

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

Revision 7cf4f50a (diff)
Added by Emmanuel GARETTE over 7 years ago

adresse_ip_eth0_proxy_ling n'existe pas (ref #14837)

Revision fb487f09 (diff)
Added by Emmanuel GARETTE over 7 years ago

problème d'import (ref #14837)

Revision 26868087 (diff)
Added by Emmanuel GARETTE over 7 years ago

probleme a la detection des conteneurs (ref #14837)

Revision 8fe90d11 (diff)
Added by Joël Cuissinat over 7 years ago

Correction de la détection du mode conteneur

ref #14837 @20m

Revision 4e4cdbe8 (diff)
Added by Joël Cuissinat over 7 years ago

Fix import manquant

Ref: #14837 @15m

History

#1 Updated by Emmanuel GARETTE over 7 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE over 7 years ago

  • Assigned To set to Emmanuel GARETTE

#3 Updated by Emmanuel GARETTE over 7 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 4.0 to 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 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#5 Updated by Klaas TJEBBES over 7 years ago

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 Updated by Klaas TJEBBES over 7 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Also available in: Atom PDF