[rhel6-branch] iscsi: better IBFT logging.

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

 



Related: rhbz#529443
---
 storage/iscsi.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/storage/iscsi.py b/storage/iscsi.py
index 8611d51..d4d0ab4 100644
--- a/storage/iscsi.py
+++ b/storage/iscsi.py
@@ -136,12 +136,14 @@ class iscsi(object):
         try:
             found_nodes = libiscsi.discover_firmware()
         except:
-            # an exception here means there is no ibft firmware, just return
+            log.info("iscsi: No IBFT info found.");
             return
 
         for node in found_nodes:
             try:
                 node.login()
+                log.info("iscsi IBFT: logged into %s at %s:%s through %s" % (
+                    node.name, node.address, node.port, node.iface))
                 self.nodes.append(node)
                 self.ibftNodes.append(node)
             except IOError, e:
@@ -267,9 +269,8 @@ class iscsi(object):
             node.setAuth(authinfo)
             node.login()
             rc = True
-            log.info("iSCSI: logged into %s %s:%s" % (node.name, 
-                                                      node.address, 
-                                                      node.port))
+            log.info("iSCSI: logged into %s at %s:%s through %s" % (
+                    node.name, node.address, node.port, node.iface))
             self.nodes.append(node)
         except (IOError, ValueError) as e:
             msg = str(e)
-- 
1.7.3.3

_______________________________________________
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