Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1498108

Summary: [RFE] Add soft policy for nova server group
Product: Red Hat OpenStack Reporter: Zane Bitter <zbitter>
Component: openstack-heatAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: Ronnie Rasouli <rrasouli>
Severity: high Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: aarapov, apannu, augol, jmelvin, jwaterwo, lmiccini, mburns, mlopes, ramishra, rhel-osp-director-maint, rpolli, rrasouli, sbaker, shardy, srevivo, therve, zbitter
Target Milestone: z4Keywords: FutureFeature, RFE, Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-heat-8.0.4-2.el7ost Doc Type: Enhancement
Doc Text:
The OS::Nova::ServerGroup resource now allows you to use the 'soft-affinity' and 'soft-anti-affinity' policies. This is in addition to the 'affinity' and 'anti-affinity' policies.
Story Points: ---
Clone Of: 1480338
: 1525936 (view as bug list) Environment:
Last Closed: 2018-02-13 16:42:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1480338    
Bug Blocks: 1525936    

Description Zane Bitter 2017-10-03 13:56:53 UTC
+++ This bug was initially created as a clone of Bug #1480338 +++

Description of problem:

Add soft-anti-affinity and soft-affinity policy for nova server
group resource.


###Upstream commit

https://github.com/openstack/heat/commit/219bb0c8e958c0cce16ad2ac3e224fbdedf56678

###nova side bugzilla:

(soft-affinity-for-server-group) 
https://bugzilla.redhat.com/show_bug.cgi?id=1093244

Comment 2 Ronnie Rasouli 2017-11-16 12:26:59 UTC
heat_template_version: pike
resourceis:
  nova:
    type: OS::Nova::ServerGroup 
    properties:
      name: qr-name
      policies: [soft-anti-affinity]

CREATE_COMPLETE

Comment 6 errata-xmlrpc 2018-02-13 16:42:22 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://access.redhat.com/errata/RHBA-2018:0309