266 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
Doug Hellmann
787cab55ce uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I6faaf54f43345979245545acff9051c6f1465a58
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-11 11:52:26 -04:00
OpenStack Proposal Bot
6c50a12c3c Updated from global requirements
Change-Id: I5a68d0b181e59ecd5d8c0d1876fc962027922152
2018-03-10 13:27:26 +00:00
OpenStack Proposal Bot
6c2f3ede36 Updated from global requirements
Change-Id: I2dbdd2904b682d33872e2e1ec051bdf9bbd4ed8d
2018-02-17 09:48:10 +00:00
OpenStack Proposal Bot
b8b043ada5 Updated from global requirements
Change-Id: I40151d3a87f40249b4393937631531bcec6d14eb
2018-02-01 07:17:59 +00:00
OpenStack Proposal Bot
054aa3a29b Updated from global requirements
Change-Id: I00aa2d6160206ac6ee8dc85be152b35034d08e60
2018-01-16 12:37:23 +00:00
OpenStack Proposal Bot
29c579147a Updated from global requirements
Change-Id: I3bd6a2df8e082d2d193be3517953016714b25748
2017-12-26 16:04:42 +00:00
OpenStack Proposal Bot
4a7f5d322c Updated from global requirements
Change-Id: I471d6feb7cb499b2fe1a1e7822b43fb2c7a7ecc6
2017-12-19 01:28:11 +00:00
OpenStack Proposal Bot
d080adf975 Updated from global requirements
Change-Id: I36c2defa9c988f12507f482c7f2402ec898ff36c
2017-12-10 07:20:47 +00:00
OpenStack Proposal Bot
4b807dd7b6 Updated from global requirements
Change-Id: Iaa3306bc51cd6fd65350ef2882a1d3f7f0a2f867
2017-11-17 06:57:36 +00:00
OpenStack Proposal Bot
f442554bbb Updated from global requirements
Change-Id: Ib0ef9ca79e46da042ccf8a8b3a4b33d15d4805de
2017-11-16 11:13:55 +00:00
OpenStack Proposal Bot
c4b47529c7 Updated from global requirements
Change-Id: I7f17f8ced02a319c4cc535abfed36f222b81e953
2017-11-02 13:49:39 +00:00
OpenStack Proposal Bot
20d7a2b304 Updated from global requirements
Change-Id: I3144659db9b8db861088fa5584ea384f5c5c4422
2017-10-23 11:05:44 +00:00
OpenStack Proposal Bot
14d71cd4d6 Updated from global requirements
Change-Id: I90158efb714c744a8e10855e228593a4d00da15f
2017-09-28 05:56:08 +00:00
OpenStack Proposal Bot
e0f44fee21 Updated from global requirements
Change-Id: Ib2916c963cf0656e24c8ec68b6df5a3dd60cbd28
2017-09-16 23:16:34 +00:00
OpenStack Proposal Bot
d09f2438e8 Updated from global requirements
Change-Id: I2250ce4f1aab3421452aace50b61ef0f245f4b5c
2017-09-13 12:55:07 +00:00
OpenStack Proposal Bot
2ab7c23b45 Updated from global requirements
Change-Id: I7fe9d059016edbb26a8fb6f27a1a6e8b41494edd
2017-08-23 23:28:50 +00:00
OpenStack Proposal Bot
016e9a2bf8 Updated from global requirements
Change-Id: Ia3d2664396defe1646828baf89c66a01aa0f1b37
2017-07-28 01:15:52 +00:00
OpenStack Proposal Bot
e55eeece02 Updated from global requirements
Change-Id: I414fe99e1c315349cece07460c9d2545d8d56142
2017-07-21 13:11:47 +00:00
OpenStack Proposal Bot
354dd697cf Updated from global requirements
Change-Id: Ibd767e2286242218b5f83ee96bce4721593a3bff
2017-07-18 01:50:15 +00:00
OpenStack Proposal Bot
d7e7dd451a Updated from global requirements
Change-Id: Ie7f849de12a893833aaab64f636c4e11d653b364
2017-07-16 00:19:20 +00:00
OpenStack Proposal Bot
2ef34cb949 Updated from global requirements
Change-Id: I206754b68041b91cbafc1554006f773001d2fd44
2017-07-08 00:49:43 +00:00
OpenStack Proposal Bot
8856a761a2 Updated from global requirements
Change-Id: I218dbc85d829e96fb94cf840c910980c764ed454
2017-06-20 11:47:04 +00:00
OpenStack Proposal Bot
8cc9348181 Updated from global requirements
Change-Id: I047caa0164ea3aeff08bb442329b97889ccd92e8
2017-06-15 22:45:38 +00:00
OpenStack Proposal Bot
8d9fcb2d30 Updated from global requirements
Change-Id: Ie8979725f50c7d6fd8d1101bc344c7b46bfe029b
2017-06-08 06:03:54 +00:00
OpenStack Proposal Bot
e253d7164d Updated from global requirements
Change-Id: If78347ea0ad1a9589bd1d8c4281ed04025b8cfb2
2017-05-26 17:23:03 +00:00
OpenStack Proposal Bot
b1747f0e9b Updated from global requirements
Change-Id: I5e23dcde7dd8f358f0582896dd1df237f98a7cda
2017-05-20 04:39:12 +00:00
OpenStack Proposal Bot
7c33804ef2 Updated from global requirements
Change-Id: Ia887d89a60a96ede04460dc06135c9c016b232d8
2017-05-17 03:51:56 +00:00
OpenStack Proposal Bot
c3540d43f0 Updated from global requirements
Change-Id: I08d35a03e9298850661a798c9b90d1f63df30349
2017-05-08 20:59:29 +00:00
OpenStack Proposal Bot
d33a59f83d Updated from global requirements
Change-Id: I1fc0f38d155a6fc338db12312c80940f15ead760
2017-05-03 21:21:59 +00:00
Terry Wilson
e6333593ae Use the ovsdbapp library
This patch uses the ovsdbapp Python library, which is the new
project based on the Neutron OVSDB API.

The CLI implementation of the OVSDB API remains in the Neutron
tree.

Neutron continues providing the (deprecated) ability to allow
the OVSDB API to be imported from Neutron.

The deleted tests exist in the ovsdbapp project. More will be
moved later, but many of the tests in the Neutron tree use
ovs_lib, which doesn't exist in ovsdbapp so those tests will
probably stay in the Neutron tree.

Closes-Bug: #1684277
Depends-On: I3d3535b1d6fe37c78a9399903b65bbd688b1c4b9
Change-Id: Ic8c7db0e80d0ad104242322d3f1f70cab8caab92
2017-04-20 20:13:48 -05:00
OpenStack Proposal Bot
ac4380b00d Updated from global requirements
Change-Id: I8511fca9fa2de1eb565bac34681d7d70865ad068
2017-04-19 17:52:45 +00:00
OpenStack Proposal Bot
e4c1c4c491 Updated from global requirements
Change-Id: I00fb451cf08996e12866ba8c1c9f6ab504e39ac8
2017-04-14 11:48:13 +00:00
Jenkins
f9b9474e8c Merge "Use os-xenapi for neutron when XenServer as hypervisor" 2017-04-05 11:55:46 +00:00
OpenStack Proposal Bot
35fbd670d6 Updated from global requirements
Change-Id: I8e5b37364c0e80a532f4998d62fe5057091ffbec
2017-04-03 16:51:51 +00:00
Huan Xie
bc23e29423 Use os-xenapi for neutron when XenServer as hypervisor
We have made os-xenapi repository to deal with XenServer Dom0
specific functions, this patch is to change neutron to use
os-xenapi when XenServer is hypervisor and move the building
RPM scripts into os-xenapi repo

Depends-On: I8a31c81d9475387fe4ed7030b70b26098e588771

Change-Id: Ia958c366189386b1b5abbadbb4d74950aaa23bb2
2017-03-30 18:33:37 +00:00
OpenStack Proposal Bot
5afbdbaa59 Updated from global requirements
Change-Id: Idd7be98a46c379278145673ffa58d1746bf86366
2017-03-22 22:22:35 +00:00
Jenkins
e3f818733f Merge "Don't return null-byte separated string from ExternalProcess.cmdline()" 2017-03-20 23:41:08 +00:00
OpenStack Proposal Bot
8f7cb1be9b Updated from global requirements
Change-Id: I9ba1bdc32a1d9053b117f40d27d054bc63fd08df
2017-03-17 11:57:26 +00:00
Ihar Hrachyshka
9c7ca5cc02 Don't return null-byte separated string from ExternalProcess.cmdline()
Instead construct the string using psutil.Process.cmdline() method that
will parse the data from kernel for us and will return a proper
space-separated command line (plus will provide some more safety
guarantees, e.g. against zombies).

This change also introduces a new psutil dependency for neutron. Before
that, the library was used in functional tests only, and with a minimal
version number that is not compatible with global-requirements.txt or
.cmdline(). Moved the requirement into runtime requirements.

Related-Bug: #1672921
Change-Id: I780ea10bd1870c86c1a048071863843bc2993958
2017-03-08 07:50:51 +00:00
OpenStack Proposal Bot
a3c84de5d8 Updated from global requirements
Change-Id: I6af8fc82ff7dce731f7f7baae88160af31a214ad
2017-03-04 11:19:58 +00:00
OpenStack Proposal Bot
955347a54c Updated from global requirements
Change-Id: I15e7a6c8c90c4967cf318e169b61d91015b6ffef
2017-03-01 04:10:31 +00:00
OpenStack Proposal Bot
72e9f60ca6 Updated from global requirements
Change-Id: I847eb889cae34b49130cdb2d5b1b50faf773b460
2017-02-13 15:15:21 +00:00
Jordan Pittier
c34e11a2f8 Remove dependency on memory heavy python-requests.
It turns out that Neutron uses python-requests on just one place
and for no good reason. Given that loading Requests amount for 80MB
of RAM in my system, maybe it's worth removing our dependency on
requests.

Change-Id: I905252a55bd174ff1aa8bdec42fe32432746846f
2017-02-10 17:07:44 +01:00
OpenStack Proposal Bot
8aa7a46251 Updated from global requirements
Change-Id: I4de6712e7d554325ccf6f841b9e0bb1c911d749c
2017-02-03 00:19:33 +00:00