Bug 1093244 (soft-affinity-for-server-group) - [RFE][nova]: Add soft-affinity policy for server-group
Summary: [RFE][nova]: Add soft-affinity policy for server-group
Keywords:
Status: CLOSED ERRATA
Alias: soft-affinity-for-server-group
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Sylvain Bauza
QA Contact: awaugama
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_mitaka-2 upstream_...
: 1241864 (view as bug list)
Depends On: 1335634
Blocks: 1077198 rhelosp_instance_groups 1235793 1281573 1339886 1396164
TreeView+ depends on / blocked
 
Reported: 2014-05-01 04:03 UTC by RHOS Integration
Modified: 2019-09-09 15:21 UTC (History)
12 users (show)

Fixed In Version: openstack-nova-13.0.0-1.el7ost
Doc Type: Enhancement
Doc Text:
With this update, two new policies for the server-group API called 'soft-affinity' and 'soft-anti-affinity' are added. These policies allow you to place instances in same or different hosts from the same server-group.
Clone Of:
Environment:
Last Closed: 2016-08-24 12:50:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:1761 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 9 General Availability Advisory 2016-08-24 16:49:52 UTC

Description RHOS Integration 2014-05-01 04:03:38 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/soft-affinity-for-server-group.

Description:


As a tenant I would like to schedule instances on the same host if possible,
so that I can achieve colocation. However if it is not possible to schedule
some instance to the same host then I still want that the subsequent
instances are scheduled together on another host. In this way I can express
a good-to-have relationship between a group of instances.


End User might want to have a less strict affinity rule than what is today
available in server-group API extension. With the proposed good-to-have
affinity rule the End User can request nova to schedule the instance to the
same host if possible. However if it is not possible (e.g. due to resource
limitations) then End User still wants to keep the instances on a small
amount of different host.


This change would extend the existing server-group API extension with a new
policy soft-affinity. When a instance is booted into a group with
soft-affintiy policy the scheduler will use a new weight AffinityWeight to
sort the available hosts according to the number of instances running on them
from the same server-group.

This new soft-affinity policy is mutually exclusive with the other existing
server-group policies.


Specification URL (additional information):

None

Comment 2 Stephen Gordon 2016-02-01 20:50:08 UTC
*** Bug 1241864 has been marked as a duplicate of this bug. ***

Comment 3 Mike McCune 2016-03-28 23:32:32 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 9 errata-xmlrpc 2016-08-24 12:50:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1761.html


Note You need to log in before you can comment on or make changes to this bug.