volume-backed instance rebuild with no image change is still going through scheduler
Bug #1732947 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann | ||
Newton |
Fix Committed
|
High
|
Matt Riedemann | ||
Ocata |
Fix Committed
|
High
|
Matt Riedemann | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
Due to this recent change:
https:/
And the fact that volume-backed instances don't store the instance.image_ref value to indicate they are volume-backed, this condition will always evaluate to True:
And we'll unnecessarily call through the scheduler again to validate the instance on the original host during the rebuild even if the image isn't changing.
For a volume-backed instance, we have to get the original image_id from the volume's volume_
Changed in nova: | |
status: | New → Triaged |
Changed in nova: | |
assignee: | nobody → Chris Friesen (cbf123) |
status: | Triaged → In Progress |
Changed in nova: | |
importance: | Undecided → High |
To post a comment you must log in.
Related fix proposed to branch: master /review. openstack. org/521200
Review: https:/