Comment 6 for bug 1449221

Revision history for this message
Andrea Rosa (andrea-rosa-m) wrote : Re: Nova doesn't allow to cleanup volumes stuck in 'attaching' or 'detaching' status

wanghao the problem is what Scott said in comment #5.

@scott you raised an interesting point about the fact that terminate_connection is async.
At the moment Nova considers the call succeeded if can send the requests without any errors, but it doesn't check if the connection has been actually terminated on the cinder side.
Is there a cinder call we can make to get the status of the connection from cinder?
If so we could check the status in a small fixedInternalLoop before deleting the BDM device, even if I do not like this solution it seems a bit hacky.
Any other ideas?