Ask Your Question

Revision history [back]

glance location-add vi://vsphere/dc/vm/folder/template does not working

i am unable to import a vm template from vsphere ( already integrated with openstack ) with glance location-add command.

created an empty image glance image-create --name TestTemplate1 --disk-format vmdk --container-format bare

when i try to add location, it fails. [root@openstackdev glance(keystone_admin)]# glance location-add 8272ed7c-a784-46ce-9e85-c9b9141e773c --url vi://test.com/dc/vm/Templates/centos7-template-jan-2020 HTTP 400 Bad Request: Invalid location [root@openstackdev glance(keystone_admin)]#

This template does exist in the exact path mentioned above..

any ideas where i should start looking ?