Public bug reported:

there are such codes  in the “resize” function  from nova/compute/api.py

 if not CONF.allow_resize_to_same_host:
            filter_properties['ignore_hosts'].append(instance['host'])

 # Here when flavor_id is None, the process is considered as migrate.
if (not flavor_id and not CONF.allow_migrate_to_same_host):
          filter_properties['ignore_hosts'].append(instance['host'])

when running the “migrate” operation and the CONF.allow_resize_to_same_host is 
set  as "false"
the  CONF.allow_migrate_to_same_host is no work

** Affects: nova
     Importance: Undecided
     Assignee: zhangtralon (zhangchunlong1)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => zhangtralon (zhangchunlong1)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1364851

Title:
  CONF.allow_migrate_to_same_host  is no work

Status in OpenStack Compute (Nova):
  New

Bug description:
  there are such codes  in the “resize” function  from
  nova/compute/api.py

   if not CONF.allow_resize_to_same_host:
              filter_properties['ignore_hosts'].append(instance['host'])

   # Here when flavor_id is None, the process is considered as migrate.
  if (not flavor_id and not CONF.allow_migrate_to_same_host):
            filter_properties['ignore_hosts'].append(instance['host'])

  when running the “migrate” operation and the CONF.allow_resize_to_same_host 
is set  as "false"
  the  CONF.allow_migrate_to_same_host is no work

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1364851/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to