[Openstack] EMC XtremIO Cinder Driver (Liberty)

Steve Searles SSearles at zimcom.net
Thu Feb 4 16:06:04 UTC 2016


Hello everyone, I am attempting to add the EMC XtremIO driver that is included with Liberty to one of my Cinder nodes.  I am seeing the error below in cinder-volume.log which indicates that the driver can not be found upon load.  I think I am missing something very simple here. I am not sure where XtremIOIscsiDriver Class is defined. Can someone point me in the right direction?


I followed the installation docs located at the link below.

http://docs.openstack.org/liberty/config-reference/content/XtremIO-cinder-driver.html

Error From cinder-volume.log


2016-02-03 17:34:39.256 23482 INFO cinder.volume.manager [req-b7963d3d-fdf3-4bf8-b955-b3fcf95f240b - - - - -] Determined volume DB was not empty at startup.

2016-02-03 17:34:39.256 23482 DEBUG cinder.volume.manager [req-b7963d3d-fdf3-4bf8-b955-b3fcf95f240b - - - - -] Cinder Volume DB check: vol_db_empty=False __init__ /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:219

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume [req-b7963d3d-fdf3-4bf8-b955-b3fcf95f240b - - - - -] Volume service compute01 at XtremIO failed to start.

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume Traceback (most recent call last):

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume.py", line 77, in main

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume     binary='cinder-volume')

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 251, in create

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume     service_name=service_name)

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 130, in __init__

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume     *args, **kwargs)

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 226, in __init__

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume     is_vol_db_empty=vol_db_empty)

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 38, in import_object

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume     return import_class(import_str)(*args, **kwargs)

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 33, in import_class

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume     traceback.format_exception(*sys.exc_info())))

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume ImportError: Class XtremIOIscsiDriver cannot be found (['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 29, in import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'XtremIOIscsiDriver'\n"])

2016-02-03 17:34:39.286 23482 ERROR cinder.cmd.volume


The lines the error is referencing are below but I am not seeing any issue with this?


        return getattr(sys.modules[mod_str], class_str)

    except AttributeError:

        raise ImportError('Class %s cannot be found (%s)' %

                          (class_str,

                           traceback.format_exception(*sys.exc_info())))






These appear to be the drivers included.


root at compute01:/usr/lib/python2.7/dist-packages/cinder/volume/drivers# ls -lash xio*

68K -rw-r--r-- 1 root root 68K Oct 15 08:03 xio.py

52K -rw-r--r-- 1 root root 50K Jan 30 17:44 xio.pyc

root at compute01:/usr/lib/python2.7/dist-packages/cinder/volume/drivers#


Steven Searles | ssearles at zimcom.net<mailto:ssearles at zimcom.net>
Zimcom Internet Solutions  | www.zimcom.net<http://www.zimcom.net/>
O: 513.231.9500  |  D: 513.233.4130


[cid:899C4608-9581-4655-8973-EE2E707A5A53]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160204/a57b7659/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 847FA943-AFD4-4E4F-BB5E-0DDB37DEAF6A[54].png
Type: image/png
Size: 10713 bytes
Desc: 847FA943-AFD4-4E4F-BB5E-0DDB37DEAF6A[54].png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160204/a57b7659/attachment.png>


More information about the Openstack mailing list