← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1838522] [NEW] Disabled quotas break floating IPs

 

Public bug reported:

Setting  OPENSTACK_NEUTRON_NETWORK['enable_quotas'] breaks the floating
ip allocation dialog in project/instances

To reproduce:

- Make sure OPENSTACK_NEUTRON_NETWORK['enable_quotas'] is set to false
(settings.py, local_settings.py); this is currently the default setting
in master.

- Make sure an instance is running

- Navigate to Project/Instances

- Open the "Associate Floating IP" action for an instance

- Click the + button next to the list of available floating ips

- An IP allocation modal should come up

Two  Issues manifest:

- The quota display in the bottom right of the dialog is broken: it does
not display numbers or the graphical representation of quotas

- Attempting to allocate a new IP by clicking the 'Allocate IP' button
fails with a (non-)exception in Horizon's log; it simply states
'available'. This is caused by an unhandled keyerror
/openstack_dashboard/dashboards/project/floating_ips/forms.py:59. With
disabled quotas, the floatingip dictionary doesn't contain 'available'.

Reproduced on Stein devstack and Horizon master.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1838522

Title:
  Disabled quotas break floating IPs

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Setting  OPENSTACK_NEUTRON_NETWORK['enable_quotas'] breaks the
  floating ip allocation dialog in project/instances

  To reproduce:

  - Make sure OPENSTACK_NEUTRON_NETWORK['enable_quotas'] is set to false
  (settings.py, local_settings.py); this is currently the default
  setting in master.

  - Make sure an instance is running

  - Navigate to Project/Instances

  - Open the "Associate Floating IP" action for an instance

  - Click the + button next to the list of available floating ips

  - An IP allocation modal should come up

  Two  Issues manifest:

  - The quota display in the bottom right of the dialog is broken: it
  does not display numbers or the graphical representation of quotas

  - Attempting to allocate a new IP by clicking the 'Allocate IP' button
  fails with a (non-)exception in Horizon's log; it simply states
  'available'. This is caused by an unhandled keyerror
  /openstack_dashboard/dashboards/project/floating_ips/forms.py:59. With
  disabled quotas, the floatingip dictionary doesn't contain
  'available'.

  Reproduced on Stein devstack and Horizon master.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1838522/+subscriptions


Follow ups