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 - multiprocessing.Process.start() fails occasionally
Summary: multiprocessing.Process.start() fails occasionally
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Dave Malcolm
QA Contact: Petr Šplíchal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 13:34 UTC by Rami Vaknin
Modified: 2016-06-01 01:41 UTC (History)
8 users (show)

Fixed In Version: python-2.6.6-21.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
RHEL6.1, python 2.6
Last Closed: 2011-12-06 10:24:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1564 0 normal SHIPPED_LIVE python bug fix and enhancement update 2011-12-06 00:39:12 UTC

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


Note You need to log in before you can comment on or make changes to this bug.