8 Commits

Author SHA1 Message Date
Boden R
bc38ad6df9 bump neutron-lib version to 1.14.0
This patch bumps the requirements and lower constraints to pick up
neutron-lib 1.14.0 so we can consume it.

Change-Id: Ie8fa868f7ccb58b2d646be0778d40faa62b201d2
2018-05-04 06:48:36 -06:00
Brian Haley
9c1a5d5c4a Change minimum pecan version to 1.1.1
pecan 1.1.1 was release on June 3, 2016, so it should be
safe to move forward to it.  Should clean-up a lot of
these warnings:

DeprecationWarning: inspect.getargspec() is deprecated,
use inspect.signature() instead

Change-Id: I948cbc537123b6a0bcc781d1d7b5ac09895c3851
2018-05-01 21:01:46 +00:00
Ihar Hrachyshka
f69389004a Revert "Revert "Automatically expire obsolete relationships""
This reverts commit a75014792aeda0851510531919d040090e1aec15.

This is the second attempt to merge the patch after the previous one resulted
in revert due to multiple gate breakages in dependent projects (neutron-lbaas,
vmware-nsx, heat, networking-odl). This second attempt is validated with a set
of depends-on patches for all projects that were affected during the first
failed attempt.

The original commit message for the patch is included below for context.

===

Listen for foreign key changes and expire related relationships.

With this, we can remove OVO code that refreshes / detaches models on
each fetch. The patch also removes a bunch of expunge calls in plugin
code.

writer.using context manager is added to _get_subnets so that segment
plugin's _notify_subnet_updated handler that calls to _get_subnets
doesn't use the facade-less context.session that in specific cases may
cache old models from previous sessions when used in mixed
facade/facade-less environment.

This patch bumps SQLAlchemy minimal requirement to >= 1.2.0 because
pending_to_persistent event didn't exist before this version. It could be >=
1.1.0 if not for the fact that all 1.1.x releases have a bug that results in
breakage of test_update_with_none_and_own_mac_for_duplicate_ip due to obscure
import ordering issue in the library.

(The issue is fixed by https://github.com/zzzeek/sqlalchemy/commit/
63ff0140705207198545e3a0d7868a5ba8486e93)

Partially-Implements: blueprint enginefacade-switch
Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db

Co-Authored-By: Michael Bayer <mike_mp@zzzcomputing.com>
Depends-On: If4b28110f460f6ac77ace1bbb02967ea986d4cab
Depends-On: I9f1e76cb24838533572b5fbe269ff96a24ce4af1
Change-Id: I0d65d19204da8ce30addfa5faff68544534b7853
2018-04-26 22:04:07 +00:00
Rabi Mishra
a75014792a Revert "Automatically expire obsolete relationships"
This reverts commit 90ede813b06eb46472824a7090354c31cf43791f.

Closes-Bug: #1766267
Change-Id: Ia491a2a404bcbd9e108d20b2d9393aff1bb48c8e
2018-04-23 14:30:32 +00:00
Ihar Hrachyshka
90ede813b0 Automatically expire obsolete relationships
Listen for foreign key changes and expire related relationships.

With this, we can remove OVO code that refreshes / detaches models on
each fetch. The patch also removes a bunch of expunge calls in plugin
code.

writer.using context manager is added to _get_subnets so that segment
plugin's _notify_subnet_updated handler that calls to _get_subnets
doesn't use the facade-less context.session that in specific cases may
cache old models from previous sessions when used in mixed
facade/facade-less environment.

This patch bumps SQLAlchemy minimal requirement to >= 1.2.0 because
pending_to_persistent event didn't exist before this version. It could be >=
1.1.0 if not for the fact that all 1.1.x releases have a bug that results in
breakage of test_update_with_none_and_own_mac_for_duplicate_ip due to obscure
import ordering issue in the library.

(The issue is fixed by https://github.com/zzzeek/sqlalchemy/commit/
63ff0140705207198545e3a0d7868a5ba8486e93)

Partially-Implements: blueprint enginefacade-switch
Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db

Co-Authored-By: Michael Bayer <mike_mp@zzzcomputing.com>
Change-Id: I18c6794f99d2847c208dfd6e9eb187d53b657a05
2018-04-20 15:33:59 -05:00
Sławek Kapłoński
fb75ce0319 Update RYU to be 4.24 to sort out issues with pip 10
This version of RYU doesn't import from pip which causes
problems with pip 10.

Change-Id: I3edc85ebbb1c23f970a44393a6439403fdc38bcf
2018-04-16 15:49:46 +00:00
Nguyen Hai
11f1439bdf Fix incompatible requirement in lower-constraints
Fix lower-constraints don't match the lower bounds
in the requirements file(s). It may cause fail in
requirements-check.

REF:
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html

Change-Id: Ib837a7f8d257f116845d483cd63bf362f10725d1
2018-04-07 11:15:47 +09:00
Doug Hellmann
3c85a1e140 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I78f0beea8f78aa635b59bc80c97fec41412049e0
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 16:27:44 -04:00