My image status in the Dashbord always is already line up.
In the VM I use command to list it, it is exists:
[root@ha-node1 neutron]# glance image-list
+--------------------------------------+---------------------+
| ID | Name |
+--------------------------------------+---------------------+
| 303f912b-a7e6-45f8-8219-7dc406d8e111 | cirros-0.3.4-x86_64 |
+--------------------------------------+---------------------+
And if I create instance form the dashboard, there is not image.
Finally I solved it.
ensure the image file permission to be glance:glance
:
chown glance:glance cirros-0.3.4-x86_64-disk.img
ensure the image store directory permission to glance:glance
:
chown -R glance:glance /var/lib/glance/images
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
Then re-upload the image it should work.