Jump to: navigation, search

Difference between revisions of "GlanceMetadefinitionService"

(Initial)
(No difference)

Revision as of 23:39, 8 August 2014

In Juno, Glance will provide a metadata definitions catalog[1][2] where users can register the available metadata definitions that can be used on different types of resources (images, artifacts, volumes, flavors, aggregates, etc). This include both simple tags and key / value pairs (properties, specs, etc).

[1] Approved Glance Juno Spec: [1]

[2] Glance PTL Juno Feature Overview: [2]

Work is currently in progress. Seeː https://etherpad.openstack.org/p/glance-metadata-catalog-tasks

For testing the Horizon widget patches without the latest Glance code, do the following to apply a simple mock API.

Assumptions: Running devstack Horizon in /opt/stack/horizon If not, update script locations accordingly

Instructions:

  • Copy: Attached files to a directory on your system *NOT* in /opt/stack/horizon
    • fetch-horizon-base-metadefs-widget.sh
    • mock-horizon-glance-api.sh
    • temp ̠mock ̠metadefs.tar.gz
  • Modifyː The files to be executable
  • Run: fetch-horizon-base-metadefs-widget.sh
  • Run: mock-horizon-glance-api.sh

Restart horizon (pycharms config or sudo service apache2 restart)

Go to widget (e.g. Admin --> Images --> Actions --> Edit Metadata)