Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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

Trove taskmanager 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

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

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 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