yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09018
[Bug 1273012] [NEW] the capital letters of image property will be converted to lowercase letters via v1 api
Public bug reported:
If I use the following command to create a image:
curl -i -H "X-Auth-Token:268c536db05b435bb6e631158744e3f6" -H "x-image-meta-property-IMAGE-TYPE:xxx" -H "x-image-meta-name:test" -X POST http://127.0.0.1:9292/v1/images
I will get the following results:
{"image": {"status": "queued", "deleted": false, "container_format": null, "min_ram": 0, "updated_at": "2014-01-26T08:51:54", "owner": "9a38c1cda5344dd288331b988739c834", "min_disk": 0, "is_public": false, "deleted_at": null, "id": "696ab97d-0e6f-46f1-8570-b6db707a748b", "size": 0, "name": "test", "checksum": null, "created_at": "2014-01-26T08:51:54", "disk_format": null, "properties": {"image_type": "xxx"}, "protected": false}}
The capital letters of the image property will be converted to lowercase
letters and "-" will be converted to "_"("IMAGE-TYPE"=>"iamge_type").
** Affects: glance
Importance: Undecided
Assignee: wanghong (w-wanghong)
Status: New
** Changed in: glance
Assignee: (unassigned) => wanghong (w-wanghong)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1273012
Title:
the capital letters of image property will be converted to lowercase
letters via v1 api
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
If I use the following command to create a image:
curl -i -H "X-Auth-Token:268c536db05b435bb6e631158744e3f6" -H "x-image-meta-property-IMAGE-TYPE:xxx" -H "x-image-meta-name:test" -X POST http://127.0.0.1:9292/v1/images
I will get the following results:
{"image": {"status": "queued", "deleted": false, "container_format": null, "min_ram": 0, "updated_at": "2014-01-26T08:51:54", "owner": "9a38c1cda5344dd288331b988739c834", "min_disk": 0, "is_public": false, "deleted_at": null, "id": "696ab97d-0e6f-46f1-8570-b6db707a748b", "size": 0, "name": "test", "checksum": null, "created_at": "2014-01-26T08:51:54", "disk_format": null, "properties": {"image_type": "xxx"}, "protected": false}}
The capital letters of the image property will be converted to
lowercase letters and "-" will be converted to "_"("IMAGE-
TYPE"=>"iamge_type").
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1273012/+subscriptions
Follow ups
References