swap volume test intermittently fails waiting for old volume to go to in-use after swap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
This is a failure from testing this change:
https:/
A run of this test failed here:
But the swap volume operation completed successfully in the nova-compute service:
And the attachment for the volume and the instance was deleted here:
Corresponding request in cinder-api logs:
And the attachment delete in the cinder-volume logs:
So the volume should go back into in-use status.
Note that this was the old volume before we swapped to the new volume:
http://
Looking at the state of the volume when the test times out, the attachment that was deleted is not gone from the volume:
http://
But there are no errors in Cinder.
The attachment_delete code in the cinder volume API has some logic to check what remaining attachments exist and what their status values are to determine the overall status for the volume, so we'd have to know what the attachments are and their status once the attachment is deleted (the volume should still be attached to the other server).
tags: | added: multiattach |