<div dir="ltr"><div>This means that the glance store driver failed to lookup the datacenter</div><div>configured in the vmware_datastores option of glance-api.conf .</div><div><br></div><div>From the official documentation for that option :-</div><div><br></div><div><i>vmware_datastores allows administrators to</i></div><div><i>configure multiple datastores to save glance image in the VMware store backend.</i></div><div><i>The required format for the option is:</i></div><div><i><datacenter_path>:<datastore_name>:<optional_weight>.</i></div><div><i><br></i></div><div><i>where datacenter_path</i></div><div><i>is the inventory path to the datacenter where the datastore is located.</i></div><div><br></div><div>One of the common reason for your error is the following misconfiguration:-</div><div><br></div><div>If you are familiar with vCenter, check if the specified datacenter is under</div><div>inventory folders and if so, check whether the vmware_datastores option in</div><div>glance-api.conf references that folder in the inventory path. </div><div><br></div><div>e.g if your datacenter 'dc1' is under 'folder1' in vCenter, the </div><div>vmware_datastores option must be something like 'folder1/dc1:<datastore_name>:100'</div><div><br></div><div><br></div><div>Thanks</div><div>Sabari</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 9:20 AM, lương hữu tuấn <span dir="ltr"><<a href="mailto:tuantuluong@gmail.com" target="_blank">tuantuluong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><br>I have a problem related to glance when i try to install Openstack Liberty using Fuel MOS8.0 on top of Vsphere:<br><br>- It had problem of uploading cirros image and i found out that at that time, glance-api was not working. The error is <font color="#ff0000">"Datacenter reference can not be None"</font><br><br>- Then i checked the source code of <font color="#ff0000">"glance_store/_drivers/vmware_<wbr>datastore.py"</font> and realized that the <font color="#ff0000">"api.VMwareAPISession"</font> has problem. It returned the value of datacenter_reference is None.<br><br>Does anyone encounter this problem with Vsphere?<br><br>Br,<br><br>Tutj<br></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>