From: John Griffith Date: Tue, 28 Oct 2014 16:21:52 +0000 (-0600) Subject: Add debug output indicating provider_location X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1e55ed0f088f1ee08ba776b8fe1a344815886d46;p=openstack-build%2Fcinder-build.git 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 --- 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