Race condition in quickly attaching / deleting volumes
Bug #1335889 reported by
Joseph Lanoux
This bug affects 13 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Michael Dovgal | ||
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned | ||
tempest |
Invalid
|
Undecided
|
Unassigned |
Bug Description
It seems that there is a race condition in the stress volume_
The test is waiting for volumes to be in 'in-use' state before deleting VMs. It seems that Nova/Cinder don't have time to register volumes as attached in their databases before VMs get deleted. Volumes are then left attached to deleted VMs and unable to be deleted.
description: | updated |
Changed in nova: | |
assignee: | nobody → Trung Trinh (trung-t-trinh) |
Changed in cinder: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in cinder: | |
assignee: | nobody → Trung Trinh (trung-t-trinh) |
Changed in cinder: | |
status: | In Progress → Confirmed |
assignee: | Trung Trinh (trung-t-trinh) → nobody |
Changed in nova: | |
assignee: | Trung Trinh (trung-t-trinh) → nobody |
tags: | added: race-condition testing volumes |
Changed in cinder: | |
assignee: | nobody → Gaurav Singla (gsingla294) |
Changed in cinder: | |
assignee: | Gourav Singla (gsingla294) → Prateek Arora (parora) |
assignee: | Prateek Arora (parora) → nobody |
Changed in nova: | |
assignee: | nobody → Prateek Arora (parora) |
Changed in nova: | |
assignee: | Prateek Arora (parora) → nobody |
Changed in nova: | |
assignee: | nobody → zhaolihui (zhaolh) |
Changed in nova: | |
assignee: | zhaolihui (zhaolh) → nobody |
Changed in cinder: | |
assignee: | nobody → Michael Dovgal (mdovgal) |
To post a comment you must log in.
I am not seeing how this is a bug in tempest. Tempest is deleting the vm only after nova reports that the volume is 'in-use' which seems fine. It would be nice if there was a backtrace, log, or something associated with this ticket. This might be a cinder issue but more likely nova and the test is making a nova call.