← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1353602] [NEW] ServerSecurityGroupController doesn't handle case where there are no security groups

 

Public bug reported:

In nova/api/openstack/compute/contrib/security_groups.py, the
ServerSecurityGroupController.index(...) method does not handle the
situation where security_group_api.get_instance_security_groups()
returns None (as might be the case when neutron is the security group
impl) resulting in an exception when attempting to iterate on a
NoneType.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1353602

Title:
  ServerSecurityGroupController doesn't handle case where there are no
  security groups

Status in OpenStack Compute (Nova):
  New

Bug description:
  In nova/api/openstack/compute/contrib/security_groups.py, the
  ServerSecurityGroupController.index(...) method does not handle the
  situation where security_group_api.get_instance_security_groups()
  returns None (as might be the case when neutron is the security group
  impl) resulting in an exception when attempting to iterate on a
  NoneType.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1353602/+subscriptions


Follow ups

References