openstack Kilo Nova-Docker:the compute service status is still up after stop the nova-compute service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
New
|
Undecided
|
Unassigned |
Bug Description
Problem:
OS:Ubuntu 14.04
openstack KILO with nova-docker
Nova-Docker:the compute service is in up status after stop the nova-compute service(timeout=1 1 minute)
Steps:
1 Bring up the ubuntu kilo setup
2 Bring up the ubuntu docker setup
3 set the timeout to 1 minutes on nova.conf config
client_
4 restart nova-api service
root@
nova-api stop/waiting
nova-api start/running, process 35035
5 check the current service list node
root@quasarucn3:~# nova service-list
+----+-
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+-
| 1 | nova-cert | quasarucn3 | internal | enabled | up | 2015-09-
| 2 | nova-conductor | quasarucn3 | internal | enabled | up | 2015-09-
| 3 | nova-consoleauth | quasarucn3 | internal | enabled | up | 2015-09-
| 4 | nova-scheduler | quasarucn3 | internal | enabled | up | 2015-09-
| 5 | nova-compute | quasarucn1 | nova | enabled | up | 2015-09-
| 6 | nova-compute | quasarsdn2 | nova | enabled | up | 2015-09-
| 7 | nova-compute | quasarsdnve1 | nova | enabled | up | 2015-09-
| 8 | nova-compute | quasarsdn1 | nova | enabled | up | 2015-09-
| 9 | nova-compute | quasarsdnve | nova | enabled | up | 2015-09-
+----+-
5 stop the compute service from node quasarsdn2
root@quasarsdn2:~# service nova-compute stop
nova-compute stop/waiting
root@quasarsdn2:~# service nova-compute status
nova-compute stop/waiting
root@quasarsdn2:~#
6 wait more than 4 minust to check the compute status from controller side
quasarsdn2 is still in up status
root@quasarucn3:~# nova service-list
+----+-
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+-
| 1 | nova-cert | quasarucn3 | internal | enabled | up | 2015-09-
| 2 | nova-conductor | quasarucn3 | internal | enabled | up | 2015-09-
| 3 | nova-consoleauth | quasarucn3 | internal | enabled | up | 2015-09-
| 4 | nova-scheduler | quasarucn3 | internal | enabled | up | 2015-09-
| 5 | nova-compute | quasarucn1 | nova | enabled | up | 2015-09-
| 6 | nova-compute | quasarsdn2 | nova | enabled | up | 2015-09-
| 7 | nova-compute | quasarsdnve1 | nova | enabled | up | 2015-09-
| 8 | nova-compute | quasarsdn1 | nova | enabled | up | 2015-09-
| 9 | nova-compute | quasarsdnve | nova | enabled | up | 2015-09-
+----+-
affects: | nova → nova-docker |