Bug 1041825
| Summary: | [RFE][glance]: VMware Datastore Storage Backend | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | RHOS Integration <rhos-integ> | |
| Component: | openstack-glance | Assignee: | Flavio Percoco <fpercoco> | |
| Status: | CLOSED ERRATA | QA Contact: | Jaroslav Henner <jhenner> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | unspecified | CC: | adahms, ddomingo, eglynn, fpercoco, lhh, markmc, mlopes, nlevinki, sclewis, scohen, sgordon, sgotliv, yeylon | |
| Target Milestone: | Upstream M3 | Keywords: | CodeChange, FutureFeature, Triaged | |
| Target Release: | 5.0 (RHEL 7) | Flags: | scohen:
needinfo+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| URL: | https://blueprints.launchpad.net/glance/+spec/vmware-datastore-storage-backend | |||
| Whiteboard: | upstream_milestone_icehouse-3 upstream_status_implemented upstream_definition_approved | |||
| Fixed In Version: | openstack-glance-2014.1-2.el7ost | Doc Type: | Enhancement | |
| Doc Text: |
This update adds support for VMware's datastore and allows Glance to store images in such datastores. The update adds a dependency on 'oslo.vmware' and a set of configuration parameters specific to VMware datastores.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1082600 1083794 1110336 1114623 (view as bug list) | Environment: | ||
| Last Closed: | 2014-07-08 15:32:01 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: | 1099499 | |||
| Bug Blocks: | 1082600, 1083794, 1110336, 1114623 | |||
|
Description
RHOS Integration
2013-12-12 19:30:45 UTC
It seems it is not there: # List of which store classes and store class locations are # currently known to glance at startup. # Existing but disabled stores: # glance.store.rbd.Store, # glance.store.s3.Store, # glance.store.swift.Store, # glance.store.cinder.Store, # glance.store.gridfs.Store, #known_stores=glance.store.filesystem.Store, # glance.store.http.Store I cannot see the "vsphere", though I have read that it should be available. Here: http://docs.openstack.org/developer/glance/configuring.html On the other hand, nova should be able to have multiple location support: https://review.openstack.org/#/c/33409/ So I am confused about this. The store is there, it's just disabled by default. In order to use it, you need to add `glance.store.vmware_datastore.Store` to the `known_stores` option and uncomment that option in the `glance-api.conf` file. We are lacking deps on RHEL 6.5 as well as on RHEL 7.0 so I am cloning the bug to to RHEL 6.5. pssh -l root -H 10.34.68.237 -H 10.34.68.219 -i "hostname; cat /etc/redhat-release; openstack-config --set /etc/glance/glance-api.conf DEFAULT known_stores glance.store.vmware_datastore.Store; openstack-service restart glance; sleep 3; openstack-service status glance; grep 'ImportError: No module named vmware' /var/log/glance/*.log | tail -n 3" [1] 15:54:54 [SUCCESS] 10.34.68.237 jhenner-node-permanent-6v5.novalocal Red Hat Enterprise Linux Server release 6.5 (Santiago) Stopping openstack-glance-api: [FAILED] Starting openstack-glance-api: [ OK ] Stopping openstack-glance-registry: [ OK ] Starting openstack-glance-registry: [ OK ] openstack-glance-api dead but pid file exists openstack-glance-registry (pid 8092) is running... /var/log/glance/api.log:2014-06-30 09:51:14.122 7959 TRACE glance ImportError: No module named vmware /var/log/glance/api.log:2014-06-30 09:51:24.987 8070 CRITICAL glance [-] ImportError: No module named vmware /var/log/glance/api.log:2014-06-30 09:51:24.987 8070 TRACE glance ImportError: No module named vmware Stderr: Warning: Permanently added '10.34.68.237' (RSA) to the list of known hosts. [2] 15:54:54 [SUCCESS] 10.34.68.219 jhenner-node-permanent-7v0.novalocal Red Hat Enterprise Linux Server release 7.0 (Maipo) openstack-glance-api (pid 0) is failed openstack-glance-registry (pid 28301) is active /var/log/glance/api.log:2014-06-30 09:50:37.446 28214 TRACE glance ImportError: No module named vmware /var/log/glance/api.log:2014-06-30 09:50:48.183 28297 CRITICAL glance [-] ImportError: No module named vmware /var/log/glance/api.log:2014-06-30 09:50:48.183 28297 TRACE glance ImportError: No module named vmware Stderr: Warning: Permanently added '10.34.68.219' (RSA) to the list of known hosts 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/RHEA-2014-0851.html |