glance-scrubber configuration options location

Asked by Ionuț Arțăriși

I get the following errors when trying to start glance-scrubber:

013-09-12 10:22:38 INFO [glance.store.scrubber] Initializing scrubber with
conf: {'registry_port': 9191, 'datadir': '/var/lib/glance/scrubber', 'cleanup':
False, 'cleanup_time': 86400, 'registry_host': '127.0.0.1'}
2013-09-12 10:22:38 DEBUG [glance.store] Attempting to import store glance.st
ore.filesystem.Store
2013-09-12 10:22:38 ERROR [glance.store.filesystem] Could not find filesystem
_store_datadir in configuration options.
2013-09-12 10:22:38 ERROR [glance.store.base] Failed to configure store corre
ctly. Disabling add method.

I can see filesystem_store_datadir set in /etc/glance/glance-api.conf, but I think glance-scrubber does not read that file by default (it only reads /etc/glance/glance-scrubber.conf). Is that configuration options supposed to be specified in glance-scrubber.conf as well? Or is glance-scrubber supposed to read config values from both files? How?

Question information

Language:
English Edit question
Status:
Answered
For:
Glance Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tiantian Gao (gtt116) said :
#1

Hi Ionuț,

You are right, glance-scrubber just read /etc/glance/glance-scrubber.conf.
Since you are using filesystem store, you should set filesystem_store_datadir
config item in glance-scrubber.conf, too.
在 2013-9-12,下午6:31,Ionuț Arțăriși <email address hidden> 写道:

> New question #235600 on Glance:
> https://answers.launchpad.net/glance/+question/235600
>
> I get the following errors when trying to start glance-scrubber:
>
> 013-09-12 10:22:38 INFO [glance.store.scrubber] Initializing scrubber with
> conf: {'registry_port': 9191, 'datadir': '/var/lib/glance/scrubber', 'cleanup':
> False, 'cleanup_time': 86400, 'registry_host': '127.0.0.1'}
> 2013-09-12 10:22:38 DEBUG [glance.store] Attempting to import store glance.st
> ore.filesystem.Store
> 2013-09-12 10:22:38 ERROR [glance.store.filesystem] Could not find filesystem
> _store_datadir in configuration options.
> 2013-09-12 10:22:38 ERROR [glance.store.base] Failed to configure store corre
> ctly. Disabling add method.
>
>
> I can see filesystem_store_datadir set in /etc/glance/glance-api.conf, but I think glance-scrubber does not read that file by default (it only reads /etc/glance/glance-scrubber.conf). Is that configuration options supposed to be specified in glance-scrubber.conf as well? Or is glance-scrubber supposed to read config values from both files? How?
>
> --
> You received this question notification because you are an answer
> contact for Glance.

Can you help with this problem?

Provide an answer of your own, or ask Ionuț Arțăriși for more information if necessary.

To post a message you must log in.