From 5eec39e560789fdcd8ef6beef4c9a2bc1ed9f614 Mon Sep 17 00:00:00 2001 From: ankitagrawal Date: Wed, 6 May 2015 00:39:56 -0700 Subject: [PATCH] Fix broken add_iscsi_conn log message In hnas_backend.py add_iscsi_conn method, info message is not logged correctly due to broken format string. Fixed the broken format string to log proper info message. Closes-Bug: 1452160 Change-Id: Ie277ecc23ca5c10b161849075d448188845f0865 --- cinder/volume/drivers/hds/hnas_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/hds/hnas_backend.py b/cinder/volume/drivers/hds/hnas_backend.py index 64087d145..2ef3236e5 100644 --- a/cinder/volume/drivers/hds/hnas_backend.py +++ b/cinder/volume/drivers/hds/hnas_backend.py @@ -482,7 +482,7 @@ class HnasBackend(object): if lunline[0].isdigit(): # see if already mounted if vol[:29] == lun[:29]: - LOG.info(_LI('lun: %(lun)s already mounted (lline)%s'), + LOG.info(_LI('lun: %(lun)s already mounted %(lline)s'), {'lun': lun, 'lline': lunline}) conn = (int(lunline), lun, initiator, hlun, fulliqn, hlun, hdp, port) -- 2.45.2