[PATCH 2/3] Log successful login to iscsi targets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/iscsi.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/storage/iscsi.py b/storage/iscsi.py
index a1c6198..55caa17 100644
--- a/storage/iscsi.py
+++ b/storage/iscsi.py
@@ -152,6 +152,7 @@ class iscsi(object):
         for node in found_nodes:
             try:
                 node.login()
+                log.info("iscsi._startIBFT logged in to %s %s %s" % (node.name, node.address, node.port))
                 self.nodes.append(node)
                 self.ibftNodes.append(node)
             except IOError, e:
@@ -242,6 +243,7 @@ class iscsi(object):
                 if (authinfo):
                     node.setAuth(authinfo)
                 node.login()
+                log.info("iscsi.addTarget logged in to %s %s %s" % (node.name, node.address, node.port))
                 self.nodes.append(node)
                 logged_in = logged_in + 1
             except IOError, e:
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux