Resize/Cold-migrate doesn't clear request_spec requested_destination and ignore_hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Fan Zhang |
Bug Description
When confirming or reverting a VERIFY_RESIZE instance, nova does't clear
requested_
cause the failure of rebuilding instance, because requested_
and ignore_hosts affect the scheduling in rebuilding process.
We have two compute nodes, let's call them hostA and hostB, and we have an
instance built on hostA, then:
1. migrate instance from hostA to hostB, and wait for instance status changing to VERIFY_RESIZE. Now instance RequestSpec's requested_
ignore_hosts equals ['hostA'] as default CONF.allow_
2. confirming or reverting the resize does nothing about instance RequestSpec.
3. rebuild instance with new image, nova set request_
request_
NoValidHost exception.
Out release is queens-17.0.3, but I checked code on master, it has the
same issue.
[1].https:/
[2].https:/
Changed in nova: | |
assignee: | nobody → Fan Zhang (fanzhang) |
description: | updated |
summary: |
- Resize/Cold-migrate doesn't clean request_spec requested_destination and + Resize/Cold-migrate doesn't clear request_spec requested_destination and ignore_hosts |
description: | updated |
description: | updated |
Fix proposed to branch: master /review. opendev. org/679212
Review: https:/