This adds a regression test for a bug where quota limit checking during
server creates is not properly scoped per-user when per-user quota has
been defined.
As a result, users who should be able to create a server are rejected
with a 403 "quota exceeded" error when they should be allowed to create
a server because servers owned by other users in the project are
incorrectly being counted for the current user.
Reviewed: https:/ /review. opendev. org/748779 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=38bc8b871a4 b954f6de84f10dc 1e8beb21a7c9ed
Committed: https:/
Submitter: Zuul
Branch: master
commit 38bc8b871a4b954 f6de84f10dc1e8b eb21a7c9ed
Author: melanie witt <email address hidden>
Date: Fri Aug 28 20:56:51 2020 +0000
Add regression test for bug 1893284
This adds a regression test for a bug where quota limit checking during
server creates is not properly scoped per-user when per-user quota has
been defined.
As a result, users who should be able to create a server are rejected
with a 403 "quota exceeded" error when they should be allowed to create
a server because servers owned by other users in the project are
incorrectly being counted for the current user.
Related-Bug: #1893284
Change-Id: I615ada45ffcbac 081474c0a0cf005 afdb8eec953