← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1748117] Re: Incorrect version information if enable_image_import is false

 

It turns out that the release note describing this behavior was
incorrect, so the release note was changed.

** Changed in: glance
       Status: New => Invalid

** Changed in: glance
     Assignee: Abhishek Kekane (abhishek-kekane) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1748117

Title:
  Incorrect version information if enable_image_import is false

Status in Glance:
  Invalid

Bug description:
  If enable_image_import is false then 2.6 API should not be listed in
  the response.

  curl -g -i -X GET http://192.168.0.9/image/versions/ -H "Content-Type:
  application/octet-stream" -H "X-Auth-Token:
  6f54401ade9a44c7ab8e91e5587c9e8f"

  Actual response:
  {"versions": [{"status": "CURRENT", "id": "v2.6", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.5", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.4", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.3", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.2", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.1", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.0", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}]}

  
  Expected response:
  {"versions": [{"status": "SUPPORTED", "id": "v2.5", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.4", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.3", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.2", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.1", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.0", "links": [{"href": "http://192.168.0.9/image/v2/";, "rel": "self"}]}]}

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


References