Fix log formatting error in iscsi.py
This fixes a ValueError exception that would occur if log debug was enabled in IPA. Change-Id: Id95f291dd77d69e7d4dd4f945c6c151db7a0646b Closes-bug: #1503354
This commit is contained in:
@@ -55,7 +55,7 @@ def _wait_for_iscsi_daemon(interval=1, attempts=10):
|
||||
|
||||
def _start_iscsi_daemon(iqn, device):
|
||||
"""Start a ISCSI target for the device."""
|
||||
LOG.debug("Starting ISCSI target on device %{device}", {'device': device})
|
||||
LOG.debug("Starting ISCSI target on device %(device)s", {'device': device})
|
||||
|
||||
# Start ISCSI Target daemon
|
||||
_execute(['tgtd'], "Unable to start the ISCSI daemon")
|
||||
|
||||
Reference in New Issue
Block a user