Failed to create port in project/admin create port form when the ports quota exceeded

Bug #1712556 reported by wei.ying
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
wei.ying

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.

wei.ying (wei.yy)
Changed in horizon:
assignee: nobody → wei.ying (wei.yy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/496692

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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 address hidden>
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
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → queens-1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 13.0.0.0b1

This issue was fixed in the openstack/horizon 13.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.