Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 988928

Summary: [Doc] [RFE] Specify driver specific metadata with a location
Product: Red Hat OpenStack Reporter: Stephen Gordon <sgordon>
Component: doc-Configuration_Reference_GuideAssignee: Summer Long <slong>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.0CC: alyoung, hateya, slong, yeylon
Target Milestone: ---Keywords: Documentation, FutureFeature, Triaged
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/glance/+spec/direct-url-meta-data
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 03:40:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 979138, 1011085    

Description Stephen Gordon 2013-07-26 17:48:32 UTC
Cloned for documentation impact, refer to Bug # 979138 for implementation details.

Comment 2 Summer Long 2013-08-15 05:41:48 UTC
Allow for driver specific metadata to be associated with an image location.  This will allow nova compute to make better decisions when trying to interact with gluster.

https://blueprints.launchpad.net/glance/+spec/direct-url-meta-data
 In order to test please do the following:

1) Install Glance and glance client.
2) create a file with valid JSON data such that it contains only unicode, lists, and dictionaries.
3) In glance-api.conf set:
   show_multiple_locations = True
   filesystem_store_metadata_file = <path to the file created in step #2>
4) Add an image to glance with glance client
5) Show the information about the image with glance client and api version 2:
glance --os-image-api-version 2 image-show <image id>

6) verify that the metadata is under the locations value in the output.

This feature will be off by default.  Creating that file takes coordination with Nova (and further it requires a corresponding patch in nova that has not yet been accepted).  This is something that should be explicitly enabled by operators so by default no file is needed.  Thus this should not be an issue for packaging.
-----------------------------------------
The config reference will have the glance-api.conf info and the file info. The first will be automatic, but assume the second will have to be manually input and explained.

Comment 3 Summer Long 2013-10-08 01:49:29 UTC
Fix is here: https://review.openstack.org/#/c/34492/
Upstream doc bug is here:https://bugs.launchpad.net/openstack-manuals/+bug/1199209

Comment 4 Summer Long 2013-10-08 07:29:37 UTC
Added upstream change: https://review.openstack.org/#/c/50231/
Waiting for review.

Comment 5 Summer Long 2013-10-11 05:54:17 UTC
Review accepted and merged. Ready for QA when branched.