From edb5491070f7a6bab257089e7b98278b68949cb1 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Tue, 8 Jan 2013 14:00:09 -0500 Subject: [PATCH] Fix CinderClient exception name in EMCISCSIDriver. Change NovaException to CinderException in the emc driver. Change-Id: Id84ca2a354afc6a7b795aef779a9fdd2567ce0d6 --- cinder/volume/drivers/emc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/volume/drivers/emc.py b/cinder/volume/drivers/emc.py index c128364cc..c7e5029db 100644 --- a/cinder/volume/drivers/emc.py +++ b/cinder/volume/drivers/emc.py @@ -929,8 +929,8 @@ class EMCISCSIDriver(driver.ISCSIDriver): tries = 0 while not os.path.exists(host_device): if tries >= FLAGS.num_iscsi_scan_tries: - raise exception.NovaException(_("iSCSI device not found at %s") - % (host_device)) + raise exception.CinderException( + _("iSCSI device not found at %s") % (host_device)) LOG.warn(_("ISCSI volume not yet found at: %(host_device)s. " "Will rescan & retry. Try number: %(tries)s") % -- 2.45.2