← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1713724] [NEW] Admin project edit form using resources amout from current project instead of edited project.

 

Public bug reported:

Hi,
if we tried to add users in project using horizon and that project is different than edited project. Saving can fail on quetas exceed, because current amount of quotas was taken from selected project instead of form-related project.

Maybe you should use instance.project instead of request.project.

Steps to reproduce:
Select some project with some allocated RAM and VCPUS.
Edit a project using admin interface, project must be other then selected.
Set a smaller quotas than selected project already allocated.
Saving is forbidden due to lesser quotas than enforced in the form - this is because quotas was computed from bad project.

** 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/1713724

Title:
  Admin project edit form using resources amout from current project
  instead of edited project.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Hi,
  if we tried to add users in project using horizon and that project is different than edited project. Saving can fail on quetas exceed, because current amount of quotas was taken from selected project instead of form-related project.

  Maybe you should use instance.project instead of request.project.

  Steps to reproduce:
  Select some project with some allocated RAM and VCPUS.
  Edit a project using admin interface, project must be other then selected.
  Set a smaller quotas than selected project already allocated.
  Saving is forbidden due to lesser quotas than enforced in the form - this is because quotas was computed from bad project.

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


Follow ups