17703 Commits

Author SHA1 Message Date
Jenkins
a94223a685 Merge "Stop skipping compute owner in Linux Bridge loop" 2017-03-07 18:52:52 +00:00
Jenkins
4118ea2e7b Merge "gate_hook: accept dsvm-scenario-[ovs|linuxbridge] venv name" 2017-03-07 16:19:07 +00:00
Jenkins
97db8aab07 Merge "Get rid of ML2 inheritance of delete_network" 2017-03-07 12:48:14 +00:00
Jenkins
877d08b3fe Merge "Ensure ovsdb_connection enabled before calling monitor" 2017-03-07 05:13:00 +00:00
Jenkins
f6a0df0f1f Merge "Cleaned up the list of lieutenants and stadium points-of-contact" 2017-03-07 00:25:09 +00:00
Terry Wilson
6975e2a48e Ensure ovsdb_connection enabled before calling monitor
ovsdb-client monitor attempts to connect to ovs via the
ovsdb_connection if it is set. Since it is set by default, we need
to ensure that OVS is listening on the socket before calling
ovsdb-client monitor.

Closes-Bug: #1669893
Depends-On: Ibde5417d005265d27e939ca29788c21f73b38980
Change-Id: Ia34b9d599b522dd12ef088100c2b68a75a78d797
2017-03-06 22:19:18 +00:00
Kevin Benton
1feb19c83f Stop skipping compute owner in Linux Bridge loop
Nova Ocata and Newton have protection against bridge
creation races in os-vif[1] so we no longer need
to special-case this port type in the Linux Bridge
loop going forward in Pike.

1. Ib0266086e0caffecf3f9f2a8291369cfa155f386

Related-Bug: #1617447
Change-Id: I2a23d0cbc4c4d0db6e9f48d91ca03b5007f91a84
2017-03-06 17:59:32 +00:00
Armando Migliaccio
ca751a1486 Spin off context module
NeutronLibImpact

Partially-implements: blueprint neutron-lib

Change-Id: I48cf45dc1b07035d952152eac2548a3bd9fc2832
2017-03-06 16:25:29 +00:00
Jenkins
5691f29e8f Merge "Bump to Nova V2.1" 2017-03-06 05:27:33 +00:00
Ihar Hrachyshka
d2b8b29e40 Cleaned up the list of lieutenants and stadium points-of-contact
Sadly, Nate is no longer with the team. Also Doug left us a while ago.
However we may like to blame others for all faults, it's time to free
those two from responsibility for the code.

Also, new infra liaisons were added.

Change-Id: Ief906ef64922acb4d3e7370c3d1e3ed75fe92a04
2017-03-05 19:30:19 +00:00
Jenkins
81f01c83aa Merge "Fix typo in test_rules.py" 2017-03-05 18:03:03 +00:00
OpenStack Proposal Bot
a3c84de5d8 Updated from global requirements
Change-Id: I6af8fc82ff7dce731f7f7baae88160af31a214ad
2017-03-04 11:19:58 +00:00
Jenkins
f25b779af0 Merge "Use Sphinx 1.5 warning-is-error" 2017-03-04 05:24:35 +00:00
Jenkins
b34f705536 Merge "Deprecate nova_metadata_ip in favor of nova_metadata_host option" 2017-03-04 03:55:40 +00:00
Kevin Benton
1f5ee0e894 Get rid of ML2 inheritance of delete_network
In an effort to simplify the codebase, this eliminates
all of the custom code in the ML2 delete_network
method and leverages registry callbacks for network
events.

The only purpose of the remaining inheritance of the
method is to leave the transaction guard on.

Partial-Bug: #1666424
Change-Id: Ib7d1c2081654dda82b5e015c71d20f378f3308f7
2017-03-03 19:38:23 -08:00
Jenkins
6593436cf8 Merge "Stop killing conntrack state without CT Zone" 2017-03-04 03:15:07 +00:00
Andreas Jaeger
5c5fcaf528 Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.

Change-Id: Ic4f2dd097137e4fa12acbdbfa47ea078d1b6d105
2017-03-04 02:30:10 +00:00
Jenkins
52f9d90484 Merge "Use registry.receives decorator in neutron.db.dvr_mac_db" 2017-03-03 23:11:15 +00:00
Jenkins
b6edc5f608 Merge "Use registry.receives decorator in neutron.db.l3_dvr_db" 2017-03-03 23:10:01 +00:00
Ken'ichi Ohmichi
551ba9580b Bump to Nova V2.1
Nova V2.1 API has been available since Kilo, and the API is CURRENT.
Neutron is using Nova API via novaclient and the used Nova API is
V2.1 on the gate as the default Nova endpoint. So this patch doesn't
change the used Nova API actually, but current novaclient skips checking
expected API version in a response from Nova API.
This patch will be helpful to avoid an issue when enabling this check
on novaclient side.

NOTE: Cinder is using Nova v2.1 API with the similar patch as
      Iadd3363265be6c5a8ed46704a712da6c15e2b046

Change-Id: Ie3a10f7078f4213da77be522e3866f82b5e8683c
2017-03-03 14:08:01 -08:00
Jenkins
807bea9f67 Merge "Convert gate_hook to devstack-tools" 2017-03-03 21:27:14 +00:00
Jenkins
dbe300f143 Merge "Enforce port QoS policies for all ports." 2017-03-03 21:23:00 +00:00
Kevin Benton
ff3132d8d4 Stop killing conntrack state without CT Zone
The conntrack clearing code was belligerenty killing connections
without a conntrack zone specifier when it couldn't get the zone
for a given device. This means it would kill all connections based
on an IP address match, which meant hitting innocent bystanders
in other tenant networks with overlapping IP addresses.

This bad fallback was being triggered every time because it was
using the wrong identifier for a port to look up the zone.

This patch fixes the port lookup and adjusts the fallback behavior
to never clear conntrack entries if we can't find the conntrack
zone for a port.

This triggered the bug below (in the cases I root-caused) by
killing a metadata connection right in the middle of retrieving
a key.

Closes-Bug: #1668958
Change-Id: Ia4ee9b3305e89c958ac927980d80119c53ea519b
2017-03-03 19:22:45 +00:00
Jenkins
9ea1fd034a Merge "Include metadata content for debugging" 2017-03-03 16:20:28 +00:00
Jenkins
12fb2266ca Merge "Remove unused enable_snat attribute" 2017-03-03 16:13:57 +00:00
Jenkins
d3386831b6 Merge "[Fix gate]Update test requirement" 2017-03-03 16:11:41 +00:00
Jenkins
c1a0e6387e Merge "Fetch trunk port MTU only on trunk validation" 2017-03-03 02:32:52 +00:00
Jenkins
a8da683d80 Merge "LB Trunk: Stop matching MAC of subport to port model" 2017-03-02 23:45:47 +00:00
Cedric Brandily
366dd7cc37 Deprecate nova_metadata_ip in favor of nova_metadata_host option
nova_metadata_ip option name is a bit confusing as it accepts an ip but
also a dns name (which is required when https protocol is used).

This change deprecates nova_metadata_ip option in favor of
nova_metadata_host option and updates option help to highlight that we
can use an ip or a dns name.

DocImpact
Closes-Bug: #1585699
Change-Id: Ia6c2471c7b4f3e924941222133edbb90151757a5
2017-03-02 21:01:37 +01:00
Kevin Benton
5a6f98a30e Include metadata content for debugging
This will help root cause the Cirros image complaining
about a lack of keys when they are visibly present in the
Nova API logs.

Related-Bug: #1668958
Change-Id: I606c56f73be147e7f3281dfc73b874e404c39675
2017-03-02 11:23:18 -08:00
ricolin
c3dda72181 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Ie0a2cef329e2820ffe60c512a4870c0c3053574a
2017-03-02 17:52:11 +00:00
Jenkins
cb53684278 Merge "Fix typo in blueprints.rst" 2017-03-02 17:33:10 +00:00
Jenkins
a520fc6156 Merge "Don't use save_and_reraise_exception when we never reraise" 2017-03-02 17:15:46 +00:00
Jenkins
b665f3cbd2 Merge "Provide more useful repr for IPDevice" 2017-03-02 14:33:00 +00:00
Jenkins
ecdc6cc31c Merge "Switch external network create event to precommit" 2017-03-02 13:21:37 +00:00
Jenkins
58b525fe27 Merge "Use registry.receives decorator in driver_controller" 2017-03-02 13:21:13 +00:00
Jenkins
4e70012a52 Merge "Use @registry.receives in neutron.services.qos.drivers.base" 2017-03-02 13:11:16 +00:00
Jenkins
4ee8f6e7fc Merge "Remove obsolete comment" 2017-03-02 13:10:38 +00:00
Jenkins
55d3c9a79d Merge "Scan for mac through all devices" 2017-03-02 11:16:27 +00:00
Jenkins
9cdfd12a47 Merge "Fix has_registry_receivers when super.__new__ is object.__new__" 2017-03-02 10:49:44 +00:00
Jenkins
2bf91b2f10 Merge "Use registry.receives decorator in neutron.db.availability_zone.router" 2017-03-02 06:30:08 +00:00
YAMAMOTO Takashi
5bd08ce7f9 Don't use save_and_reraise_exception when we never reraise
Otherwise we get "Original exception being dropped" messages.

Closes-Bug: #1669244
Change-Id: Iecda4cce3f87c1a5a18cf365a3d6bdf5a8b4b514
2017-03-02 14:36:28 +09:00
Kiseok Kim
79f69245b3 Fix typo in test_rules.py
Trivial fix

Change-Id: I10851991581dff623317f77c55c231f698a5fa5a
2017-03-02 02:57:23 +00:00
Jenkins
cb94b52930 Merge "Deprecate gateway_external_network_id option" 2017-03-02 00:28:53 +00:00
Cedric Brandily
4f237819cf Use @registry.receives in neutron.services.qos.drivers.base
Switch to registry.receives decorator in neutron.services.qos.drivers.base

Change-Id: If7532e0f08824523b55f0de53a59525d519ca7f9
Partial-Bug: #1668262
2017-03-01 23:18:04 +00:00
Jenkins
5d41e5f3f9 Merge "Remove deprecated methods supported by neutron_lib" 2017-03-01 22:03:51 +00:00
Cedric Brandily
2f4a5f8f37 Use registry.receives decorator in driver_controller
Switch to registry.receives decorator in
neutron.services.l3_router.service_providers.driver_controller.

Change-Id: I96b32365ef15c5e7c1f54cf58f1451e978f6bd91
Partial-Bug: #1668262
2017-03-01 19:48:20 +00:00
Cedric Brandily
e3cd8e9bdf Use registry.receives decorator in neutron.db.dvr_mac_db
Switch to registry.receives decorator in neutron.db.dvr_mac_db.

Change-Id: I7f1426adabe1d97b8df11d561454972354c23b14
Partial-Bug: #1668262
2017-03-01 19:46:32 +00:00
Cedric Brandily
792afbfab2 Fix has_registry_receivers when super.__new__ is object.__new__
This change updates has_registry_receivers implementation in order to
call super.__new__ without args, kwargs parameters if super.__new__ is
object.__new__ (which forbids args, kwargs parameters). Without this fix
decorated class instantiation with positional or/and keyword arguments
fail.

Change-Id: I25880f6142f294fdde9db7f453d5e649c79029d0
2017-03-01 20:39:32 +01:00
Kevin Benton
d794aee878 Provide more useful repr for IPDevice
This is handy when calling print on a list of IPDevice objects.

TrivialFix
Change-Id: I58195da032c2fa2546aa174b7b3c34c6470eeb5b
2017-03-01 11:19:22 -08:00