Updated: [rhinstaller/blivet/pulls/87 rhel7-branch] Fix "anaconda hangs while trying to discover iscsi..." (#1166652)

jkonecny12 installerbot-noreply at redhat.com
Thu Apr 23 10:31:59 UTC 2015


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


More information about the anaconda-patches mailing list