cryptic message when trying to allocate floating ip and at quota limit

Bug #900533 reported by andrewsben
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Andy Chong

Bug Description

When trying to allocate a floating ip when the quota limit has been reached the error message "Error: local variable 'fip' referenced before assignment" is displayed. Not knowing that I was at my limit I wouldn't assume that I had reached my limit.

Steps:
Goto Floating IPs
Allocate total quota of ips
try to allocate another

Expected:
An error message that made sense. "You have reached your limit of ips" or something similar.

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :
Changed in horizon:
status: New → Confirmed
Devin Carlen (devcamcar)
Changed in horizon:
milestone: none → essex-3
assignee: nobody → Tres Henry (tres)
importance: Undecided → Low
Devin Carlen (devcamcar)
Changed in horizon:
milestone: essex-3 → essex-4
Revision history for this message
Chris Welsh (chris-pwelsh) wrote :

Is this the same bug but from a different procedure?

Under access and "Security menu" -> "Security groups" -> (Actions) "edit rules" for the security group name "default"

Error: Error adding rule security group: local variable 'ip' referenced before assignment

Is there a work around?

Chris

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Bumping to 2012.1 since there isn't a patch yet.

Changed in horizon:
milestone: essex-4 → 2012.1
Thierry Carrez (ttx)
Changed in horizon:
milestone: 2012.1 → essex-rc1
Changed in horizon:
assignee: Tres Henry (tres) → Emma Grace Steimann (emmasteimann)
Mike Perez (thingee)
Changed in horizon:
assignee: Emma Grace Steimann (emmasteimann) → Mike Perez (thingee)
Revision history for this message
Mike Perez (thingee) wrote :

So throwing the client exception gives a 500 error. Is this similar bug similar? https://bugs.launchpad.net/horizon/+bug/925741

Andy Chong (andycjw)
Changed in horizon:
assignee: Mike Perez (thingee) → Andy Chong (andycjw)
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/5064

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

Reviewed: https://review.openstack.org/5064
Committed: http://github.com/openstack/horizon/commit/839cdbee28ac9dc37912c1a2eec89fd45a4b8d52
Submitter: Jenkins
Branch: master

commit 839cdbee28ac9dc37912c1a2eec89fd45a4b8d52
Author: Andy Chong <email address hidden>
Date: Thu Mar 8 12:57:54 2012 +0800

    Show quotas in Allocate IP form and block if quota limit reached

     * should fix bug 900533

    Change-Id: I9ebeaf28cb47a0ad762fcd36394688ac02b34d4c

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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