From 1e55ed0f088f1ee08ba776b8fe1a344815886d46 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Tue, 28 Oct 2014 10:21:52 -0600 Subject: [PATCH] Add debug output indicating provider_location Just add a simple debug statement to indicate the resultant provider location of a tgtadm volume after create_export. Change-Id: Ide12986400c54978ee5b387d615b203c0f93f029 --- cinder/volume/iscsi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cinder/volume/iscsi.py b/cinder/volume/iscsi.py index 3835ff578..78a9a7d6d 100644 --- a/cinder/volume/iscsi.py +++ b/cinder/volume/iscsi.py @@ -58,6 +58,8 @@ class _ExportMixin(object): data = {} data['location'] = self._iscsi_location( conf.iscsi_ip_address, tid, iscsi_name, conf.iscsi_port, lun) + + LOG.debug('Set provider_location to: %s', data['location']) data['auth'] = self._iscsi_authentication( 'CHAP', chap_username, chap_password) return data -- 2.45.2