Temporary fix for race between scsi delete and zfcp unit_remove (#589278)
This is going to be replaced with a final fix, but until then
this temp fix enables installation to zfcp luns and testing of
all code paths beyond the activation of such luns
including fcp multipath.
---
pyanaconda/storage/zfcp.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/pyanaconda/storage/zfcp.py b/pyanaconda/storage/zfcp.py
index 3c315e8..53a02d8 100644
--- a/pyanaconda/storage/zfcp.py
+++ b/pyanaconda/storage/zfcp.py
@@ -240,6 +240,8 @@ class ZFCPDevice:
and fcpwwpnsysfs == self.wwpn
and fcplunsysfs == self.fcplun:
loggedWriteLineToFile(scsidel, "1")
+ import time
+ time.sleep(1)
udev_settle()
return
--
1.7.0.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
06-01-2010, 02:20 PM
Chris Lumens
Temporary fix for race between scsi delete and zfcp unit_remove (#589278)
> This is going to be replaced with a final fix, but until then
> this temp fix enables installation to zfcp luns and testing of
> all code paths beyond the activation of such luns
> including fcp multipath.
Then we will wait for the final fix. anaconda is not the repository of
hacks and workarounds.
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
06-02-2010, 03:20 PM
David Cantrell
Temporary fix for race between scsi delete and zfcp unit_remove (#589278)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 1 Jun 2010, Chris Lumens wrote:
This is going to be replaced with a final fix, but until then
this temp fix enables installation to zfcp luns and testing of
all code paths beyond the activation of such luns
including fcp multipath.
Then we will wait for the final fix. anaconda is not the repository of
hacks and workarounds.
I just want to reiterate what Chris is saying here. Things like this really
get us in to trouble in anaconda and we want to avoid this stuff whenever
possible. Finish the final fix.