yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19040
[Bug 1356309] [NEW] allow_resize_to_same_host is not handled properly in the resize() api
Public bug reported:
allow_resize_to_same_host is used to direct the 'resize' action to the
same node where the instance was running now. But the nova.compute.api.
resize() method is not taking care of this condition as of now when this
flag is set to TRUE.
Following code set the force_nodes to make sure that, the instance is
resized to the same node again.
if not CONF.allow_resize_to_same_host:
filter_properties['ignore_hosts'].append(instance['host'])
else:
if instance['host'] != instance['node']:
filter_properties['force_nodes'] = [instance['node']]
** Affects: nova
Importance: Undecided
Assignee: Kanagaraj Manickam (kanagaraj-manickam)
Status: New
** Changed in: nova
Assignee: (unassigned) => Kanagaraj Manickam (kanagaraj-manickam)
--
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/1356309
Title:
allow_resize_to_same_host is not handled properly in the resize() api
Status in OpenStack Compute (Nova):
New
Bug description:
allow_resize_to_same_host is used to direct the 'resize' action to the
same node where the instance was running now. But the
nova.compute.api. resize() method is not taking care of this condition
as of now when this flag is set to TRUE.
Following code set the force_nodes to make sure that, the instance is
resized to the same node again.
if not CONF.allow_resize_to_same_host:
filter_properties['ignore_hosts'].append(instance['host'])
else:
if instance['host'] != instance['node']:
filter_properties['force_nodes'] = [instance['node']]
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1356309/+subscriptions
Follow ups
References