Bug 1130622
| Summary: | Glance `--store` checks on store name instead of scheme | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jaroslav Henner <jhenner> | |
| Component: | openstack-glance | Assignee: | Flavio Percoco <fpercoco> | |
| Status: | CLOSED ERRATA | QA Contact: | Jaroslav Henner <jhenner> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.0 | CC: | breeler, eglynn, fpercoco, jhenner, mbooth, sgordon, yeylon | |
| Target Milestone: | z1 | Keywords: | ZStream | |
| Target Release: | 5.0 (RHEL 7) | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-glance-2014.1.2-3.el7ost | 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: | ||||
| : | 1134249 (view as bug list) | Environment: | ||
| Last Closed: | 2014-09-30 17:16:19 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: | ||||
| Bug Blocks: | 1055536, 1134249 | |||
|
Description
Jaroslav Henner
2014-08-15 16:59:03 UTC
I believe the scheme should be 'vsphere', not vmware_datastore. Can you please try again? This is actually in the log you attached to the LP: 2014-08-15 12:39:54.119 24764 DEBUG glance.api.v1.images [-] Store for scheme vmware_datastore not found get_store_or_400 /usr/lib/python2.7/site-packages/glance/api/v1/images.py:1057 Although for some reason I can't currently fathom this apparently serious error is explicitly rewrapped as a debug message. Yes I did. Please check the LP, the answer is there. I've updated this in the LP. I think this is a bug in glance core, not in the driver. The workaround is to set driver_store=vsphere, and don't give --store on the command line. 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-1337.html |