[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
PATCH: kickstart, iscsi do not call iscsi.startup after startIBFT has been called
- From: Hans de Goede <hdegoede redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: PATCH: kickstart, iscsi do not call iscsi.startup after startIBFT has been called
- Date: Thu, 06 Nov 2008 17:41:31 +0100
Hi All,
The current kickstart IscsiName code calls iscsi.startup after calling
iscsi.startIBFT, but startIBFT will call iscsi.addTarget when an IBFT target
is found, which will in turn then call iscsi.startup. iscsi.startup is not
protected against being called twice, and currently doing so happens to not
have adverse side effects, but we really should not be relying on that.
Note: when no IBFT target is found there is no reason to call iscsi.startup
Regards,
Hans
>From 67ea62855a5a6e23335d0536bfefab34d35a0d71 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede redhat com>
Date: Thu, 6 Nov 2008 17:36:35 +0100
Subject: [PATCH] kickstart, iscsi do not call iscsi.startup after startIBFT has been called
The current kickstart IscsiName code calls iscsi.startup after calling
iscsi.startIBFT, but startIBFT will call iscsi.addTarget when an IBFT target
is found, which will in turn then call iscsi.startup. iscsi.startup is not
protected against being called twice, and currently doing so happens to not
have adverse side effects, but we really should not be relying on that.
Note: when no IBFT target is found there is no reason to call iscsi.startup
---
kickstart.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kickstart.py b/kickstart.py
index af2e063..ef9488b 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -298,7 +298,6 @@ class IscsiName(commands.iscsiname.FC6_IscsiName):
self.handler.id.iscsi.initiator = self.iscsiname
self.handler.id.iscsi.startIBFT()
- self.handler.id.iscsi.startup()
# FIXME: flush the drive dict so we figure drives out again
isys.flushDriveDict()
--
1.6.0.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]