Bug 1134249

Summary: Glance `--store` checks on store name instead of scheme
Product: Red Hat OpenStack Reporter: Flavio Percoco <fpercoco>
Component: openstack-glanceAssignee: Flavio Percoco <fpercoco>
Status: CLOSED ERRATA QA Contact: Jaroslav Henner <jhenner>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: breeler, eglynn, fpercoco, jhenner, mbooth, scohen, sgordon, yeylon
Target Milestone: z1Keywords: ZStream
Target Release: 5.0 (RHEL 6)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-glance-2014.1.2-4.el6ost Doc Type: Bug Fix
Doc Text:
Previously, whenever the 'x-image-meta-store' header was passed to glance-api, the service would check whether the value was a valid store, instead of a valid scheme. However, the rest of the store library uses the scheme to identify the store that should be used. This prevented the use of this feature. This has been fixed so now Glance verifies that the value of 'x-image-meta-store' is a valid scheme instead of a valid store name.
Story Points: ---
Clone Of: 1130622 Environment:
Last Closed: 2014-09-30 17:15:36 UTC Type: Bug
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: 1130622    
Bug Blocks: 1055536    

Comment 2 Jaroslav Henner 2014-09-17 21:22:38 UTC
default_store is file, when creating the image 

 * with --store vsphere, it is put to vsphere.
 * without --store, it is put to file.

I am happy.

Comment 4 errata-xmlrpc 2014-09-30 17:15:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-1338.html