← Back to team overview

yahoo-eng-team team mailing list archive

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

 

*** This bug is a duplicate of bug 1291489 ***
    https://bugs.launchpad.net/bugs/1291489

It was originally  reported against Havana. I would agree that the patch
and the backport should fix the issue, so I'll close this BZ. Thanks,
cyeoh for spotting this (and lcostantino for fixing :)).

** This bug has been marked a duplicate of bug 1291489
   list-secgroup fail if no secgroups defined for server

-- 
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):
  Incomplete

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


References