libvirt: concurrent detach_volume and terminate fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya | ||
Folsom |
Fix Released
|
High
|
Chuck Short | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you detach a volume from an instance and then terminate the instance concurrently, the two execution paths can stomp on each other:
Traceback from terminate greenthread:
2012-09-27 18:32:40 ERROR nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
2012-09-27 18:32:40 TRACE nova.openstack.
(other traceback reported as separate bug here: https:/
The error on the detach isn't particularly worrisome as the detach is actually failing because the volume is gone. Might be nice to catch the error and just log a warning instead of traceback. The other issue seems to be a lack of idempotency in the iscsi disconnect code.
description: | updated |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Vish Ishaya (vishvananda) |
tags: | added: folsom-backport-potential |
tags: | removed: folsom-backport-potential |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
Changed in nova (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/13788
Review: https:/