Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Finally I solved it.

  1. ensure the image file permission to be glance:glance:

    chown glance:glance cirros-0.3.4-x86_64-disk.img

  2. ensure the image store directory permission to glance:glance:

    chown -R glance:glance /var/lib/glance/images

  3. In the /etc/glance/glance-api.conf:

    under the [glance_store], the stores I changed to this:

    stores = file,http,glance.store.filesystem.Store,glance.store.http.Store