Reviewed: https://review.openstack.org/8392 Committed: http://github.com/openstack/nova/commit/3ee026e4252cd4140b50675e857695b195ab5065 Submitter: Jenkins Branch: stable/essex
commit 3ee026e4252cd4140b50675e857695b195ab5065 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/8392 github. com/openstack/ nova/commit/ 3ee026e4252cd41 40b50675e857695 b195ab5065
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 3ee026e4252cd41 40b50675e857695 b195ab5065
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