CONF.allow_migrate_to_same_host doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
zhangtralon |
Bug Description
there are such codes in the “resize” function from nova/compute/api.py
if not CONF.allow_
# Here when flavor_id is None, the process is considered as migrate.
if (not flavor_id and not CONF.allow_
When running the "migrate" operation and the CONF.allow_
At the same time, I find the CONF.allow_
the code part is as follows:
same_host = instance['host'] == self.host
if same_host and not CONF.allow_
msg = _('destination same as source!')
raise exception.
So, I think that using two configuration items here can occur conflict, maybe we can
take out a configuration item!
Changed in nova: | |
assignee: | nobody → zhangtralon (zhangchunlong1) |
summary: |
- CONF.allow_migrate_to_same_host is no work + CONF.allow_migrate_to_same_host doesn't work |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-1 → 12.0.0 |
Fix proposed to branch: master /review. openstack. org/118604
Review: https:/