glance-cache-prefetcher displays errors related to storage backends not configured

asked 2014-05-12 22:07:30 -0500

nhomma gravatar image

updated 2014-05-13 05:08:49 -0500

Hi, I am seeing unwanted errors/warnings displayed when I am using glance cache management and executing glance-cache-prefetcher command. Here I have only local disk (file) as my datastore, but it gives me warnings about setting other backends and errors about sheepdog setups. The command eventually work though, I just don't want unwanted errors and warnings when I have configured everything right.

My setup is in Icehouse in Ubuntu 14.04. When I configured it in Havana no error/warnings appeared.

Can anyone advise me what I can do to make these messages disappear?


sudo glance-cache-prefetcher
2014-05-13 11:59:41.815 4965 ERROR glance.store.sheepdog [-] Error in store configuration: [Errno 2] No such file or directory
2014-05-13 11:59:41.818 4965 WARNING glance.store.base [-] Failed to configure store correctly: Store sheepdog could not be configured correctly. Reason: Error in store configuration: [Errno 2] No such file or directory Disabling add method.
2014-05-13 11:59:41.819 4965 WARNING glance.store [-] Deprecated: glance.store.sheepdog.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:41.821 4965 WARNING glance.store [-] Deprecated: glance.store.http.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:41.849 4965 WARNING glance.store [-] Deprecated: glance.store.rbd.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:41.852 4965 WARNING glance.store.base [-] Failed to configure store correctly: Store gridfs could not be configured correctly. Reason: Missing dependencies: pymongo Disabling add method.
2014-05-13 11:59:41.853 4965 WARNING glance.store [-] Deprecated: glance.store.gridfs.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:41.976 4965 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method.
2014-05-13 11:59:41.977 4965 WARNING glance.store [-] Deprecated: glance.store.cinder.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:41.989 4965 WARNING glance.store [-] Deprecated: glance.store.swift.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:42.089 4965 WARNING glance.store [-] Deprecated: glance.store.vmware_datastore.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-05-13 11:59:42.092 4965 WARNING glance.store [-] Deprecated: glance.store.s3.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
edit retag flag offensive close merge delete

Comments

I have the same errors and warnings with you. Have you already solved it?

dwyaneini gravatar imagedwyaneini ( 2014-07-16 01:14:33 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-07-16 02:17:19 -0500

Hi,

Let me start by saying these are harmless warnings. The reason you're seeing these warnings is because those stores are not in the list of known_stores in your config file. Glance used to enable all stores by default but since Icehouse, it started requiring stores to be explicitly enabled and in Juno what you see as a warning now will be turned into an error.

By looking at your code, I'd assume you have the known_stores configuration options commented out. To silence these warnings you need to uncomment known_stores in your config file and add there the stores you want to use, leaving the unwanted stores out of the list.

edit flag offensive delete link more

Comments

Actually I uncomment some stores, the other unnecessary commented stores still produce warning in log. Since they are harmless warnings, I can ignore them.

dwyaneini gravatar imagedwyaneini ( 2014-07-17 02:43:29 -0500 )edit

Seeing the same error/warnings. Adding known_stores entry doesn't help.

tkay gravatar imagetkay ( 2014-08-19 17:50:45 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

4 followers

Stats

Asked: 2014-05-12 22:07:30 -0500

Seen: 1,355 times

Last updated: Jul 16 '14