发起问题
0

service openstack-glance-api start failed

提问于 2015-03-11 21:58:48 -0500

散手小子 图像

openstack-glance-api启动失败: [root@controller ~]# service openstack-glance-api start Starting openstack-glance-api: [FAILED] 日志报错: [root@controller glance]# more openstack-glance-api-startup.log 2015-03-12 10:35:14.557 14359 WARNING glance.store [-] Deprecated: glance.store.rbd.Store not found in known_store. Stores need to be explicitly enabled in the configuration file. 2015-03-12 10:35:14.560 14359 WARNING glance.store.base [-] Failed to configure store correctly: Store gridfs could not be configure d correctly. Reason: Missing dependencies: pymongo Disabling add method. 2015-03-12 10:35:14.561 14359 WARNING glance.store [-] Deprecated: glance.store.gridfs.Store not found in known_store. Stores need to be explicitly enabled in the configuration file. 2015-03-12 10:35:14.673 14359 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configure d correctly. Reason: Cinder storage requires a context. Disabling add method. 2015-03-12 10:35:14.674 14359 WARNING glance.store [-] Deprecated: glance.store.cinder.Store not found in known_store. Stores need to be explicitly enabled in the configuration file. 2015-03-12 10:35:14.680 14359 ERROR glance.store.filesystem [-] Specify at least 'filesystem_store_datadir' or 'filesystem_store_dat adirs' option 2015-03-12 10:35:14.681 14359 WARNING glance.store.base [-] Failed to configure store correctly: Store filesystem could not be confi gured correctly. Reason: Specify at least 'filesystem_store_datadir' or 'filesystem_store_datadirs' option Disabling add method. 2015-03-12 10:35:14.694 14359 ERROR glance.store.swift [-] Could not find swift_store_auth_address in configuration options. 2015-03-12 10:35:14.695 14359 WARNING glance.store.base [-] Failed to configure store correctly: Store swift could not be configured correctly. Reason: Could not find swift_store_auth_address in configuration options. Disabling add method. 2015-03-12 10:35:14.695 14359 WARNING glance.store [-] Deprecated: glance.store.swift.Store not found in known_store. Stores need to be explicitly enabled in the configuration file. 2015-03-12 10:35:14.702 14359 WARNING glance.store.base [-] Failed to configure store correctly: Store s3 could not be configured co rrectly. Reason: Could not find s3_store_host in configuration options. Disabling add method. 2015-03-12 10:35:14.703 14359 WARNING glance.store [-] Deprecated: glance.store.s3.Store not found in known_store. Stores need to be explicitly enabled in the configuration file. 2015-03-12 10:35:14.707 14359 ERROR glance.store.filesystem [f9a89008-9024-48cd-ab65-90f97b345f29 - - - - -] Specify at least 'files ystem_store_datadir' or 'filesystem_store_datadirs' option 2015-03-12 10:35:14.707 14359 WARNING glance.store.base [f9a89008-9024-48cd-ab65-90f97b345f29 - - - - -] Failed to configure store c orrectly: Store filesystem could not be configured correctly. Reason: Specify at least 'filesystem_store_datadir' or 'filesystem_sto re_datadirs' option Disabling add method. ERROR: Unable to locate paste config file for glance-api. 哪位碰到同样的错误?或者知道如何解决? 谢谢!

edit retag flag offensive close merge delete
0

回答 2015-03-25 22:23:13 -0500

Henry Lv 图像

What' your glance storage strategy? If you use file system, you need set [glance_store] default_store = file

filesystem_store_datadir = /var/lib/glance (set the directory to what you want)

Or it doesn't work please paste your glance-api configruation file.

edit flag offensive delete link 更多

你的回答

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

开始回答

提问工具

1 follower

统计

已提问: 2015-03-11 21:58:48 -0500

已查看: 1,335 次

最后更新: Mar 11 '15