Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 685234

Summary: multiprocessing.Process.start() fails occasionally
Product: Red Hat Enterprise Linux 6 Reporter: Rami Vaknin <rvaknin>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact: Petr Šplíchal <psplicha>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: abaron, danken, erez, mgoldboi, ohudlick, psplicha, smizrahi, yeylon
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-2.6.6-21.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
RHEL6.1, python 2.6
Last Closed: 2011-12-06 10:24:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rami Vaknin 2011-03-15 13:34:06 UTC
It seems that forking._cleaup() calls Popen.poll() which tests for self.returncode, but then self.pid may be collected by another .poll() and refer to a nonexistent pid.


MainThread::ERROR::2011-03-14 18:02:48,144::sp::548::Storage.StoragePool::(reconnect) RECONNECT: Failed: 1cceaba4-2aec-45fe-b4f7-eac35299698d
Traceback (most recent call last):

    File "/usr/share/vdsm/storage/sp.py", line 546, in reconnect
        return self.connect(hostId, scsiKey, msdUUID, masterVersion)
    File "/usr/share/vdsm/storage/sp.py", line 434, in connect
        SDF.refresh()
    File "/usr/share/vdsm/storage/sdf.py", line 132, in refresh
        cls.sdc.refresh()
    File "/usr/share/vdsm/storage/sdc.py", line 114, in refresh
        self._refreshDomains()
    File "/usr/share/vdsm/storage/misc.py", line 1028, in helper
        return sm(*args, kwargs)
    File "/usr/share/vdsm/storage/misc.py", line 1015, in call
        self.lastResult = self.func(*args, kwargs)
    File "/usr/share/vdsm/storage/sdc.py", line 140, in _refreshDomains
        nfsSD.getFileStorageDomainList() +
    File "/usr/share/vdsm/storage/nfsSD.py", line 146, in getFileStorageDomainList
        dl.append(NfsStorageDomain?(os.path.basename(os.path.dirname(f))))
    File "/usr/share/vdsm/storage/fileSD.py", line 87, in init
        if not oop.fileUtils.pathExists(self.metafile):
    File "/usr/share/vdsm/storage/processPool.py", line 35, in wrapper
        return self.runExternally(func, *args, kwds)
    File "/usr/share/vdsm/storage/processPool.py", line 54, in runExternally
        helper = Helper()
    File "/usr/share/vdsm/storage/processPool.py", line 102, in init
        self.proc.start()
    File "/usr/lib64/python2.6/multiprocessing/process.py", line 99, in start
        _cleanup()
    File "/usr/lib64/python2.6/multiprocessing/process.py", line 53, in _cleanup
        if p._popen.poll() is not None:
    File "/usr/lib64/python2.6/multiprocessing/forking.py", line 106, in poll
        pid, sts = os.waitpid(self.pid, flag)
OSError: [Errno 10] No child processes

Comment 2 RHEL Program Management 2011-04-04 02:13:13 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 15 errata-xmlrpc 2011-12-06 10:24:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1564.html