yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62056
[Bug 1660090] Re: add better explanation to allow_resize_to_same_host
Reviewed: https://review.openstack.org/426531
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=29490ab1a913e0f4aa68fab8222afeb90ccf5def
Submitter: Jenkins
Branch: master
commit 29490ab1a913e0f4aa68fab8222afeb90ccf5def
Author: David Medberry <openstack@xxxxxxxxxxxx>
Date: Sat Jan 28 17:32:17 2017 -0700
Explain how allow_resize_to_same_host is useful
With the ServerGroupAffinityFilter enabled, you need to also set
allow_resize_to_same_host to True. Mentioning this in the
description for that config setting.
ServerGroupAffinity is a scheduler setting that places all
servers with the group on the same host. (It is the opposite
of AntiAffinity that PREVENTS them from being on the same
host.) Consequently, if you try to resize a server that is
in an Affinity group (ie, it is affined) it will fail as the
current rules IMMEDIATELY remove the current server from
the list of possible scheduling targets (unless you have enabled
"allow_resize_to_same_host".) Since none of the other servers
can be candidates because of the Affinity rule, the resize
fails entirely.
Change-Id: I77a90ffdfe465d99ee8596375430ee960048d566
Closes-Bug: #1660090
** Changed in: nova
Status: In Progress => Fix Released
--
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/1660090
Title:
add better explanation to allow_resize_to_same_host
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Currently the config setting:
allow_resize_to_same_host
only mentions:
Allow destination machine to match source for resize. Useful when
testing in single-host environments. By default it is not allowed
to resize to the same host. Setting this option to true will add
the same host to the destination options.
However, this setting is NECESSARY to resize hosts in an affined
server group via ServerGroupAffinityFilter
and while this is a cosmetic setting, it is likely contributing extra
work to anyone who allows this filter and generally allows resizing.
This was tripped across when doing Trove testing (which allows
affinity or a-a for a db cluster.)
An issue (cosmetically) in at least Liberty through master (Ocata).
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1660090/+subscriptions
References