← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1435469] [NEW] Metadata widget does not handle compute host capabilities correctly

 

Public bug reported:

When adding properties from the compute host capabilities namespace, it
displays them differently than glance seems to process them, making me
unable to delete them and it doesn't resolve them correctly the next
time I open the widget.  Next time I open, it shows them all in a single
property on the right, but on the left they still exist.  If I try to
delete the existing one on the right, it doesn't actually delete.

If I go to update metadata
 -> Compute Host Capabilities
  -> Add something like Architecture and Cores, it shows up as single property on the right and I can keep adding it to it:

wrong: cpu_info topology:cores: 1, topology:cores: 1, arch: x86, arch:
x86, arch: x86

>From the glance CLI, it shows up as different properties, making me
think this is a glance API issues as well that we need to handle.

V1:

| Property 'cpu_info'   | topology:cores: 1, topology:cores: 1, arch:
x86, arch: x86, arch: x86 |


V2:

 glance --os-image-api-version 2 image-show
5c9e7242-af66-4355-93a0-81f3c9403afc

| cpu_info                | topology:cores: 1, arch: x86, arch: x86 |
| cpu_info:arch           | x86                                     |
| cpu_info:topology:cores | 1                                       |

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1435469

Title:
  Metadata widget does not handle compute host capabilities correctly

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When adding properties from the compute host capabilities namespace,
  it displays them differently than glance seems to process them, making
  me unable to delete them and it doesn't resolve them correctly the
  next time I open the widget.  Next time I open, it shows them all in a
  single property on the right, but on the left they still exist.  If I
  try to delete the existing one on the right, it doesn't actually
  delete.

  If I go to update metadata
   -> Compute Host Capabilities
    -> Add something like Architecture and Cores, it shows up as single property on the right and I can keep adding it to it:

  wrong: cpu_info topology:cores: 1, topology:cores: 1, arch: x86, arch:
  x86, arch: x86

  From the glance CLI, it shows up as different properties, making me
  think this is a glance API issues as well that we need to handle.

  V1:

  | Property 'cpu_info'   | topology:cores: 1, topology:cores: 1, arch:
  x86, arch: x86, arch: x86 |

  
  V2:

   glance --os-image-api-version 2 image-show
  5c9e7242-af66-4355-93a0-81f3c9403afc

  | cpu_info                | topology:cores: 1, arch: x86, arch: x86 |
  | cpu_info:arch           | x86                                     |
  | cpu_info:topology:cores | 1                                       |

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


Follow ups

References