Add functional regressions tests for server_group_members OverQuota
Since we started counting quotas in Pike, it is possible to bypass
the server_group_members qouta check if either creating multiple
servers in a single request or creating one server each in multiple
concurrent requests. This is because the server_group_members
count is based on existing server group members in the cell database
and those group members (instances) don't get created in a cell until
we get to conductor and after the scheduler picks a host. In other
words, the server_group_members quota check in the API does not account
for build requests.
Reviewed: https:/ /review. openstack. org/580755 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f9874e059df 50dc81803fcfdfd 1045cc09624894
Committed: https:/
Submitter: Zuul
Branch: master
commit f9874e059df50dc 81803fcfdfd1045 cc09624894
Author: Matt Riedemann <email address hidden>
Date: Fri Jul 6 16:10:48 2018 -0400
Add functional regressions tests for server_ group_members OverQuota
Since we started counting quotas in Pike, it is possible to bypass group_members qouta check if either creating multiple group_members group_members quota check in the API does not account
the server_
servers in a single request or creating one server each in multiple
concurrent requests. This is because the server_
count is based on existing server group members in the cell database
and those group members (instances) don't get created in a cell until
we get to conductor and after the scheduler picks a host. In other
words, the server_
for build requests.
Change-Id: Icb268ca2f792bf cefd152ba4c6aa1 3270d9a7900
Related-Bug: #1780373