← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1324348] Re: Server_group shouldn't have same policies in it

 

Reviewed:  https://review.openstack.org/96645
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=af630da010ae7083e0a4da87b5014f45d90ac7ef
Submitter: Jenkins
Branch:    master

commit af630da010ae7083e0a4da87b5014f45d90ac7ef
Author: wingwj <wingwj@xxxxxxxxx>
Date:   Fri May 30 09:21:30 2014 +0800

    Don't store duplicate policies for server_group
    
    It doesn't make sense to store same policies in a server_group.
    We only need to store one and ignore the duplicate policies.
    
    This patch relates to the bug I4f3ad544aef78cbbc076c7a47cca04832a2f5b4b
    in Nova. So I need to skip one test-case here firstly in order to modify the
    issue in Nova.
    
    After the Nova's patch merged, this test-case will be restored,
    and more correlate cases will definitly be supplied in tempest.
    
    Change-Id: I26449a2a881be396daf75838451cfe01a915f513
    Closes-Bug: #1324348


** Changed in: tempest
       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/1324348

Title:
  Server_group shouldn't have same policies in it

Status in OpenStack Compute (Nova):
  In Progress
Status in Tempest:
  Fix Released

Bug description:
  It can put several same policies in one server_group now.
  It doesn't make sense, the duplicate policies need to be ignored.

  ------------

  stack@devaio:~$ nova server-group-create --policy affinity --policy affinity wjsg1     
  +--------------------------------------+-------+----------------------------+---------+----------+
  | Id                                   | Name  | Policies                   | Members | Metadata |
  +--------------------------------------+-------+----------------------------+---------+----------+
  | 4f6679b7-f6b1-4d1e-92cd-1a54e1fe0f3d | wjsg1 | [u'affinity', u'affinity'] | []      | {}       |
  +--------------------------------------+-------+----------------------------+---------+----------+
  stack@devaio:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1324348/+subscriptions


References