server group members quota has no effect

Bug #1598859 reported by javeme on 2016-07-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
javeme

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

javeme (javaloveme) on 2016-07-04
Changed in nova:
assignee: nobody → javeme (javaloveme)

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

Changed in nova:
status: New → In Progress

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/337251
Reason: This review is > 6 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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

Other bug subscribers