Ask Your Question

Revision history [back]

I would bet a considerable sum it's due to this:

Directory to write image files does not exist (/var/lib/glance/images). Creating.
Unable to create datadir: /var/lib/glance/images/

Now you say that the directory exists. Still, Glance seems to think it doesn't, so you need to check there.

I would bet a considerable sum it's due to this:

Directory to write image files does not exist (/var/lib/glance/images). Creating.
Unable to create datadir: /var/lib/glance/images/

Now you say that the directory exists. Still, Glance seems to think it doesn't, so you need to check there.there. Perhaps /var/lib/glance permissions don't allow Glance to check? Perhaps it's due to SELinux?

I would bet a considerable sum it's due to this:

Directory to write image files does not exist (/var/lib/glance/images). Creating.
Unable to create datadir: /var/lib/glance/images/

Now you say that the directory exists. Still, Glance seems to think it doesn't, so you need to check there. Perhaps /var/lib/glance permissions don't allow Glance to check? Perhaps it's due to SELinux?

EDIT: My cloud was created with Packstack and runs on Centos 7. I have:

# ls -Zd /var/lib/glance
drwxr-xr-x. glance nobody system_u:object_r:glance_var_lib_t:s0 /var/lib/glance

I would bet a considerable sum it's due to this:

Directory to write image files does not exist (/var/lib/glance/images). Creating.
Unable to create datadir: /var/lib/glance/images/

Now you say that the directory exists. Still, Glance seems to think it doesn't, so you need to check there. Perhaps /var/lib/glance permissions don't allow Glance to check? Perhaps it's due to SELinux?

EDIT: In case you use RHEL or similar: My cloud was created with Packstack and runs on Centos 7. I have:

# ls -Zd /var/lib/glance
drwxr-xr-x. glance nobody system_u:object_r:glance_var_lib_t:s0 /var/lib/glance

To ensure all is well, SELinux-wise, install openstack-selinux.