Reviewed: https://review.openstack.org/496692 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0b65dbc9132a555bfff7855637daf48da0a19e50 Submitter: Jenkins Branch: master
commit 0b65dbc9132a555bfff7855637daf48da0a19e50 Author: wei.ying <[email protected]> Date: Mon Aug 28 14:01:41 2017 +0800 Disable 'Create Port' button if ports quota is exceeded Ports has quota management in a project, if quota is exceeded, will create failure and API returns "Recoverable error: Quota exceeded for resources: ['port']". So, it should be like creating a network and subnet to perform quota checks on ports, and if the quota is exceeded, add text descriptions to the create port button and disable it. Change-Id: I31bd8f93c312179b86115544ba0fadc9a9ffec63 Closes-Bug:#1712556 ** 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/1712556 Title: Failed to create port in project/admin create port form when the ports quota exceeded Status in OpenStack Dashboard (Horizon): Fix Released Bug description: Env: devstack master branch Description: There is no quota check for ports. if ports quota exceeded, the creation port will fail, and the API returns the error message: "Recoverable error: Quota exceeded for resources: ['port'].Neutron server returns request_ids: ['req-4026a749-e963-49fa-9a3f-70ceda877d76']", Reproduce: 1. Go to Identity->Projects panel. 2. Choose a specific project, set the project's ports quota to 0. 3. Go to Project/Admin->Networks->Networks panel and select an existing network name and click on the network details port tab. 4. Create a new port. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1712556/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

