← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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:~$

** Affects: nova
     Importance: Undecided
     Assignee: wingwj (wingwj)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => wingwj (wingwj)

-- 
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):
  New

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


Follow ups

References