← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups