ServerGroup resource does not support soft affinity policies

Bug #1665164 reported by Drago
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Shunli Zhou

Bug Description

There are four affinity policies for server groups: anti-affinity, affinity, soft-anti-affinity, and soft-affinity [1]. OS::Nova::ServerGroup only supports anti-affinity and affinity [2].

[1] https://developer.openstack.org/api-ref/compute/?expanded=create-server-group-detail#create-server-group

[2] https://github.com/openstack/heat/blob/d899c240e49a72246926b46f40f8076159bb5196/heat/engine/resources/openstack/nova/server_group.py#L52

Shunli Zhou (shunliz)
Changed in heat:
assignee: nobody → Shunli Zhou (shunliz)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/436447

Changed in heat:
status: Confirmed → In Progress
Rico Lin (rico-lin)
Changed in heat:
importance: Undecided → Medium
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/436447
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=219bb0c8e958c0cce16ad2ac3e224fbdedf56678
Submitter: Jenkins
Branch: master

commit 219bb0c8e958c0cce16ad2ac3e224fbdedf56678
Author: ShunliZhou <email address hidden>
Date: Tue Feb 21 17:00:52 2017 +0800

    Add soft policy for nova server group

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

    DocImpact

    Change-Id: Ib9a80d1418ea89bd81dfb01145a1691ca1b9b10c
    Closes-Bug: #1665164

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 9.0.0.0b1

This issue was fixed in the openstack/heat 9.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.