Horizon unable to change quotas if routers extension is disabled in neutron

Bug #1457598 reported by George Shuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Unassigned

Bug Description

Horizon version:

openstack-dashboard 1:2014.2.2-0ubuntu1~cloud0
python-django-horizon 1:2014.2.2-0ubuntu1~cloud0

Steps to reproduce:

1. Disable router extension in neutron (empty service_plugins in neutron.conf)
2. Disable routers in horizon OPENSTACK_NEUTRON_NETWORK = { 'enable_router': False, ...
3. Try to change quotas for tenant

Expected behaviour:

1. Quotes dialogue without fields 'routers/floatingips'
2. Changes in quotas can be saved.

Actual behaviour:

1. Interface shows empty fields 'routers' and 'floatingips'
2. Attempt to save quotas without changes fails (see screenshot), complaining about 'this field is required'.
3. Any values in this fields rejected by server: 'Error: Modified project information and members, but unable to modify project quotas.'

Revision history for this message
George Shuklin (george-shuklin) wrote :
description: updated
Liyingjun (liyingjun)
Changed in horizon:
status: New → Confirmed
assignee: nobody → Liyingjun (liyingjun)
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/185820

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
milestone: none → ocata-2
importance: Undecided → High
Changed in horizon:
assignee: Liyingjun (liyingjun) → Rob Cresswell (robcresswell)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/185820
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1a3ab89f22dd37aa1ff1491777b9e3e789517d13
Submitter: Jenkins
Branch: master

commit 1a3ab89f22dd37aa1ff1491777b9e3e789517d13
Author: liyingjun <email address hidden>
Date: Wed May 27 10:07:07 2015 +0800

    Disable router and fip quotas when router is disabled

    Currently Horizon unable to change quotas if routers extension is
    disabled, fix this by adding router and floatingip quotas to
    disabled_quotas when router extension is disabled.

    Change-Id: I14d8a6e2e439ab48b62ce64c88ebb4643d11e49f
    Closes-bug: #1457598

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.0.0b1

This issue was fixed in the openstack/horizon 11.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.