The nova API service can't hand image metadata properly when metadata key contains uppercase letter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
In Progress
|
Medium
|
Artur Malinowski | ||
OpenStack Compute (nova) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
OS: centos 6.5 64bit
openstack release: icehouse
Steps to reproduce:
1. Call the image metadata API of nova using the following command:
curl -X 'POST' -v http://
2. Execute the above command again:
curl -X 'POST' -v http://
Expected result:
In step1, the json response should be:
{"metadata"
In setp2, the json response should be:
{"metadata"
Observed result:
In step1, the json response is:
{"metadata"
In setp2, the json response is:
{"metadata"
Besides, we can observer that each image metadata key in table image_properties of glance DB is converted to lowercase even if the key user inputted contains uppercase letter.
Changed in nova: | |
assignee: | nobody → lvdongbing (dbcocle) |
tags: | added: api |
Changed in glance: | |
assignee: | nobody → Artur Malinowski (artur-malinowski) |
status: | Confirmed → In Progress |
summary: |
- The nova API service can’t hand image metadata properly when metadata + The nova API service can't hand image metadata properly when metadata key contains uppercase letter |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | jichenjc (jichenjc) → nobody |
No patch in 30 days