← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1499393] Re: Openstack Kilo Nova-Docker:Container states are not sync up between docker cli and nova cli.

 

The nova-docker virt driver is out of tree for nova and as far as I know
no longer maintained, so please don't report issues against nova, report
them against the nova-docker project and then after triage if they are
nova issues add nova to the bug report.

** Also affects: nova-docker
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
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 OpenStack Compute (nova):
  Invalid
Status in nova-docker:
  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/nova/+bug/1499393/+subscriptions


References