invalid cidr for security rule causes 500 error

Bug #917982 reported by Paul McMillan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Chuck Short

Bug Description

If you attempt to create a security rule with an invalid CIDR (e.g. 0.0.0.0/99), you get back a 500 error with "local variable "ip" referenced before assignment".

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Chuck Short (zulcss)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4277
Committed: http://github.com/openstack/nova/commit/6c22d2a5ecd5fdb6e87c282d280145008cd7c52b
Submitter: Jenkins
Branch: master

commit 6c22d2a5ecd5fdb6e87c282d280145008cd7c52b
Author: Chuck Short <email address hidden>
Date: Fri Feb 17 14:32:19 2012 -0500

    Display error for invalid CIDR.

    Display an error to the user when giving an
    invalid CIDR. Fixes bug 917982.

    Change-Id: I5def054f5cc8e14bc8ebd981744d7d7af7f5710b

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
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

Remote bug watches

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