← Back to team overview

sws team mailing list archive

[Bug 909207] Re: Nova API doesn't return instance security groups

 

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

I did submit a sg=>servers patch a while ago but it got refused because
sg's will be a core function on API V3.

Therefore it was suggested that I implement this on the sg extension for
the time being.

-- 
You received this bug notification because you are a member of Sina
Cloud dev Team, which is a bug assignee.
https://bugs.launchpad.net/bugs/909207

Title:
  Nova API doesn't return instance security groups

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  The EC2 API was updated in response to bug 802046 to return the security groups associated with an instance. Unfortunately, the Nova API didn't get that change, and so it is currently not possible to retrieve just the security groups associated with an instance.
  https://github.com/openstack/nova/blob/master/nova/api/ec2/cloud.py#L1101

  The Nova API should return relevant security groups in the details view.
  https://github.com/openstack/nova/blob/master/nova/api/openstack/v2/views/servers.py#L85

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