Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openstack-cinder-volume fails on startup with error: 'module' object has no attribute 'create_connection'

I a learning to setup Openstack Icehouse using Fedora 20 and I refer to this doc: http://docs.openstack.org/icehouse/install-guide/install/yum/content/cinder-node.html

When starting the service, it fails with these error. Is it a problem with the python version used in Fedora or can it be something missing in my setup?

2015-01-05 09:48:58.510 17344 ERROR cinder.service [req-c5be19bf-300d-490f-96d3-7f2f2ba9f7cc None None] Unhandled exception 2015-01-05 09:48:58.510 17344 TRACE cinder.service Traceback (most recent call last): 2015-01-05 09:48:58.510 17344 TRACE cinder.service File "/usr/lib/python2.7/site-packages/cinder/service.py", line 228, in _start_child 2015-01-05 09:48:58.510 17344 TRACE cinder.service self._child_process(wrap.server) 2015-01-05 09:48:58.510 17344 TRACE cinder.service File "/usr/lib/python2.7/site-packages/cinder/service.py", line 205, in _child_process 2015-01-05 09:48:58.510 17344 TRACE cinder.service launcher.run_server(server) 2015-01-05 09:48:58.510 17344 TRACE cinder.service File "/usr/lib/python2.7/site-packages/cinder/service.py", line 96, in run_server 2015-01-05 09:48:58.510 17344 TRACE cinder.service server.start() 2015-01-05 09:48:58.510 17344 TRACE cinder.service File "/usr/lib/python2.7/site-packages/cinder/service.py", line 369, in start 2015-01-05 09:48:58.510 17344 TRACE cinder.service self.conn = rpc.create_connection(new=True) 2015-01-05 09:48:58.510 17344 TRACE cinder.service File "/usr/lib/python2.7/site-packages/cinder/openstack/common/rpc/__init__.py", line 95, in create_connection 2015-01-05 09:48:58.510 17344 TRACE cinder.service return _get_impl().create_connection(CONF, new=new) 2015-01-05 09:48:58.510 17344 TRACE cinder.service AttributeError: 'module' object has no attribute 'create_connection'

click to hide/show revision 2
No.2 Revision

openstack-cinder-volume fails on startup with error: 'module' object has no attribute 'create_connection'

I a learning to setup Openstack Icehouse using Fedora 20 and I refer to this doc: http://docs.openstack.org/icehouse/install-guide/install/yum/content/cinder-node.html

When starting the service, it fails with these error. Is it a problem with the python version used in Fedora or can it be something missing in my setup?

2015-01-05 09:48:58.510 17344 ERROR cinder.service [req-c5be19bf-300d-490f-96d3-7f2f2ba9f7cc None None] Unhandled exception
2015-01-05 09:48:58.510 17344 TRACE cinder.service Traceback (most recent call last):
2015-01-05 09:48:58.510 17344 TRACE cinder.service   File "/usr/lib/python2.7/site-packages/cinder/service.py", line 228, in _start_child
2015-01-05 09:48:58.510 17344 TRACE cinder.service     self._child_process(wrap.server)
2015-01-05 09:48:58.510 17344 TRACE cinder.service   File "/usr/lib/python2.7/site-packages/cinder/service.py", line 205, in _child_process
2015-01-05 09:48:58.510 17344 TRACE cinder.service     launcher.run_server(server)
2015-01-05 09:48:58.510 17344 TRACE cinder.service   File "/usr/lib/python2.7/site-packages/cinder/service.py", line 96, in run_server
2015-01-05 09:48:58.510 17344 TRACE cinder.service     server.start()
2015-01-05 09:48:58.510 17344 TRACE cinder.service   File "/usr/lib/python2.7/site-packages/cinder/service.py", line 369, in start
2015-01-05 09:48:58.510 17344 TRACE cinder.service     self.conn = rpc.create_connection(new=True)
2015-01-05 09:48:58.510 17344 TRACE cinder.service   File "/usr/lib/python2.7/site-packages/cinder/openstack/common/rpc/__init__.py", line 95, in create_connection
2015-01-05 09:48:58.510 17344 TRACE cinder.service     return _get_impl().create_connection(CONF, new=new)
2015-01-05 09:48:58.510 17344 TRACE cinder.service AttributeError: 'module' object has no attribute 'create_connection'

'create_connection'