Nbd device is still connected after deleting a lxc Container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
QiangGuan |
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-
+------
| Property | Value |
+------
| OS-EXT-
| image | ubuntu-
| OS-EXT-STS:vm_state | building |
| OS-EXT-
| OS-SRV-
| flavor | m1.small |
| id | b52ab8f1-
| security_groups | [{u'name': u'default'}] |
| user_id | fad120500618410
| OS-DCF:diskConfig | MANUAL |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-
| OS-EXT-
| config_drive | |
| status | BUILD |
| updated | 2013-07-
| hostId | |
| OS-EXT-
| OS-SRV-
| key_name | kp-lxc |
| OS-EXT-
| name | lxc3 |
| adminPass | GeENhmP6qp93 |
| tenant_id | 6151530887f2468
| created | 2013-07-
| metadata | {} |
+------
+------
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b52ab8f1-
+------
ubuntu@lxc-gq:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| b52ab8f1-
+------
ubuntu@lxc-gq:~$ ps -ef|grep qemu-nbd
root 16595 1 6 01:44 ? 00:00:00 qemu-nbd -c /dev/nbd11 /opt/stack/
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/
ubuntu 19833 16062 0 01:44 pts/0 00:00:00 grep --color=auto qemu-nbd
tags: | added: libvirtt |
tags: |
added: libvirt removed: libvirtt |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/41891
Review: https:/