How do I specify multiple filesystem back ends for glance image store?

Solution Unverified - Updated -

Issue

  • When we use the option "filesystem_store_datadir=/var/lib/glance/images301/" in the glance-api.conf file, glance starts without any problems.
  • But when we try to setup multiple datadirs with multiple lines of the option "filesystem_store_datadirs=" we get the following error:
Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option Disabling add method.
  • We made sure the first option was commented, as specified in the error message. How can we correctly configure multiple filesystem backends for glance?

Environment

  • Red Hat Enterprise Linux Openstack Platform v5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content