cinder/cinder/volume/drivers/fujitsu
Jay S Bryant 3c6b224719 Fix error message when running genconfig
The Fujitsu eternus_dx_common code was configured to
try to import pywbem and immediately throw an error in
the case that the module wasn't available.  This would
cause the error to be reported during the genconfig process.

This patch changes the driver to just attempt to import
the module and record whether it was successful.  If not,
the error message isn't reported until __init__ is called.

This approach is consistent with what EMC does in their
drivers for importing pywbem.

Change-Id: I4f7d90bc2d05bde653f9d64fdb183ebf639fe3d4
Closes-bug: 1558644
2016-03-12 04:14:03 -06:00
..
__init__.py Add Fujitsu ETERNUS DX Volume Driver (again) 2015-12-30 08:59:16 +09:00
eternus_dx_common.py Fix error message when running genconfig 2016-03-12 04:14:03 -06:00
eternus_dx_fc.py Add Fujitsu ETERNUS DX Volume Driver (FC part) 2016-01-18 06:32:51 +00:00
eternus_dx_iscsi.py Add Fujitsu ETERNUS DX Volume Driver (again) 2015-12-30 08:59:16 +09:00