← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1580790] [NEW] Metadata display widget should use case insensitive matching

 

Public bug reported:

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.

Maybe when we move off to v2 Glance that won't be a problem?

There are some properties "CIM_PASD_InstructionSet" that when created 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.

See:

https://review.openstack.org/#/c/236042/

https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/rest/glance.py#L189-L190

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: angularjs

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1580790

Title:
  Metadata display widget should use case insensitive matching

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  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.

  Maybe when we move off to v2 Glance that won't be a problem?

  There are some properties "CIM_PASD_InstructionSet" that when created
  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.

  See:

  https://review.openstack.org/#/c/236042/

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/rest/glance.py#L189-L190

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


Follow ups