OpenStack Ansible Does Not Ship Glance Metadata Definitions

Bug #1469868 reported by Ian Cordasco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Fix Released
Wishlist
Jay_Clark

Bug Description

Glance comes with a set of pre-created set of metadata definitions that Horizon can use to improve the user experience around Nova, Glance, Cinder, and other services.

The definitions are kept in /etc/metadefs/ (https://github.com/openstack/glance/tree/master/etc/metadefs). They don't appear to be shipped with Glance in wheels by default, which is a separate bug.

Further, once these definitions are shipped, they should be loaded after Glance is installed with `glance-manage db_load_metadefs`.

Tags: glance
Revision history for this message
Ian Cordasco (icordasc) wrote :
Changed in openstack-ansible:
status: New → Confirmed
Revision history for this message
Ian Cordasco (icordasc) wrote :

A fix can start to be determined based on https://review.openstack.org/#/c/206790/

Revision history for this message
Ian Cordasco (icordasc) wrote :

For what it's worth we'll want to use

     glance-manage db_load_metadefs /usr/local/etc/metadefs {overwrite,merge,prefer_new,}

The latter, I believe, depends on how you want metadefs to be loaded into the database when existing metadefs exist. If users are adding their own and on upgrade we load the new metadefs from upstream, then we may cause problems for users who've created their own.

Perhaps we should only provide a way to load metadefs, not do it by default?

Changed in openstack-ansible:
milestone: none → liberty-release
Changed in openstack-ansible:
assignee: nobody → Jay_Clark (jay-clark)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/235425
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=37ed05243a415475f0e27cc301ffe93ff405f381
Submitter: Jenkins
Branch: master

commit 37ed05243a415475f0e27cc301ffe93ff405f381
Author: Jay Clark <email address hidden>
Date: Thu Oct 15 11:31:40 2015 -0400

    Load glance metadata definitions

    During the post install of glance, the metadata defs
    are loaded installed.

    Change-Id: I1e27f2e03fb24d85ec175b9ca308f20536350953
    Closes-Bug:1469868
    Signed-off-by: Kevin Carter <email address hidden>

Changed in openstack-ansible:
status: Confirmed → Fix Committed
Changed in openstack-ansible:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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