Change Metadata Display widget to case insensitive
The metadata-display should match properties using case insensitive.
I've found that if you pass in extra metadata properties to
Glance v1 at create time, it takes all the properties and stores
them as lower case. So when you create an image with metadata of
FOO=BAR, it will store as foo=bar.
There are some properties "CIM_PASD_InstructionSet" that when
create at the same time as creating the image get changed to
cim_pasd_instructionset". When this gets subsequently retrieved
from Glance and displayed in the metadata-display widget,
it doesn't recognize them and won't show them.
Reviewed: https:/ /review. openstack. org/318357 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=cdde60c3153 35c74eda9e0d7eb 809da10a73855c
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit cdde60c315335c7 4eda9e0d7eb809d a10a73855c
Author: Travis Tripp <email address hidden>
Date: Wed May 11 18:06:27 2016 -0600
Change Metadata Display widget to case insensitive
The metadata-display should match properties using case insensitive.
I've found that if you pass in extra metadata properties to
Glance v1 at create time, it takes all the properties and stores
them as lower case. So when you create an image with metadata of
FOO=BAR, it will store as foo=bar.
There are some properties "CIM_PASD_ InstructionSet" that when pasd_instructio nset". When this gets subsequently retrieved
create at the same time as creating the image get changed to
cim_
from Glance and displayed in the metadata-display widget,
it doesn't recognize them and won't show them.
To test, you need: https:/ /review. openstack. org/#/c/ 236042/
Create an Image using the CIM Instruction Set metadata.
Go to image row and expand. You won't see the metadata.
Apply this patch git review -x 315295
Then do the same steps. You'll see the metadata displayed:
http:// imgur.com/ eMfLd9H
Change-Id: I5127283e90505f 3580af6afea3eb9 92a91b8dfc8 40804d2f1e46cdc 28a757f6d6)
Closes-Bug: 1580790
(cherry picked from commit 802ec1f77a2c4aa