Ibm storwize driver not working after upgrading to Mitaka
Issue
-
storewize driver does not work in OSP9
-
seeing error cinder starting:
017-03-22 18:05:48.705 32508 INFO cinder.volume.manager [req-6a752c64-726d-4039-98f9-1f112d04dff5 - - - - -] Determined volume DB was empty at startup.
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume [req-6a752c64-726d-4039-98f9-1f112d04dff5 - - - - -] Volume service hostgroup@v7k failed to start.
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume Traceback (most recent call last):
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/cmd/volume.py", line 80, in main
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume binary='cinder-volume')
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/service.py", line 272, in create
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume service_name=service_name)
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/service.py", line 154, in __init__
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume *args, **kwargs)
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 284, in __init__
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume active_backend_id=curr_active_backend_id)
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in import_object
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume return import_class(import_str)(*args, **kwargs)
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 36, in import_class
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume traceback.format_exception(*sys.exc_info())))
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume ImportError: Class StorwizeSVCDriver cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 32, in import_class\n return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'StorwizeSVCDriver'\n"])
2017-03-22 18:05:48.709 32508 ERROR cinder.cmd.volume
2017-03-22 18:05:48.711 32508 ERROR cinder.cmd.volume [req-6a752c64-726d-4039-98f9-1f112d04dff5 - - - - -] No volume service(s) started successfully, terminating.
- ### cinder ibm storwise driver seems to be messed up, in Liberty the driver is in this file:
[root@pcnt41 rhn]# cat /usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/storwize_svc/__init__.py
[root@pcnt41 rhn]#
Environment
- Red Hat OpenStack Platform 9.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.