FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-09-2011, 04:04 PM
Ales Kozumplik
 
Default iscsi: better IBFT logging.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-09-2011, 06:14 PM
"Brian C. Lane"
 
Default iscsi: better IBFT logging.

On Wed, Feb 09, 2011 at 06:04:51PM +0100, Ales Kozumplik wrote:
> Related: rhbz#529443
> ---
> storage/iscsi.py | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>

Ack

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org