Comment 3 for bug 1606136

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: cannot detach_volume while VM is in error state

It's a negative test, so likely something getting torn down in an unexpected order.

The test is here:

http://git.openstack.org/cgit/openstack/tempest/tree/tempest/api/compute/servers/test_server_rescue_negative.py#n147

Creates a volume, attaches it to the server, rescues the server, then attempts to detach the volume which is expected to fail.

It looks like the problem you're hitting is in the unrescue part of the cleanup:

http://git.openstack.org/cgit/openstack/tempest/tree/tempest/api/compute/servers/test_server_rescue_negative.py#n77

Where it's unrescuing the server it fails and goes to ERROR.

What are the errors in the n-cpu logs for that server when the unrescue fails?