Volume detach fails after unrescuing a instance after trying to detach while instance in rescue state doesn't work.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Joe Gordon | ||
tempest |
Fix Released
|
Medium
|
Joe Gordon |
Bug Description
When an instance with a volume attached is brought into a rescue mode and a negative test is run against it to detach the volume it returns the expected error code. However if you attempt to detach the volume again after unrescuing the vm it will not detach properly. The volume state goes from detaching to in-use, and it is never detached.
Steps to reproduce:
1. Create a server and wait for it to get to ACTIVE state
2. Create a volume and wait for it to get to AVAILABLE state
3. Attach the volume to the server and wait for the volume to get to "IN USE" state
4. Rescue the VM and wait for the VM to get to the "RESCUE" state
5. Detach the volume from the server, which should fail with 409
6. Unrescue the VM and wait for it to get to ACTIVE state
7. Try to detach the volume from the Volume again from the server
Watching the status of the volume it will go from detaching to in-use and remain there.
Changed in nova: | |
status: | Incomplete → New |
Changed in nova: | |
status: | New → Triaged |
tags: | added: grizzly-rc-potential |
Changed in nova: | |
milestone: | grizzly-rc2 → none |
Changed in nova: | |
importance: | Undecided → Medium |
tags: |
added: grizzly-backport-potential removed: grizzly-rc-potential |
Changed in nova: | |
assignee: | nobody → Joe Gordon (jogo) |
milestone: | none → havana-1 |
affects: | nova → tempest |
Changed in tempest: | |
milestone: | havana-1 → none |
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Joe Gordon (jogo) |
milestone: | none → havana-1 |
Changed in tempest: | |
status: | Triaged → In Progress |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
tags: | removed: grizzly-backport-potential |
Which version is this with? Which distro? Which virt driver are you using? What volume backend are you using? Also can you attach the log files. Thanks
chuck