0

我正在尝试安装 Openstack Trove guestagent,但是,它无法启动并给我以下错误(如日志所示):

2015-04-17 17:54:45.181 3237 CRITICAL root [-] RuntimeError: Manager class not registered for datastore manager None 
2015-04-17 17:54:45.181 3237 TRACE root Traceback (most recent call last):
2015-04-17 17:54:45.181 3237 TRACE root   File "/usr/bin/trove-guestagent", line 10, in <module>
2015-04-17 17:54:45.181 3237 TRACE root     sys.exit(main())
2015-04-17 17:54:45.181 3237 TRACE root   File "/usr/lib/python2.7/dist-packages/trove/cmd/guest.py", line 58, in main
2015-04-17 17:54:45.181 3237 TRACE root     raise RuntimeError(msg)
2015-04-17 17:54:45.181 3237 TRACE root RuntimeError: Manager class not registered for datastore manager None

我无法理解是什么问题。非常欢迎任何指导。

4

1 回答 1

0

阅读 Trove(测试代码)后,我发现了这一行

MANAGER = CONF.datastore_manager if CONF.datastore_manager else 'mysql'

尝试在 trove-guestagent.conf 中添加以下配置行:

datastore_manager = mysql

并重新启动访客代理服务。

于 2015-07-28T23:37:47.023 回答