get_instance_security_groups() fails if no name on security group
The following patch fixes a bug in get_instance_security_groups() where
it tries to access security_groups['id'] but security_groups is a string.
This patch also removes some stubs that were not needed in a few unit test.
Reviewed: https:/ /review. openstack. org/30047 github. com/openstack/ nova/commit/ 5d40fb635b1abac 3828245124e392a 4c9af52f60
Committed: http://
Submitter: Jenkins
Branch: master
commit 5d40fb635b1abac 3828245124e392a 4c9af52f60
Author: Aaron Rosen <email address hidden>
Date: Tue May 21 21:15:30 2013 -0700
get_ instance_ security_ groups( ) fails if no name on security group
The following patch fixes a bug in get_instance_ security_ groups( ) where groups[ 'id'] but security_groups is a string.
it tries to access security_
This patch also removes some stubs that were not needed in a few unit test.
Fixes bug 1182738
Change-Id: Ia64db2e40d4a0e 163344b4234112d bde71b1e132