Public bug reported:
Bug description:
[Summary]
Container states are not sync up between docker cli and nova cli.
The container state got from docker cli and nova cli are not some.
such as a running /up container, but nova list shows SHUTOFF state.
root@quasarucn3:~# nova list | grep leo
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | - |
Shutdown | vmn=12.1.1.15 |
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Up 2 minutes
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
# Expected behavior:
Container state should be same from docker cli and nova cli.
[Topo]
Unbuntu Kilo 14.04 OS , Kilo docker setup , 1 controller ,2 network node,6
computenode
[Reproduceable or not]
Can be reproduced,
[Recreate 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, Check the down state container.
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Exited (0) 28 minutes ago
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarucn3:~# nova list | grep ubuntu
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | - |
Shutdown | vmn=12.1.1.15 |
root@quasarucn3:~#
4, Sart the down state container via docker start '
root@quasarsdn2:~# docker start 90a1510e9dfd
90a1510e9dfd
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Up 12 seconds
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarucn3:~# ^C
root@quasarucn3:~# date
Mon Sep 21 05:13:25 CDT 2015
root@quasarucn3:~# nova list | grep ubuntu
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | - |
Shutdown | vmn=12.1.1.15 |
root@quasarucn3:~#
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Exited (0) 10 seconds ago
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarsdn2:~# ^C
root@quasarsdn2:~# docker start 90a1510e9dfd
90a1510e9dfd
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Up 2 minutes
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarucn3:~# date
Mon Sep 21 05:15:39 CDT 2015
root@quasarucn3:~# nova list | grep ubuntu
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | - |
Shutdown | vmn=12.1.1.15 | <<<<<<< Container still in shutoff state via
nova list.
root@quasarucn3:~#
\
[Log]
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1499393
Title:
Openstack Kilo Nova-Docker:Container states are not sync up between
docker cli and nova cli.
Status in neutron:
New
Bug description:
Bug description:
[Summary]
Container states are not sync up between docker cli and nova cli.
The container state got from docker cli and nova cli are not some.
such as a running /up container, but nova list shows SHUTOFF state.
root@quasarucn3:~# nova list | grep leo
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | -
| Shutdown | vmn=12.1.1.15 |
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Up 2 minutes
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
# Expected behavior:
Container state should be same from docker cli and nova cli.
[Topo]
Unbuntu Kilo 14.04 OS , Kilo docker setup , 1 controller ,2 network node,6
computenode
[Reproduceable or not]
Can be reproduced,
[Recreate 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, Check the down state container.
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Exited (0) 28 minutes ago
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarucn3:~# nova list | grep ubuntu
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | -
| Shutdown | vmn=12.1.1.15 |
root@quasarucn3:~#
4, Sart the down state container via docker start '
root@quasarsdn2:~# docker start 90a1510e9dfd
90a1510e9dfd
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Up 12 seconds
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarucn3:~# ^C
root@quasarucn3:~# date
Mon Sep 21 05:13:25 CDT 2015
root@quasarucn3:~# nova list | grep ubuntu
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | -
| Shutdown | vmn=12.1.1.15 |
root@quasarucn3:~#
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Exited (0) 10 seconds ago
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarsdn2:~# ^C
root@quasarsdn2:~# docker start 90a1510e9dfd
90a1510e9dfd
root@quasarsdn2:~# docker ps -a | grep 59b3512a-8f6b-443d-ae1a-ca1ff615dba4
90a1510e9dfd leo_ubuntu "/usr/sbin/sshd -D" 2 days ago
Up 2 minutes
nova-59b3512a-8f6b-443d-ae1a-ca1ff615dba4
root@quasarucn3:~# date
Mon Sep 21 05:15:39 CDT 2015
root@quasarucn3:~# nova list | grep ubuntu
| 59b3512a-8f6b-443d-ae1a-ca1ff615dba4 | leo_ubuntu | SHUTOFF | -
| Shutdown | vmn=12.1.1.15 | <<<<<<< Container still in shutoff state via
nova list.
root@quasarucn3:~#
\
[Log]
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1499393/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp