Comment 0 for bug 1335889

Revision history for this message
Joseph Lanoux (joseph-lanoux) wrote : Race condition in the stress volume_attach_delete test

The stress volume_attach_delete test creates VMs and volumes, attaches volumes, deletes everything and restarts. The test is only waiting for the volumes to be in 'in-use' state before deleting VMs. This doesn't mean that volumes were actually attached.

The cleanup then tries to delete volumes but can't because Nova/Cinder didn't have time to register volumes as attached in their databases. Volumes are then left attached to deleted VMs.