Name: openstack-%{service}
Version: 9.0.0~b2
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 1
Summary: OpenStack Networking Service
BuildArch: noarch
BuildRequires: git
-BuildRequires: python-backports-ssl_match_hostname
BuildRequires: python2-devel
BuildRequires: python-d2to1
-BuildRequires: python-keystoneauth1 >= 2.1.0
+BuildRequires: python-keystoneauth1 >= 2.10.0
BuildRequires: python-keystonemiddleware
-BuildRequires: python-neutron-lib >= 0.2.0
+BuildRequires: python-neutron-lib >= 0.3.0
BuildRequires: python-novaclient
BuildRequires: python-oslo-cache
BuildRequires: python-oslo-concurrency
Requires: python-greenlet >= 0.3.2
Requires: python-httplib2 >= 0.7.5
Requires: python-jinja2 >= 2.8
-Requires: python-keystoneauth1 >= 2.7.0
-Requires: python-keystoneclient >= 1.6.0
+Requires: python-keystoneauth1 >= 2.10.0
Requires: python-keystonemiddleware >= 4.0.0
Requires: python-netaddr >= 0.7.12
+Requires: python-netifaces >= 0.10.4
Requires: python-neutronclient >= 4.2.0
-Requires: python-neutron-lib >= 0.2.0
+Requires: python-neutron-lib >= 0.3.0
Requires: python-novaclient >= 2.29.0
Requires: python-openvswitch
Requires: python-oslo-cache >= 1.5.0
Requires: python-oslo-concurrency >= 3.8.0
-Requires: python-oslo-config >= 2:3.12.0
-Requires: python-oslo-context >= 2.4.0
-Requires: python-oslo-db >= 4.1.0
+Requires: python-oslo-config >= 2:3.14.0
+Requires: python-oslo-context >= 2.6.0
+Requires: python-oslo-db >= 4.10.0
Requires: python-oslo-i18n >= 2.1.0
Requires: python-oslo-log >= 1.14.0
Requires: python-oslo-messaging >= 5.2.0
Requires: python-oslo-middleware >= 3.0.0
Requires: python-oslo-policy >= 1.9.0
Requires: python-oslo-reports >= 0.6.0
-Requires: python-oslo-rootwrap >= 2.0.0
+Requires: python-oslo-rootwrap >= 5.0.0
Requires: python-oslo-serialization >= 1.10.0
Requires: python-oslo-service >= 1.10.0
-Requires: python-oslo-utils >= 3.15.0
-Requires: python-oslo-versionedobjects >= 1.9.1
+Requires: python-oslo-utils >= 3.16.0
+Requires: python-oslo-versionedobjects >= 1.13.1
Requires: python-osprofiler >= 1.3.0
Requires: python-paste
Requires: python-paste-deploy >= 1.5.0
Requires: python-ryu >= 3.30
Requires: python-six >= 1.9.0
Requires: python-sqlalchemy >= 1.0.10
-Requires: python-stevedore >= 1.15.0
-Requires: python-unicodecsv
+Requires: python-stevedore >= 1.16.0
Requires: python-webob >= 1.2.3
%changelog
+* Tue Aug 16 2016 Jerzy Mikolajczak <jmikolajczak@mirantis.com> 1:9.0.0~b2-3.el7
+- Update requirements
* Wed Jul 19 2016 Jerzy Mikolajczak <jmikolajczak@mirantis.com> 1:9.0.0~b2-2.el7
- Update specs for Newton b2 release
* Mon Jul 18 2016 Sergey Kolekonov <skolekonov@mirantis.com> 1:9.0.0~b2-1.el7
+neutron (2:9.0.0~b2-3~u16.04+mos1) mos10.0; urgency=medium
+
+ * Update requirements
+
+ -- Jerzy Mikolajczak <jmikolajczak@mirantis.com> Tue, 16 Aug 2016 18:21:44 +0200
+
neutron (2:9.0.0~b2-2~u16.04+mos1) mos10.0; urgency=medium
* Enable rootwrap daemon for neutron
python-hacking,
python-httplib2,
python-jinja2 (>= 2.8),
- python-keystoneauth1 (>= 2.7.0),
+ python-keystoneauth1 (>= 2.10.0),
python-keystonemiddleware (>= 4.0.0),
- python-mock (>= 1.3),
+ python-mock (>= 2.0),
python-netaddr (>= 0.7.12),
python-netifaces (>= 0.10.4),
- python-neutron-lib (>= 0.2.0),
+ python-neutron-lib (>= 0.3.0),
python-neutronclient (>= 1:4.2.0),
python-novaclient (>= 2:2.30.1),
python-openvswitch,
python-os-testr (>= 0.7.0),
python-oslo.cache (>= 1.5.0),
python-oslo.concurrency (>= 3.8.0),
- python-oslo.config (>= 1:3.10.0),
- python-oslo.context (>= 2.4.0),
- python-oslo.db (>= 4.1.0),
+ python-oslo.config (>= 1:3.14.0),
+ python-oslo.context (>= 2.6.0),
+ python-oslo.db (>= 4.10.0),
python-oslo.i18n (>= 2.1.0),
python-oslo.log (>= 2.0.0),
python-oslo.messaging (>= 5.2.0),
python-oslo.middleware (>= 3.0.0),
python-oslo.policy (>= 1.9.0),
python-oslo.reports (>= 0.6.0),
- python-oslo.rootwrap (>= 2.0.0),
+ python-oslo.rootwrap (>= 5.0.0),
python-oslo.serialization (>= 2.0.0),
python-oslo.service (>= 1.10.0),
- python-oslo.utils (>= 3.14.0),
- python-oslo.versionedobjects (>= 1.9.1),
+ python-oslo.utils (>= 3.16.0),
+ python-oslo.versionedobjects (>= 1.13.0),
python-oslosphinx (>= 2.5.0),
python-oslotest (>= 1.10.0),
python-osprofiler (>= 1.3.0),
python-pymysql,
python-pyudev,
python-requests (>= 2.10.0),
- python-requests-mock (>= 0.7.0),
+ python-requests-mock,
python-retrying,
python-routes,
python-ryu (>= 3.30),
python-six (>= 1.9.0),
python-sqlalchemy (>= 1.0.12),
- python-stevedore (>= 1.10.0),
+ python-stevedore (>= 1.16.0),
python-testresources,
python-testscenarios,
python-testtools (>= 1.4.0),
python-debtcollector (>= 1.2.0),
python-designateclient (>= 1.5.0),
python-eventlet (>= 0.18.4),
- python-gflags,
python-greenlet,
python-httplib2,
python-jinja2 (>= 2.8),
- python-keystoneauth1 (>= 2.7.0),
+ python-keystoneauth1 (>= 2.10.0),
python-keystonemiddleware (>= 4.0.0),
python-mysqldb,
python-netaddr (>= 0.7.12),
python-netifaces (>= 0.10.4),
- python-neutron-lib (>= 0.2.0),
+ python-neutron-lib (>= 0.3.0),
python-neutronclient (>= 1:4.2.0),
python-novaclient (>= 2:2.30.1),
python-openvswitch,
python-oslo.cache (>= 1.5.0),
python-oslo.concurrency (>= 3.8.0),
- python-oslo.config (>= 1:3.10.0),
- python-oslo.context (>= 2.4.0),
- python-oslo.db (>= 4.1.0),
+ python-oslo.config (>= 1:3.14.0),
+ python-oslo.context (>= 2.6.0),
+ python-oslo.db (>= 4.10.0),
python-oslo.i18n (>= 2.1.0),
python-oslo.log (>= 2.0.0),
python-oslo.messaging (>= 5.2.0),
python-oslo.middleware (>= 3.0.0),
python-oslo.policy (>= 1.9.0),
python-oslo.reports (>= 0.6.0),
- python-oslo.rootwrap (>= 2.0.0),
+ python-oslo.rootwrap (>= 5.0.0),
python-oslo.serialization (>= 2.0.0),
python-oslo.service (>= 1.10.0),
- python-oslo.utils (>= 3.14.0),
- python-oslo.versionedobjects (>= 1.9.1),
+ python-oslo.utils (>= 3.16.0),
+ python-oslo.versionedobjects (>= 1.13.0),
python-osprofiler (>= 1.3.0),
python-paste,
python-pastedeploy,
python-ryu (>= 3.30),
python-six (>= 1.9.0),
python-sqlalchemy (>= 1.0.12),
- python-stevedore (>= 1.10.0),
+ python-stevedore (>= 1.16.0),
python-webob,
${misc:Depends},
${python:Depends},
--- /dev/null
+--- neutron.orig/neutron/db/api.py 2016-08-18 17:21:13.507395437 +0200
++++ neutron/neutron/db/api.py 2016-08-18 17:22:04.214899405 +0200
+@@ -21,13 +21,11 @@
+ from oslo_db import api as oslo_db_api
+ from oslo_db import exception as db_exc
+ from oslo_db.sqlalchemy import enginefacade
+-from oslo_log import log as logging
+ from oslo_utils import excutils
+ import osprofiler.sqlalchemy
+ import six
+ import sqlalchemy
+ from sqlalchemy.orm import exc
+-import traceback
+
+ from neutron.common import exceptions
+ from neutron.common import profiler # noqa
+@@ -45,7 +43,6 @@
+
+
+ MAX_RETRIES = 10
+-LOG = logging.getLogger(__name__)
+
+
+ def is_retriable(e):
+@@ -59,7 +56,7 @@
+ is_deadlock = moves.moved_function(is_retriable, 'is_deadlock', __name__,
+ message='use "is_retriable" instead',
+ version='newton', removal_version='ocata')
+-_retry_db_errors = oslo_db_api.wrap_db_retry(
++retry_db_errors = oslo_db_api.wrap_db_retry(
+ max_retries=MAX_RETRIES,
+ retry_interval=0.1,
+ inc_retry_interval=True,
+@@ -67,22 +64,6 @@
+ )
+
+
+-def retry_db_errors(f):
+- """Log retriable exceptions before retry to help debugging."""
+-
+- @_retry_db_errors
+- @six.wraps(f)
+- def wrapped(*args, **kwargs):
+- try:
+- return f(*args, **kwargs)
+- except Exception as e:
+- with excutils.save_and_reraise_exception():
+- if is_retriable(e):
+- LOG.debug("Retry wrapper got retriable exception: %s",
+- traceback.format_exc())
+- return wrapped
+-
+-
+ def reraise_as_retryrequest(f):
+ """Packs retriable exceptions into a RetryRequest."""
+
Description: Fix requirements.txt
Author: Jerzy Mikolajczak <jmikolajczak@mirantis.com>
Forwarded: not-needed
-Last-Update: 2016-07-21
+Last-Update: 2016-08-16
Index: neutron/requirements.txt
===================================================================
---- neutron.orig/requirements.txt 2016-07-21 09:54:44.000000000 +0200
-+++ neutron/requirements.txt 2016-07-21 12:05:23.196106155 +0200
+--- neutron.orig/requirements.txt 2016-08-16 18:36:34.568665027 +0200
++++ neutron/requirements.txt 2016-08-16 18:37:32.220008362 +0200
@@ -44,8 +44,6 @@
- oslo.utils>=3.15.0 # Apache-2.0
+ oslo.utils>=3.16.0 # Apache-2.0
oslo.versionedobjects>=1.13.0 # Apache-2.0
osprofiler>=1.3.0 # Apache-2.0
-ovs>=2.5.0;python_version=='2.7' # Apache-2.0
fix-requirements.txt.patch
+fix-no-attribute-code.patch
\ No newline at end of file
# metering_agent.ini
mkdir -p $(CURDIR)/debian/neutron-metering-agent/etc/neutron
- PYTHONPATH=$(CURDIR)/debian/tmp oslo-config-generator --output-file $(CURDIR)/debian/neutron-metering-agent/etc/neutron/metering_agent.ini \
+ PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-metering-agent/etc/neutron/metering_agent.ini \
--wrap-width 140 \
--namespace neutron.metering.agent \
--namespace oslo.log