Ask Your Question
0

Trove taskmanager: CRITICAL root [-] 'NoneType' object has no attribute 'rpartition'

asked 2014-08-15 09:15:22 -0500

beni gravatar image

updated 2014-08-15 09:19:31 -0500

I installed OpenStack Icehouse on Scientific Linux 6 using Packstack. Then I followed the OpenStack documentation to setup Trove.

When trying to start Trove taskmanager, it crashes with the error message (I have verbose and debug set to True in trove-taskmanager.conf)

CRITICAL root [-] 'NoneType' object has no attribute 'rpartition'
TRACE root Traceback (most recent call last):
TRACE root   File "/usr/bin/trove-taskmanager", line 10, in <module>
TRACE root     sys.exit(main())
TRACE root   File "/usr/lib/python2.6/site-packages/trove/cmd/taskmanager.py", line 58, in main
TRACE root     startup(None)
TRACE root   File "/usr/lib/python2.6/site-packages/trove/cmd/taskmanager.py", line 52, in startup
TRACE root     topic=topic)
TRACE root   File "/usr/lib/python2.6/site-packages/trove/common/rpc/service.py", line 36, in __init__
TRACE root     self.manager_impl = importutils.import_object(manager)
TRACE root   File "/usr/lib/python2.6/site-packages/trove/openstack/common/importutils.py", line 40, in import_object
TRACE root     return import_class(import_str)(*args, **kwargs)
TRACE root   File "/usr/lib/python2.6/site-packages/trove/openstack/common/importutils.py", line 28, in import_class
TRACE root     mod_str, _sep, class_str = import_str.rpartition('.') 
TRACE root AttributeError: 'NoneType' object has no attribute 'rpartition'
TRACE root
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-15 09:20:39 -0500

beni gravatar image

When I added taskmanager_manager = trove.taskmanager.manager.Manager to trove-taskmanager.conf, Trove taskmanager starts without failing. I found this in Devstack's code for the setup of Trove.

edit flag offensive delete link more

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-15 09:15:22 -0500

Seen: 695 times

Last updated: Aug 15 '14