This means that the glance store driver failed to lookup the datacenter configured in the vmware_datastores option of glance-api.conf .
>From the official documentation for that option :- *vmware_datastores allows administrators to* *configure multiple datastores to save glance image in the VMware store backend.* *The required format for the option is:* *<datacenter_path>:<datastore_name>:<optional_weight>.* *where datacenter_path* *is the inventory path to the datacenter where the datastore is located.* One of the common reason for your error is the following misconfiguration:- If you are familiar with vCenter, check if the specified datacenter is under inventory folders and if so, check whether the vmware_datastores option in glance-api.conf references that folder in the inventory path. e.g if your datacenter 'dc1' is under 'folder1' in vCenter, the vmware_datastores option must be something like 'folder1/dc1:<datastore_name>:100' Thanks Sabari On Wed, Oct 5, 2016 at 9:20 AM, lương hữu tuấn <tuantulu...@gmail.com> wrote: > Hi, > > I have a problem related to glance when i try to install Openstack Liberty > using Fuel MOS8.0 on top of Vsphere: > > - It had problem of uploading cirros image and i found out that at that > time, glance-api was not working. The error is "Datacenter reference can > not be None" > > - Then i checked the source code of "glance_store/_drivers/vmware_ > datastore.py" and realized that the "api.VMwareAPISession" has problem. > It returned the value of datacenter_reference is None. > > Does anyone encounter this problem with Vsphere? > > Br, > > Tutj > > __________________________________________________________________________ > 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 > >
__________________________________________________________________________ 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