Trove Guest Agent无法启动

时间:2015-04-17 12:37:34

标签: python openstack openstack-juno

我正在尝试安装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

我无法理解问题所在。非常欢迎任何指导。

1 个答案:

答案 0 :(得分:0)

After reading Trove (test code), I've found this line:

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

Try add the following configuration line in your trove-guestagent.conf:

datastore_manager = mysql

and restart guest agent service.