Public bug reported:

server group members quota has no effect when creating multiple
instances at the same time.

Steps to reproduce
1. create a server-group
[root@node-1 ~]# nova server-group-create group-1 affinity
+--------------------------------------+---------+---------------+---------+----------+
| Id                                   | Name    | Policies      | Members | 
Metadata |
+--------------------------------------+---------+---------------+---------+----------+
| f37c8cd3-d590-4344-8c06-4a81de7b911b | group-1 | [u'affinity'] | []      | {} 
      |
+--------------------------------------+---------+---------------+---------+----------+

2. show server_group_members quota
nova quota-show
server_group_members: 10

3. boot 20 servers in group-1 successfully (quota exceeded, expected all(or 10 
servers) failed)
nova boot --image CentOS-6.5-minimal --flavor 1-512-20 --nic 
net-id=e98ac091-e77c-4e59-8c07-c3906a80d3a1 test-vm --hint 
group=f37c8cd3-d590-4344-8c06-4a81de7b911b --min-count 20

Environment
Liberty

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1598859

Title:
  server group members quota has no effect

Status in OpenStack Compute (nova):
  New

Bug description:
  server group members quota has no effect when creating multiple
  instances at the same time.

  Steps to reproduce
  1. create a server-group
  [root@node-1 ~]# nova server-group-create group-1 affinity
  
+--------------------------------------+---------+---------------+---------+----------+
  | Id                                   | Name    | Policies      | Members | 
Metadata |
  
+--------------------------------------+---------+---------------+---------+----------+
  | f37c8cd3-d590-4344-8c06-4a81de7b911b | group-1 | [u'affinity'] | []      | 
{}       |
  
+--------------------------------------+---------+---------------+---------+----------+

  2. show server_group_members quota
  nova quota-show
  server_group_members: 10

  3. boot 20 servers in group-1 successfully (quota exceeded, expected all(or 
10 servers) failed)
  nova boot --image CentOS-6.5-minimal --flavor 1-512-20 --nic 
net-id=e98ac091-e77c-4e59-8c07-c3906a80d3a1 test-vm --hint 
group=f37c8cd3-d590-4344-8c06-4a81de7b911b --min-count 20

  Environment
  Liberty

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to