OpenStack library for all concurrency-related code
Go to file
Amrith Kumar 11ed74f29d Handle a failure on communicate()
After much debugging of the subject bug, we've concluded that a
failure and an exception of OSError with EAGAIN from communicate()
indicates some monkey business. In the specific case that we're seeing
in Trove, it is because monkey patching didn't quite get done the way
it should.

In any event, retrying isn't the answer.  This change reverts an
earlier change that retried the communicate() call and instead hurls
the OSError exception back to the caller, if we are out of retries. A
test case to fake the communicate() failure has been amended to ensure
that we handle this in what we believe now to be the right way.

Change-Id: Ie36d77eebb2c20124a61ff6029c3b97bfffb9427
Closes-Bug: #1347337
2014-08-14 01:21:47 -04:00
doc/source exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
oslo Handle a failure on communicate() 2014-08-14 01:21:47 -04:00
tests Handle a failure on communicate() 2014-08-14 01:21:47 -04:00
tools Make all tests pass 2014-08-07 22:27:31 +04:00
.coveragerc exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.gitignore exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.gitreview exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.testr.conf exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
CONTRIBUTING.rst exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
HACKING.rst exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
MANIFEST.in exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
README.rst exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
openstack-common.conf Make all tests pass 2014-08-07 22:27:31 +04:00
requirements-py3.txt Make all tests pass 2014-08-07 22:27:31 +04:00
requirements.txt Make all tests pass 2014-08-07 22:27:31 +04:00
setup.cfg exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
setup.py Make all tests pass 2014-08-07 22:27:31 +04:00
test-requirements.txt Make all tests pass 2014-08-07 22:27:31 +04:00
tox.ini Make all tests pass 2014-08-07 22:27:31 +04:00

README.rst

oslo.concurrency

oslo.concurrency library