OpenStack Compute (Nova)

invalid cidr for security rule causes 500 error

Reported by Paul McMillan on 2012-01-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2012-01-23
Changed in nova:
importance: Undecided → Low
status: New → Confirmed

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

Changed in nova:
assignee: nobody → Chuck Short (zulcss)
status: Confirmed → In Progress

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) on 2012-03-20
Changed in nova:
milestone: none → essex-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
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