← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1438505] [NEW] [Launch Instance Fix] Flavor Metadata Details

 

Public bug reported:

This is a follow on to: https://bugs.launchpad.net/horizon/+bug/1433792

The mocks for launch instance include showing metadata definitions for
flavor metadata.  This bug adds it.
https://openstack.invisionapp.com/d/main#/console/2472307/66353154/preview

The metadata display widget was developed as a common way to display
additional metadata about images, volumes, and flavors in the launch
instance workflow. This fix integrates the metadata widget into the
source step for displaying the extra metadata.

To test, this requires some one time setup steps:

Ensure that you have metadata definitions loaded into your environment.

Go to Admin --> Metadata Definitions

If you have metadata definitions, ensure that at least some of them are
public and associated with flavors. If they are not, edit the visibility
inline and change them from protected to not protected. Protected
definitions can not be edited. So change the protection first. This
table requires a page refresh after changing the value of a row (angular
anybody?).

Some good definitions to test with are Virtual CPU Topology and Watchdog
behavior driver options. They generally should not prevent you from
launching a VM.  Just set high max values.

f you don't have them, you can get them from the below locations and use
the Admin --> Metadata Definitions --> Import button to add them.

https://github.com/openstack/glance/blob/master/etc/metadefs/

Once you have verified that you have some sample definitions loaded, you
will need to add them to an flavor. Go to Admin --> Flavors. Choose a
flavor and click the in-row action to Update Metadata. Select some
properties from the above suggested list and add them to your flavor.

Once you have metadata added to a flavor, you may then go into launch
instance and collapse / expand the details drawer to see the metadata
definitions rendered correctly.

** Affects: horizon
     Importance: Undecided
     Assignee: Travis Tripp (travis-tripp)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Travis Tripp (travis-tripp)

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

Title:
  [Launch Instance Fix] Flavor Metadata Details

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  This is a follow on to:
  https://bugs.launchpad.net/horizon/+bug/1433792

  The mocks for launch instance include showing metadata definitions for
  flavor metadata.  This bug adds it.
  https://openstack.invisionapp.com/d/main#/console/2472307/66353154/preview

  The metadata display widget was developed as a common way to display
  additional metadata about images, volumes, and flavors in the launch
  instance workflow. This fix integrates the metadata widget into the
  source step for displaying the extra metadata.

  To test, this requires some one time setup steps:

  Ensure that you have metadata definitions loaded into your
  environment.

  Go to Admin --> Metadata Definitions

  If you have metadata definitions, ensure that at least some of them
  are public and associated with flavors. If they are not, edit the
  visibility inline and change them from protected to not protected.
  Protected definitions can not be edited. So change the protection
  first. This table requires a page refresh after changing the value of
  a row (angular anybody?).

  Some good definitions to test with are Virtual CPU Topology and
  Watchdog behavior driver options. They generally should not prevent
  you from launching a VM.  Just set high max values.

  f you don't have them, you can get them from the below locations and
  use the Admin --> Metadata Definitions --> Import button to add them.

  https://github.com/openstack/glance/blob/master/etc/metadefs/

  Once you have verified that you have some sample definitions loaded,
  you will need to add them to an flavor. Go to Admin --> Flavors.
  Choose a flavor and click the in-row action to Update Metadata. Select
  some properties from the above suggested list and add them to your
  flavor.

  Once you have metadata added to a flavor, you may then go into launch
  instance and collapse / expand the details drawer to see the metadata
  definitions rendered correctly.

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


Follow ups

References