create subnet button is not always changed when quota exceeded

Bug #1588764 reported by Itxaka Serrano
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Itxaka Serrano

Bug Description

usually, when a user creates subnets, he can do this, until the quota is reached. In that case, the create subnet button is disabled, and the text is changed to "Create subnet (quota exceeded)" and the button is being disabled.

Button disabling and changing the text does not work, if there is a shared subnet for the same project. (It looks like shared subnets are not taken into account). But neutron cares about shared subnet. Creating another one fails with a "quota exceeded" message

This is basically the same issue as https://bugs.launchpad.net/horizon/+bug/1513795 but affecting subnets instead.

Itxaka Serrano (itxaka)
Changed in horizon:
assignee: nobody → Itxaka Serrano (itxakaserrano)
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/325224

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: Itxaka Serrano (itxakaserrano) → Eric Peterson (ericpeterson-l)
Changed in horizon:
assignee: Eric Peterson (ericpeterson-l) → Itxaka Serrano (itxakaserrano)
Changed in horizon:
importance: Undecided → High
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/325224
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=028aecc192a41306aa4e740c19b482bc664971f4
Submitter: Jenkins
Branch: master

commit 028aecc192a41306aa4e740c19b482bc664971f4
Author: Itxaka <email address hidden>
Date: Tue Jun 14 13:37:08 2016 +0200

    Take shared subnets into account for quotas

    Previously, shared subnets were ignored by collecting used
    networks; the "Create subnet" button is still enabled, but
    subnet creation is forbidden by neutron due to quota reached.

    Change-Id: I20b3373ab86631922945285a12ca4810b707b0be
    Closes-Bug: #1588764

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 10.0.0.0b2

This issue was fixed in the openstack/horizon 10.0.0.0b2 development milestone.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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