NBD device doesn't get disconnected after terminating LXC instance
Bug #806647 reported by
bastichelaar
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Chuck Short |
Bug Description
Steps to reproduce:
- Create a LXC instance
- Terminate the instance
- The qemu-nbd device is still connected
Attached is a proposed solution. I'm not a very good Python programmer, but this does the job.
Related branches
lp:~zulcss/nova/nova-fix-lxc-shutdown
- OpenStack release team: Pending requested
-
Diff: 28 lines (+8/-7)1 file modifiednova/virt/disk.py (+8/-7)
- Dan Prince (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 28 lines (+8/-7)1 file modifiednova/virt/disk.py (+8/-7)
tags: | added: lxc |
Changed in nova: | |
status: | New → Incomplete |
Changed in nova: | |
assignee: | nobody → Chuck Short (zulcss) |
status: | Triaged → In Progress |
Changed in nova: | |
milestone: | none → 2011.3 |
status: | In Progress → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
lgtm