yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54554
[Bug 1605743] Re: Create image default is not public
** Changed in: glance
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1605743
Title:
Create image default is not public
Status in Glance:
Invalid
Bug description:
"Image visibility. Valid value is public or private. Default is
public." located at http://developer.openstack.org/api-ref-
image-v2.html#createImage-v2
In practice, this is not accurate.
2016-07-22 15:23:31,499 DEBUG: keystoneauth.session REQ: curl -g -i -X POST http://devstack/v2/images -H "Content-Type: application/json" -H "User-Agent: openstacksdk/0.9.1 keystoneauth1/2.6.1 python-requests/2.9.1 CPython/3.4.1+" -H "X-Auth-Token: blah" -d '{"disk_format": "ami", "name": "lol", "container_format": "ami"}'
2016-07-22 15:23:31,695 DEBUG: keystoneauth.session RESP: [201] X-Openstack-Request-Id: req-7b9b8a11-eb79-418b-9432-a63fdf9f85b2 Content-Type: application/json; charset=UTF-8 Content-Length: 545 Location: http://devstack/v2/images/543e75f4-5578-41c6-904d-135cfeaa3764 Connection: keep-alive Date: Fri, 22 Jul 2016 19:21:47 GMT
RESP BODY: {"status": "queued", "name": "lol", "tags": [], "container_format": "ami", "created_at": "2016-07-22T19:21:47Z", "size": null, "disk_format": "ami", "updated_at": "2016-07-22T19:21:47Z", "visibility": "private", "self": "/v2/images/543e75f4-5578-41c6-904d-135cfeaa3764", "min_disk": 0, "protected": false, "id": "543e75f4-5578-41c6-904d-135cfeaa3764", "file": "/v2/images/543e75f4-5578-41c6-904d-135cfeaa3764/file", "checksum": null, "owner": "cb802e549b374492b884fdee89e8727b", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"}
"visibility": "private" comes back in the response body
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1605743/+subscriptions