Hi all,

In our production environment, we enables glance_store for VMware datastore.
Configuration in glance-api.conf:

[DEFAULT]
show_image_direct_url = True
[glance_store]
stores= glance.store.vmware_datastore.Store
default_store = vsphere
vmware_server_host= 172.18.6.22
vmware_server_username = administrator@vsphere.local
vmware_server_password = 1qaz!QAZ
vmware_datastores = ICT Test:F7-HPP9500-SAS-ICTHPCLUSTER03-LUN06


Firstly we boot an instance, make online snapshot for the VM, we see the
image stores on local file system:
direct_url
file:///var/lib/glance/images/8cf7ba51-31d8-4282-89db-06957d609691

Then we poweroff the VM, make offline snapshot, the image stores on VMware
datastore:
direct_url    vsphere://
172.20.2.38/folder/openstack_glance/52825a70-f645-46b5-80ec-7a430dcd13cf?dcPath=IDC_Test&dsName=LUN03-00

In Nova VCDriver, make snapshot will upload VM disk file to Glance image
server. But why different behaviour for the VM poweron and poweroff?

Hopes for your reply.
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to