Ask Your Question

[Glance] Error in store configuration. Adding images to store is disabled. [closed]

asked 2015-09-10 15:40:02 -0600

ruben gravatar image


When i try to add an image to Glance i constantly get this error:

  <title>410 Gone</title>
  <h1>410 Gone</h1>
  Error in store configuration. Adding images to store is disabled.<br /><br />

</html> (HTTP N/A)

After this error the Glance image list will stay empty and i don't know how to fix this issue. I am running CentOS and running Openstack Juno.

here is the storage part of the Glance_api.conf.

# List of which store classes and store class locations are
# currently known to glance at startup.
# Existing but disabled stores:

# ============ Filesystem Store Options ========================

# Directory that the Filesystem backend store
# writes image data to

# A list of directories where image data can be stored.
# This option may be specified multiple times for specifying multiple store
# directories. Either one of filesystem_store_datadirs or
# filesystem_store_datadir option is required. A priority number may be given
# after each directory entry, separated by a ":".
# When adding an image, the highest priority directory will be selected, unless
# there is not enough space available in cases where the image size is already
# known. If no priority is given, it is assumed to be zero and the directory
# will be considered for selection last. If multiple directories have the same
# priority, then the one with the most free space available is selected.
# If same store is specified multiple times then BadStoreConfiguration
# exception will be raised.

# A path to a JSON file that contains metadata describing the storage
# system.  When show_multiple_locations is True the information in this
# file will be returned with any location that is contained in this
# store.

Here is the log that Glance spews out after the operation fails.

 2015-09-10 21:13:53.115 13776 ERROR glance_store._drivers.filesystem [-] Permission to write in /var/lib/glance/images/ denied
    2015-09-10 21:13:53.115 13776 TRACE glance_store._drivers.filesystem None
    2015-09-10 21:13:53.115 13776 TRACE glance_store._drivers.filesystem

it looks like a permission issue but i gave it all the permissions and even disabled selinux. I hope you guys can help me out.


With kind regards, Ruben

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by ruben
close date 2015-09-10 15:49:32.359395

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-10 15:52:48 -0600

updated 2015-09-10 15:53:02 -0600

Check owner for the directory,

sudo chown glance:glance /var/lib/glance/images/


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-10 15:40:02 -0600

Seen: 7,069 times

Last updated: Sep 10 '15