Comment 5 for bug 1917643

Revision history for this message
Hemant Sonawane (hemson95) wrote :

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!