Merge "Downgrade target create failure mesg to warning"

This commit is contained in:
Jenkins 2013-10-24 20:03:49 +00:00 committed by Gerrit Code Review
commit 76ffb76635
1 changed files with 2 additions and 2 deletions

View File

@ -207,9 +207,9 @@ class TgtAdm(TargetAdmin):
run_as_root=True)
LOG.debug("Targets after update: %s" % out)
except putils.ProcessExecutionError as e:
LOG.error(_("Failed to create iscsi target for volume "
LOG.warning(_("Failed to create iscsi target for volume "
"id:%(vol_id)s: %(e)s")
% {'vol_id': vol_id, 'e': str(e)})
% {'vol_id': vol_id, 'e': str(e)})
#Don't forget to remove the persistent file we created
os.unlink(volume_path)