Change NovaException to CinderException in the emc driver.
Change-Id: Id84ca2a354afc6a7b795aef779a9fdd2567ce0d6
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") %