In InstanceGroup object, add_members method doesn't add members
into object members field, which causes
objects.Quotas.count(server_group_members) won't increase, and
instance group quota check invalid. This makes an issue that user
could spawn with one call more instances in server group than
was allowed in quota_server_group_members is it was below
instances quota settting.
Reviewed: https:/ /review. openstack. org/370567 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=43826e458ee fc4157b45d8a044 22cbdcdec4f7ff
Committed: https:/
Submitter: Jenkins
Branch: master
commit 43826e458eefc41 57b45d8a04422cb dcdec4f7ff
Author: yuntongjin <email address hidden>
Date: Tue Mar 1 16:00:16 2016 +0800
Add members in InstanceGroup object members field
In InstanceGroup object, add_members method doesn't add members Quotas. count(server_ group_members) won't increase, and group_members is it was below
into object members field, which causes
objects.
instance group quota check invalid. This makes an issue that user
could spawn with one call more instances in server group than
was allowed in quota_server_
instances quota settting.
Co-authored-by: yuntongjin <email address hidden>
Change-Id: Icdd8aef688776f 00fef6ede6e1bed 01af29f9917
Closes-bug: #1538169