yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70373
[Bug 1337473] Re: horizon gets the default quota for floating ips for new projects from the what the current user has
Reviewed: https://review.openstack.org/526702
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=dc7d2582db84190da0431fb7171a028b6abe2ea0
Submitter: Zuul
Branch: master
commit dc7d2582db84190da0431fb7171a028b6abe2ea0
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date: Mon Dec 4 00:05:43 2017 +0900
quota: Use neutron default quota (read-only) API
Neutron provides an API to retrieve default quotas since newton.
Unfortunately there is no corresponding neutron API extension
is not defined, so there is no way to detect it via API.
The API exists since newton, so this commit just switches to
the default quota API.
Closes-Bug: #1337473
blueprint make-quotas-great-again
Change-Id: Ia826b67f4cec7d95335c62ef98c3040feaa06117
** 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/1337473
Title:
horizon gets the default quota for floating ips for new projects from
the what the current user has
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
After some investigation it appears that when you login to Horizon and
go to create a new project, it gets the default neutron floating IP
quota value from the current value that the logged in user has. This
was quite confusing.
This will likely not be fixable until this feature lands in neutron: https://bugs.launchpad.net/neutron/+bug/1204956, Since Horizon has no way to get defaults and this is probably a good reasonable solution until then.
Steps:
Login as a user with who's default tenant has a quota of 50 floating IPs.
Go to create project, note the pre-filled value is 50.
Change tenant's quota to "123"
Logout
Login again
Go to create project, note the pre-filled value is 123.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1337473/+subscriptions
References