← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 975212] Re: Flavor self link not included in GET server response

 

** Changed in: nova
       Status: Triaged => Opinion

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

Title:
  Flavor self link not included in GET server response

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  I noticed that the flavor self link is missing from a server's GET
  response. Since we return the self link for the server's image, it
  seems odd for it to be missing for the flavor.

  Daryls-MacBook-Pro:zodiac dwalleck$ curl -i -H "X-Auth-Token: 9ceb158daab24d5e813bbbcb7c2f503b" http://127.0.0.1:8774/v2/a7d84f9effeb47f59b1838d6ebc3aef7/servers/aef8ac3f-60d2-4e6c-9085-6ab01dd354a2
  HTTP/1.1 200 OK
  X-Compute-Request-Id: req-9554caec-c78e-46f5-a8c4-4dc6adc28789
  Content-Type: application/json
  Content-Length: 1371
  Date: Fri, 06 Apr 2012 14:47:05 GMT

  {"server": {"OS-EXT-STS:task_state": null, "addresses": {"private":
  [{"version": 4, "addr": "10.0.0.2"}]}, "links": [{"href":
  "http://127.0.0.1:8774/v2/a7d84f9effeb47f59b1838d6ebc3aef7/servers
  /aef8ac3f-60d2-4e6c-9085-6ab01dd354a2", "rel": "self"}, {"href":
  "http://127.0.0.1:8774/a7d84f9effeb47f59b1838d6ebc3aef7/servers
  /aef8ac3f-60d2-4e6c-9085-6ab01dd354a2", "rel": "bookmark"}], "image":
  {"id": "f0ab6f51-65c5-4375-8891-41498e5a0f4f", "links": [{"href":
  "http://127.0.0.1:8774/a7d84f9effeb47f59b1838d6ebc3aef7/images/f0ab6f51-65c5-4375-8891-41498e5a0f4f";,
  "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-
  ATTR:instance_name": "instance-00000001", "flavor": {"id": "1",
  "links": [{"href":
  "http://127.0.0.1:8774/a7d84f9effeb47f59b1838d6ebc3aef7/flavors/1";,
  "rel": "bookmark"}]}, "id": "aef8ac3f-60d2-4e6c-9085-6ab01dd354a2",
  "user_id": "18d53cdbbef0443c80c675fa5b77a935", "OS-DCF:diskConfig":
  "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-
  STS:power_state": 1, "config_drive": "", "status": "ACTIVE",
  "updated": "2012-04-06T14:45:53Z", "hostId":
  "70ca6c8a65a0bf557cbf611a2f67d351b20298a6f7985fb0fca5c591", "OS-EXT-
  SRV-ATTR:host": "devstack2", "key_name": "", "OS-EXT-SRV-
  ATTR:hypervisor_hostname": null, "name": "a1", "created":
  "2012-04-06T14:45:40Z", "tenant_id":
  "a7d84f9effeb47f59b1838d6ebc3aef7", "metadata": {}}}

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