Openstack Kilo Nova-Docker:Container will be hung in "powering-on" state.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
New
|
Undecided
|
Unassigned |
Bug Description
Bug description:
[Summary]
When nova-compute service on compute node is down, issuing "nova start xxx" to start SHUTOFF container, container will be hung in "powering-on" state, even the nova-compute service has been started on compute node.
# Expected behavior:
Cmd "Nova start xx" of start container should not be issued and prompt an error notice to inform that compute node nova-compute service is down;
or
The state of container should be changed to ACTIVE from powering-on after compute node's nova-compute service up.
[Topo]
Unbuntu Kilo 14.04 OS , Kilo docker setup , 1 controller ,2 network node,6 computenode
[Reproduceable or not]
Can be reproduced,
[Recreate Steps]
# Steps:
1, Build up a openstack & docker setup based on Ubuntu 14.04 trusty;
2, 1 controller, 2 network node and 7 computer node ;
3, Launch docker containers;
root@quasarucn3:~# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 3f62d6c5-
| d65433d0-
| 28914c07-
| 8c1c6f0d-
| 40d40e57-
| 6dc4c963-
| af4ec54b-
| ae6d1bc5-
| 914c2f05-
| 925df284-
| 518f7d49-
| 90cc6a5e-
+------
root@quasarucn3:~#
root@quasarucn3:~# nova show d7
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2015-09-
| flavor | m1.tiny (1) |
| hostId | 95f7fa6ddf5fcdc
| id | ae6d1bc5-
| image | cirros (798aa1fd-
| key_name | - |
| metadata | {} |
| name | d7 |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | ACTIVE |
| tenant_id | 066c321d33c24ea
| updated | 2015-09-
| user_id | 7c4dd09b6fe74d1
| vmn network | 12.1.1.20 |
+------
root@quasarucn3:~#
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 | down | 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-
+----+-
root@quasarucn3:~#
root@quasarucn3:~#
root@quasarucn3:~# nova start d7
Request to start server d7 has been accepted.
root@quasarucn3:~#
root@quasarucn3:~#
root@quasarucn3:~#
root@quasarucn3:~# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 3f62d6c5-
| d65433d0-
| 28914c07-
| 8c1c6f0d-
| 40d40e57-
| 6dc4c963-
| af4ec54b-
| ae6d1bc5-
| 914c2f05-
| 925df284-
| 518f7d49-
| 59b3512a-
| 90cc6a5e-
+------
root@quasarucn3:~#
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-
+----+-
root@quasarucn3:~#
root@quasarucn3:~# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 3f62d6c5-
| d65433d0-
| 28914c07-
| 8c1c6f0d-
| 40d40e57-
| 6dc4c963-
| af4ec54b-
| ae6d1bc5-
| 914c2f05-
| 925df284-
| 518f7d49-
| 59b3512a-
| 90cc6a5e-
+------
[Log]
No error log for this
affects: | neutron → nova |
change it to nova-docker