Comment 0 for bug 1479402

Revision history for this message
Kevin Tibi (ktibi) wrote : Can't re-attach volume : 'NoneType' object has no attribute 'service_content'

After upgrade juno to kilo, I have issue with cinder.

I use Vmware Backend. I can create volume, attach it then detachment it.

But I can Re-Attach this volume :

2015-07-29 16:42:16.323 9003 ERROR cinder.volume.manager [req-0a416b16-437e-43d7-a11b-f3abac8b4045 2d3e8f76f3f9429c869e5a085837d2f1 000411016ad847fa870e2c2246a24664 - - -] Unable to fetch connection information from backend: 'NoneType' object has no attribute 'service_content'
2015-07-29 16:42:16.325 9003 ERROR oslo_messaging.rpc.dispatcher [req-0a416b16-437e-43d7-a11b-f3abac8b4045 2d3e8f76f3f9429c869e5a085837d2f1 000411016ad847fa870e2c2246a24664 - - -] Exception during message handling: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'NoneType' object has no attribute 'service_content'
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher executor_callback))
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher executor_callback)
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher return f(*args, **kwargs)
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1118, in initialize_connection
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher raise exception.VolumeBackendAPIException(data=err_msg)
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'NoneType' object has no attribute 'service_content'
2015-07-29 16:42:16.325 9003 TRACE oslo_messaging.rpc.dispatcher
2015-07-29 16:42:16.327 9003 ERROR oslo_messaging._drivers.common [req-0a416b16-437e-43d7-a11b-f3abac8b4045 2d3e8f76f3f9429c869e5a085837d2f1 000411016ad847fa870e2c2246a24664 - - -] Returning exception Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'NoneType' object has no attribute 'service_content' to caller
2015-07-29 16:42:16.328 9003 ERROR oslo_messaging._drivers.common [req-0a416b16-437e-43d7-a11b-f3abac8b4045 2d3e8f76f3f9429c869e5a085837d2f1 000411016ad847fa870e2c2246a24664 - - -] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n executor_callback))\n', ' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch\n executor_callback)\n', ' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch\n result = func(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper\n return f(*args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1118, in initialize_connection\n raise exception.VolumeBackendAPIException(data=err_msg)\n', "VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: 'NoneType' object has no attribute 'service_content'\n"]