← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1015638] Re: JSON returned by nova not conform to docs

 

This was fixed in folsom as part of
https://github.com/openstack/nova/commit/d0189e777097a3adc5cf030123adfc24c67d14b4.

** Changed in: nova
       Status: Confirmed => Fix Released

-- 
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/1015638

Title:
  JSON returned by nova not conform to docs

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  According to documentation nova shold return information about
  security groups for request GET v1.1/{tenant_id}/servers/detail

  {
      "servers": [
          {
              "id": "52415800-8b69-11e0-9b19-734f565bc83b",
              "tenant_id": "1234",
              "user_id": "5678",
  ....
              "security_groups": [
                  {"name": "sec-group-1"},
                  {"name": "sec-group-2"}
              ],
              "config_drive": "0c5eb502-3ee7-42e2-acfc-399b67fe72db"
          }
      ]
  }

  but in real life it omits security groups.

  Can be seen at:
  https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/views/servers.py#L91

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