yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06528
[Bug 1203927] Re: Nbd device is still connected after deleting a lxc Container
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1203927
Title:
Nbd device is still connected after deleting a lxc Container
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Nbd device is still connected after deleting a lxc Container.
Operation details are list as following:
ubuntu@lxc-gq:~$ nova boot --image 8f30a356-f01c-4c91-b32f-4710a1e79b88 --flavor m1.small --key-name kp-lxc lxc3
+-------------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------------+--------------------------------------+
| OS-EXT-STS:task_state | scheduling |
| image | ubuntu-12.04-amd64-lxc |
| OS-EXT-STS:vm_state | building |
| OS-EXT-SRV-ATTR:instance_name | instance-0000003c |
| OS-SRV-USG:launched_at | None |
| flavor | m1.small |
| id | b52ab8f1-b270-4a01-929b-a3e0d7b17c22 |
| security_groups | [{u'name': u'default'}] |
| user_id | fad1205006184105a3fc03d57f0230d2 |
| OS-DCF:diskConfig | MANUAL |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-AZ:availability_zone | nova |
| config_drive | |
| status | BUILD |
| updated | 2013-07-23T01:44:00Z |
| hostId | |
| OS-EXT-SRV-ATTR:host | None |
| OS-SRV-USG:terminated_at | None |
| key_name | kp-lxc |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |
| name | lxc3 |
| adminPass | GeENhmP6qp93 |
| tenant_id | 6151530887f2468d8ad3808ca380740c |
| created | 2013-07-23T01:43:59Z |
| metadata | {} |
+-------------------------------------+--------------------------------------+
+-------------------------------------+--------------------------------------+
ubuntu@lxc-gq:~$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| b52ab8f1-b270-4a01-929b-a3e0d7b17c22 | lxc3 | BUILD | spawning | NOSTATE | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+
ubuntu@lxc-gq:~$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| b52ab8f1-b270-4a01-929b-a3e0d7b17c22 | lxc3 | ACTIVE | None | Running | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+
ubuntu@lxc-gq:~$ ps -ef|grep qemu-nbd
root 16595 1 6 01:44 ? 00:00:00 qemu-nbd -c /dev/nbd11 /opt/stack/data/nova/instances/b52ab8f1-b270-4a01-929b-a3e0d7b17c22/disk
ubuntu 19480 16062 0 01:44 pts/0 00:00:00 grep --color=auto qemu-nbd
ubuntu@lxc-gq:~$ nova delete lxc3
ubuntu@lxc-gq:~$ nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
ubuntu@lxc-gq:~$ ps -ef|grep qemu-nbd
root 16595 1 2 01:44 ? 00:00:01 qemu-nbd -c /dev/nbd11 /opt/stack/data/nova/instances/b52ab8f1-b270-4a01-929b-a3e0d7b17c22/disk
ubuntu 19833 16062 0 01:44 pts/0 00:00:00 grep --color=auto qemu-nbd
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1203927/+subscriptions