New: [rhinstaller/blivet/pulls/87 rhel7-branch] Fix "anaconda hangs while trying to discover iscsi..." (#1166652)
by dashea
This was 2 errors in one.
First problem: anaconda freeze for some time.
Second problem: libiscsi was run on thread and libiscsi the library
is not thread safe.
Anaconda freeze is because of GIL is taken on library thread which is
trying to connect to server.
The thread safe problem is because libiscsi is using signals internally
which were delivered to another thread (this is hard to solve in python
threads...). Solution is to start discover method on new process.
So new process is now created to call libiscsi discover_sendtargets
method. This should fix both problems.
Note: Will be applied to master too.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/87
9 years
New: [rhinstaller/blivet/pulls/79 master] Master tasks 20140414
by dashea
Another revision of PR for issue #12.
I didn't rebase against master because it's in a tricky state right now.
Changes are:
* Remove Task classmethod available(), since nobody seems to want it (3d668a6)
* Use defined constants for any external resource objects that are instantiated more than once
(667ff92)
* Change the return type for un*, and impossible methods as well as their names (fc61f7a)
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/79
9 years
[rhel6-branch] Check for FBA DASDs so we don't try to format them with dasdfmt. (#1144979)
by Samantha N. Bueno
dasdfmt fails if you try to run it against an FBA DASD.
Resolves: rhbz#1144979
---
isys/dasd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/isys/dasd.c b/isys/dasd.c
index 6d59742..259d9f8 100644
--- a/isys/dasd.c
+++ b/isys/dasd.c
@@ -92,6 +92,9 @@ int isLdlDasd(char *device) {
if (ret == 2)
return 0;
+ if (dasd_info.FBA_layout)
+ return 0;
+
if (dasd_info.format == DASD_FORMAT_CDL) /* VOL1, CDL */
return 0;
else
--
1.9.3
9 years