No way to cleanly stop service once started
Bug #1309406 reported by
Sulochan Acharya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
openstack-entropy | Status tracked in Trunk | |||||
Trunk |
New
|
High
|
Pranesh |
Bug Description
Currently if you start the service like so:
python entropy/ start-engine ... ....
There is not way to cleanly stop it. This is because, we are running an executor with infinite while loop inside:
https:/
When this is the case excecutor.shutdown will not work, and the python program will not stop untill the pending future is done executing ... which in this case is never. It will not process Ctrl-C either.
To post a comment you must log in.
I plan to work on this next. Planned fix is to use same technique as adding audit/repair scripts, the stop-engine call will modify the engines.cfg file that holds currently running engine.Any ideas about cleanly killing it/better startup are welcome.