← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1810309] Re: Edit project validates quota against resources used in current project instead of edited project

 

Reviewed:  https://review.openstack.org/630774
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=32bfbbf10074b49b36447abd2e4f47f9f39d0ea7
Submitter: Zuul
Branch:    master

commit 32bfbbf10074b49b36447abd2e4f47f9f39d0ea7
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Tue Jan 15 03:34:23 2019 +0900

    Use correct cinder API version for tenant_absolute_limits
    
    To verify resource usages when updating project quotas,
    project_id query parameter needs to be supported in
    tenant_absolute_limits in the cinder API.
    
    This is supported in 3.39 or later in the cinder API.
    API vesions shipped with released versions (pike, queens and
    rocky) are selected as verified versions.
    
    Change-Id: If5fc190988cf173387da2b66be23db9134310692
    Closes-Bug: #1810309


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1810309

Title:
  Edit project validates quota against resources used in current project
  instead of edited project

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  This is a followup to https://bugs.launchpad.net/horizon/+bug/1713724,
  which fixed the issue for Nova ressources, but there is still a
  similar issue for volumes.

  Steps to reproduce (via Horizon, of course):

  1. Create new project, new user with admin credentials, set new project as primary for new user:
  https://pasteboard.co/HTvmbcG.jpg

  2. Login as new user. Populate new (primary) project with few instances and volumes:
  https://pasteboard.co/HTvnD0i.jpg

  3. Create test project with default quotas.

  4. Try to modify test project quotas, setting 'volumes', 'gigabytes' values lower then your primary project current usage:
  https://pasteboard.co/HTvqFR5.jpg

  5. Login as other user with admin credentials, but with blank
  primary_project field. Try to modify test project quotas the way
  above. It will be OK.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1810309/+subscriptions


References