<div dir="ltr">Hi all,<div><br></div><div>In our production environment, we enables glance_store for VMware datastore.</div><div>Configuration in glance-api.conf:</div><div><br></div><div><div>[DEFAULT]</div><div>show_image_direct_url = True</div><div>[glance_store]</div><div>stores= glance.store.vmware_datastore.Store</div><div>default_store = vsphere</div><div>vmware_server_host= 172.18.6.22</div><div>vmware_server_username = administrator@vsphere.local</div><div>vmware_server_password = 1qaz!QAZ</div><div>vmware_datastores = ICT Test:F7-HPP9500-SAS-ICTHPCLUSTER03-LUN06</div></div><div><br></div><div><br></div><div>Firstly we boot an instance, make online snapshot for the VM, we see the image stores on local file system:</div><div>direct_url file:///var/lib/glance/images/8cf7ba51-31d8-4282-89db-06957d609691<br></div><div><br>Then we poweroff the VM, make offline snapshot, the image stores on VMware datastore:</div><div>direct_url    vsphere://<a href="http://172.20.2.38/folder/openstack_glance/52825a70-f645-46b5-80ec-7a430dcd13cf?dcPath=IDC_Test&dsName=LUN03-00">172.20.2.38/folder/openstack_glance/52825a70-f645-46b5-80ec-7a430dcd13cf?dcPath=IDC_Test&dsName=LUN03-00</a><br></div><div><br></div><div>In Nova VCDriver, make snapshot will upload VM disk file to Glance image server. But why different behaviour for the VM poweron and poweroff?</div><div><br></div><div>Hopes for your reply.</div></div>