Volume is not unreserved after scheduling is failed

Bug #1713641 reported by Hironori Shiina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Medium
Chris Friesen

Bug Description

For creating instance with booting from a volume, the volume is reserved before scheduling[1]. When the scheduling is failed due to lack of valid hosts, the instance gets in ERROR state and the volume is kept in 'attaching' state. The volume reservation is not removed even if the instance is deleted.

[1] https://github.com/openstack/nova/blob/5d3a11b9c9a6a5aecd46ad7ecc635215184d930e/nova/compute/api.py#L3577

summary: - Volume is not unreserved after schduling is failed
+ Volume is not unreserved after scheduling is failed
Sean Dague (sdague)
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
tags: added: volumes
Li Xipeng (lixipeng)
Changed in nova:
assignee: nobody → Li Xipeng (lixipeng)
Chris Friesen (cbf123)
tags: added: pike-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/525253

Changed in nova:
assignee: Li Xipeng (lixipeng) → Chris Friesen (cbf123)
status: Confirmed → In Progress
Revision history for this message
Chris Friesen (cbf123) wrote : Re: [Bug 1713641] Re: Volume is not unreserved after scheduling is failed

On 02/15/2018 08:30 AM, Ameed Ashour wrote:
> Hi Chris,
>
> are you still working on this bug?

No, Matt Riedemann pointed out that
https://review.openstack.org/#/c/544748 was a better fix.

Chris

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Chris Friesen (<email address hidden>) on branch: master
Review: https://review.openstack.org/525253
Reason: Abandoned due to other patch series.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.