Revert "Applied patch for openstack-neutron-mellanox" 44/1844/1
authorIlya Shakhat <ishakhat@mirantis.com>
Mon, 12 Jan 2015 15:24:20 +0000 (18:24 +0300)
committerIlya Shakhat <ishakhat@mirantis.com>
Mon, 12 Jan 2015 15:33:24 +0000 (18:33 +0300)
This reverts commit a29940782f6e8221374f3b3f12c5b334ac8868f7.
The original patch already present in stable/juno and will be
merged during the sync.

Change-Id: I5e9cb8968e6286a0b2174583bf54440d2db15999
Partial-Closes-Bug: #1409766

debian/patches/MLNX-openstack-neutron-mellanox.patch [deleted file]
debian/patches/series
rpm/SOURCES/MLNX-openstack-neutron-mellanox.patch [deleted file]
rpm/SPECS/openstack-neutron.spec

diff --git a/debian/patches/MLNX-openstack-neutron-mellanox.patch b/debian/patches/MLNX-openstack-neutron-mellanox.patch
deleted file mode 100644 (file)
index 584beab..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/neutron/plugins/mlnx/common/comm_utils.py        2014-10-30 09:10:04.378788721 +0000
-+++ b/neutron/plugins/mlnx/common/comm_utils.py        2014-10-30 09:10:27.689850641 +0000
-@@ -35,7 +35,6 @@
-     :param retries: number of times to try before giving up
-     :raises: exceptionToCheck
-     """
--    sleep_fn = time.sleep
-     def __init__(self, exceptionToCheck,
-                  interval=cfg.CONF.ESWITCH.request_timeout / 1000,
-@@ -56,7 +55,7 @@
-                 except self.exc:
-                     LOG.debug(_("Request timeout - call again after "
-                               "%s seconds"), sleep_interval)
--                    RetryDecorator.sleep_fn(sleep_interval)
-+                    time.sleep(sleep_interval)
-                     num_of_iter -= 1
-                     sleep_interval *= self.backoff_rate
index c10a6cf53101d62ca8a700b650f239821af5c16e..767b46cbe970c4a234e3985fe1eff8b1b55f6ef5 100644 (file)
@@ -1,3 +1,2 @@
 fix-neutron-configuration.patch
 disable-udev-tests.patch
-MLNX-openstack-neutron-mellanox.patch
diff --git a/rpm/SOURCES/MLNX-openstack-neutron-mellanox.patch b/rpm/SOURCES/MLNX-openstack-neutron-mellanox.patch
deleted file mode 100644 (file)
index 584beab..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/neutron/plugins/mlnx/common/comm_utils.py        2014-10-30 09:10:04.378788721 +0000
-+++ b/neutron/plugins/mlnx/common/comm_utils.py        2014-10-30 09:10:27.689850641 +0000
-@@ -35,7 +35,6 @@
-     :param retries: number of times to try before giving up
-     :raises: exceptionToCheck
-     """
--    sleep_fn = time.sleep
-     def __init__(self, exceptionToCheck,
-                  interval=cfg.CONF.ESWITCH.request_timeout / 1000,
-@@ -56,7 +55,7 @@
-                 except self.exc:
-                     LOG.debug(_("Request timeout - call again after "
-                               "%s seconds"), sleep_interval)
--                    RetryDecorator.sleep_fn(sleep_interval)
-+                    time.sleep(sleep_interval)
-                     num_of_iter -= 1
-                     sleep_interval *= self.backoff_rate
index cd8f6f8d44bf951ba3f76644ded85f69f2f22291..aa273fbc9f522aad7c015064a77beb66a3c2c6fc 100644 (file)
@@ -48,7 +48,6 @@ Source90:     neutron-dist.conf
 # patches_base=2014.1.1+1
 #
 Patch0001: 0001-remove-runtime-dependency-on-pbr.patch
-Patch0002: MLNX-openstack-neutron-mellanox.patch
 
 BuildArch:     noarch
 
@@ -481,7 +480,6 @@ IPSec.
 %setup -q -n neutron-%{version}
 
 %patch0001 -p1
-%patch0002 -p1
 
 find neutron -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +