]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Copy the RHEL6 eventlet workaround from Oslo
authorMark McLoughlin <markmc@redhat.com>
Thu, 2 May 2013 09:22:26 +0000 (10:22 +0100)
committerMark McLoughlin <markmc@redhat.com>
Thu, 2 May 2013 09:22:26 +0000 (10:22 +0100)
Tests in oslo-incubator now need the horrendous hack to workaround an
issue with eventlet on RHEL6. We've moved the patch_tox_venv tool
and redhat-eventlet.patch into oslo-incubator, so add them to
openstack-common.conf.

Change-Id: I1acfec282b64d7582144b155119bedb1741db2f7

contrib/redhat-eventlet.patch
openstack-common.conf
tools/patch_tox_venv.py

index 0b77e6f72cccb9ba67ac82a3e326eac80ceeb808..cf2ff53d510750902c6d49ddec985a9410253ad3 100644 (file)
@@ -1,7 +1,7 @@
---- .cinder-venv/lib/python2.6/site-packages/eventlet/green/subprocess.py.orig
+--- .nova-venv/lib/python2.6/site-packages/eventlet/green/subprocess.py.orig
 2011-05-25
 23:31:34.597271402 +0000
-+++ .cinder-venv/lib/python2.6/site-packages/eventlet/green/subprocess.py
++++ .nova-venv/lib/python2.6/site-packages/eventlet/green/subprocess.py
 2011-05-25
 23:33:24.055602468 +0000
 @@ -32,7 +32,7 @@
index a1a35b76b1035e0b23a984dee46771f425ac81a7..19f6ce0b4802593176f81f616a7c7856a87fe8e5 100644 (file)
@@ -15,8 +15,10 @@ module=lockutils
 module=log
 module=network_utils
 module=notifier
+module=patch_tox_venv
 module=policy
 module=processutils
+module=redhat-eventlet.patch
 module=rootwrap
 module=rpc
 module=scheduler
index ce4b19b5908c481c85a5a86cebfaa6058f21577e..dc87af99f7fed978c90032b2ac93a5f047676fcb 100644 (file)
@@ -28,7 +28,7 @@ def main(argv):
     pip_requires = os.path.join(root, 'tools', 'pip-requires')
     test_requires = os.path.join(root, 'tools', 'test-requires')
     py_version = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
-    project = 'Cinder'
+    project = 'cinder'
     install = install_venv.InstallVenv(root, venv, pip_requires, test_requires,
                                        py_version, project)
     #NOTE(dprince): For Tox we only run post_process (which patches files, etc)