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

Bug #900533 reported by andrewsben on 2011-12-06
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
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.

Devin Carlen (devcamcar) on 2011-12-17
Changed in horizon:
milestone: none → essex-3
assignee: nobody → Tres Henry (tres)
importance: Undecided → Low
Devin Carlen (devcamcar) on 2012-01-25
Changed in horizon:
milestone: essex-3 → essex-4
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

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) on 2012-02-29
Changed in horizon:
milestone: 2012.1 → essex-rc1
Changed in horizon:
assignee: Tres Henry (tres) → Emma Grace Steimann (emmasteimann)
Mike Perez (thingee) on 2012-03-02
Changed in horizon:
assignee: Emma Grace Steimann (emmasteimann) → Mike Perez (thingee)
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) on 2012-03-08
Changed in horizon:
assignee: Mike Perez (thingee) → Andy Chong (andycjw)

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

Changed in horizon:
status: Confirmed → In Progress

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) on 2012-03-20
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions