[Launch Instance Fix] Source Details - Metadata Integration

Bug #1433792 reported by Travis Tripp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Travis Tripp

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/165613

Changed in horizon:
assignee: nobody → Travis Tripp (travis-tripp)
status: New → In Progress
summary: - Launch Instance Fix] Source Details - Metadata Integration
+ [Launch Instance Fix] Source Details - Metadata Integration
Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Szymon Wróblewski (bluex)
Changed in horizon:
assignee: Szymon Wróblewski (bluex) → Travis Tripp (travis-tripp)
Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Szymon Wróblewski (bluex)
tags: added: kilo-rc-potential
Changed in horizon:
assignee: Szymon Wróblewski (bluex) → Travis Tripp (travis-tripp)
Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Brian Tully (brian-tully)
Revision history for this message
Cindy Lu (clu-m) wrote :
Changed in horizon:
assignee: Brian Tully (brian-tully) → Travis Tripp (travis-tripp)
Revision history for this message
Travis Tripp (travis-tripp) wrote :

Thanks to Brian's fix, the alignment is now correct. Here is a screenshot from patchset 13.

Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Szymon Wróblewski (bluex)
Changed in horizon:
assignee: Szymon Wróblewski (bluex) → Travis Tripp (travis-tripp)
Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Szymon Wróblewski (bluex)
Changed in horizon:
assignee: Szymon Wróblewski (bluex) → Travis Tripp (travis-tripp)
Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Szymon Wróblewski (bluex)
Changed in horizon:
assignee: Szymon Wróblewski (bluex) → Travis Tripp (travis-tripp)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/165613
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d353d01b2db3c529db5412da791d8e338aa2411e
Submitter: Jenkins
Branch: master

commit d353d01b2db3c529db5412da791d8e338aa2411e
Author: Travis Tripp <email address hidden>
Date: Sun Mar 8 17:10:21 2015 -0600

    [Launch Instance Fix] Source Details - Metadata

    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.

    It also corrects any additional styling problems in the widget itself.

    The bug report includes detailed information on testing.

    Closes-Bug: 1433792
    Co-Authored-By: Szymon Wroblewski <email address hidden>
    Co-Authored-By: Brian Tully <email address hidden>
    Change-Id: I547ccd6ccd65116fc8ac2e77d438bbf8c37a7afd

Changed in horizon:
status: In Progress → Fix Committed
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Medium
milestone: none → kilo-rc1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.