Commit: 2f8f0ecc0497a4380d2eaeab7661895cf483cab6
Author: Alex Ermolov <email address hidden>
Date: Mon Oct 5 18:04:42 2015
Pass correct project ID to get tenant_usages
The current implementation of tenant_quota_usages did not allow for
queries regarding projects that were not the currently active project,
this meant that when an admin went to edit or create a project it tried
to verify the usages against the wrong project. This patch adds the
code for passing a project id to the tenant_quota_usages function so
that the usages can be fetched for a specific project, as well as
removes the need for usage validation on creation of a new project.
Reviewed: https:/ /review. fuel-infra. org/11648 ci/fuel- 6.1/2014. 2
Submitter: mos-infra-ci <>
Branch: openstack-
Commit: 2f8f0ecc0497a43 80d2eaeab766189 5cf483cab6
Author: Alex Ermolov <email address hidden>
Date: Mon Oct 5 18:04:42 2015
Pass correct project ID to get tenant_usages
The current implementation of tenant_quota_usages did not allow for
queries regarding projects that were not the currently active project,
this meant that when an admin went to edit or create a project it tried
to verify the usages against the wrong project. This patch adds the
code for passing a project id to the tenant_quota_usages function so
that the usages can be fetched for a specific project, as well as
removes the need for usage validation on creation of a new project.
Change-Id: I3ec84d14c8be7e 3aae066119e963c 4093f8aa345
Closes-Bug: #1493263