Ask Your Question
0

glance-scrubber configuration options location

asked 2013-09-12 10:27:12 -0500

mapleoin gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-09-12 14:35:08 -0500

gtt116 gravatar image

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 question235600@answers.launchpad.net 写道:

New question #235600 on Glance: https://answers.launchpad.net/glance/+question/235600 (https://answers.launchpad.net/glance/...)

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-12 10:27:12 -0500

Seen: 36 times

Last updated: Sep 12 '13