Create project validates quota usage against the current project

Bug #1493263 reported by Vlad Okhrimenko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Medium
MOS Maintenance
6.0.x
Fix Released
Medium
Alexey Khivin
6.1.x
Fix Released
Medium
Alex Ermolov
7.0.x
Invalid
Medium
MOS Maintenance

Bug Description

Please create back-port of the bug https://bugs.launchpad.net/horizon/+bug/1380701, and include it in maintenance-update for MOS 6.1

Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Confirmed for 6.0 and 6.1 updates, Invalid for 7.0 as the fix is consumed from stable/kilo

Changed in mos:
status: New → Confirmed
no longer affects: mos/8.0.x
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: Alex Ermolov <email address hidden>
Review: https://review.fuel-infra.org/11648

Alexey Khivin (akhivin)
summary: - Create backport of bug "create project validates quota usage against the
- current project"
+ Create project validates quota usage against the current project
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/11648
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-6.1/2014.2

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.

Change-Id: I3ec84d14c8be7e3aae066119e963c4093f8aa345
Closes-Bug: #1493263

Revision history for this message
Vadim Rovachev (vrovachev) wrote :

Verified on 6.1 Ubuntu
Packages:
openstack-dashboard,python-django-horizon
Version:
1:2014.2.2-1~u14.04+mos28+git.2f8f0ec.9e4c5fb

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-6.0-updates/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.0-updates/2014.2
Change author: Alex Ermolov <email address hidden>
Review: https://review.fuel-infra.org/12616

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-6.0-updates/2014.2)

Reviewed: https://review.fuel-infra.org/12616
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.0-updates/2014.2

Commit: 84382c09b64ddb4c3c90db7e044f60260150bedd
Author: Alex Ermolov <email address hidden>
Date: Thu Oct 8 13:21:48 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: I3ec84d14c8be7e3aae066119e963c4093f8aa345
Closes-Bug: #1493263

Roman Rufanov (rrufanov)
tags: added: support
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.