Security Group w/o enough parameters should fail more gracefully

Bug #701706 reported by Todd Willey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Todd Willey

Bug Description

 _revoke_rule_args_to_dict in nova/api/ec2/cloud.py can return None if the cidr and port are empty, but authorize_security_group_ingress always assumes a dict return value. We need to check for a None return value and raise an API error with a descriptive message. revoke_security_group_ingress has this check in place already.

Related branches

Todd Willey (xtoddx)
Changed in nova:
importance: Undecided → Wishlist
assignee: nobody → Todd Willey (xtoddx)
Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.1
status: Fix Committed → Fix Released
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.