[Launch Instance Fix] Flavor Metadata Details

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

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.

Changed in horizon:
assignee: nobody → Travis Tripp (travis-tripp)
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/169170

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: Travis Tripp (travis-tripp) → Szymon Wróblewski (bluex)
Changed in horizon:
assignee: Szymon Wróblewski (bluex) → Cindy Lu (clu-m)
Changed in horizon:
assignee: Cindy Lu (clu-m) → 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/169170
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=15757175bcb2a1894d46de07edcfc2d68f57c740
Submitter: Jenkins
Branch: master

commit 15757175bcb2a1894d46de07edcfc2d68f57c740
Author: Travis Tripp <email address hidden>
Date: Mon Mar 30 23:31:21 2015 -0600

    [Launch Instance Fix] Flavor Metadata Details

    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: #1438505
    Co-Authored-By: Szymon Wroblewski <email address hidden>
    Change-Id: Id84548cfaaa50a3d1e299b34b3a2591ec02ed25b

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-rc1
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.