Hello Vishal Manchanda
Basically you need have below config in glance-api.conf
glance: DEFAULT: enable_v1_api: true show_multiple_locations: True glance_store: stores: "file,http,swift,cinder"
Then in cinder.conf have this option
allowed_direct_url_schemes = true
after that in backend section in cinder.conf add
image_upload_use_cinder_backend: true image_upload_use_internal_tenant: true
once you have this config setup try to create image
"openstack image create --disk-format raw --container-format bare IMAGE_NAME"
and then update the location of image with volume
"glance location-add <image-uuid> --url cinder://<volume-uuid>"
Once it works then try to update the image in horizon.
Thanks!
Hello Vishal Manchanda
Basically you need have below config in glance-api.conf
glance:
enable_ v1_api: true
show_ multiple_ locations: True
glance_ store: swift,cinder"
DEFAULT:
stores: "file,http,
Then in cinder.conf have this option
allowed_ direct_ url_schemes = true
after that in backend section in cinder.conf add
image_upload_ use_cinder_ backend: true use_internal_ tenant: true
image_upload_
once you have this config setup try to create image
"openstack image create --disk-format raw --container-format bare IMAGE_NAME"
and then update the location of image with volume
"glance location-add <image-uuid> --url cinder: //<volume- uuid>"
Once it works then try to update the image in horizon.
Thanks!