Reviewed: https://review.openstack.org/8387 Committed: http://github.com/openstack/nova/commit/bbdf82c5ec3e31a5dc43948291c4f37ce1098714 Submitter: Jenkins Branch: master
commit bbdf82c5ec3e31a5dc43948291c4f37ce1098714 Author: Soren Hansen <email address hidden> Date: Mon Jun 11 09:23:33 2012 +0200
Only invoke .lower() on non-None protocols
When using source group based security group rules (rather than CIDR based ones), it's permissible to not set a protocol and port. However, Nova would always try to convert the protocol to lower case, which would fail if the protocol wasn't set.
Fixes bug 1010514
Change-Id: I9b1519a52ececd16a497acebfe022508cbe96126
Reviewed: https:/ /review. openstack. org/8387 github. com/openstack/ nova/commit/ bbdf82c5ec3e31a 5dc43948291c4f3 7ce1098714
Committed: http://
Submitter: Jenkins
Branch: master
commit bbdf82c5ec3e31a 5dc43948291c4f3 7ce1098714
Author: Soren Hansen <email address hidden>
Date: Mon Jun 11 09:23:33 2012 +0200
Only invoke .lower() on non-None protocols
When using source group based security group rules (rather than CIDR
based ones), it's permissible to not set a protocol and port. However,
Nova would always try to convert the protocol to lower case, which would
fail if the protocol wasn't set.
Fixes bug 1010514
Change-Id: I9b1519a52ececd 16a497acebfe022 508cbe96126