2015-04-17 43 views
0

我試圖安裝的OpenStack特羅韋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 

我無法理解什麼是問題。任何指導將非常受歡迎。

回答

0

閱讀特羅韋(測試代碼)後,我發現this line

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

嘗試添加以下配置線在你的寶庫,guestagent.conf:

datastore_manager = mysql 

並重新啓動來賓代理服務。