← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1433792] [NEW] Launch Instance Fix] Source Details - Metadata Integration

 

Public bug reported:

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 images.  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 Shutdown behavior and libvirt
driver options.  They generally should not prevent you from launching a
VM.

In addition, the database and runtime environment definitions.  If 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/software-databases.json
https://github.com/openstack/glance/blob/master/etc/metadefs/software-runtimes.json
https://github.com/openstack/glance/blob/master/etc/metadefs/software-webservers.json

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

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

** 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/1433792

Title:
  Launch Instance Fix] Source Details - Metadata Integration

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  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 images.  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 Shutdown behavior and libvirt
  driver options.  They generally should not prevent you from launching
  a VM.

  In addition, the database and runtime environment definitions.  If 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/software-databases.json
  https://github.com/openstack/glance/blob/master/etc/metadefs/software-runtimes.json
  https://github.com/openstack/glance/blob/master/etc/metadefs/software-webservers.json

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

  Once you have metadata added to an image, 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/1433792/+subscriptions


Follow ups

References