8502 Commits

Author SHA1 Message Date
Jenkins
c49c87d1e4 Merge "Add the rebinding chance in _bind_port_if_needed" 2015-02-13 15:35:57 +00:00
Jenkins
4f5917e9e9 Merge "Remove unused RPC methods from l3_rpc" 2015-02-13 08:57:07 +00:00
Jenkins
3f97b39781 Merge "OVS DVR: Remove dead code" 2015-02-13 08:51:12 +00:00
Jenkins
722658381d Merge "Updated from global requirements" 2015-02-13 08:50:57 +00:00
Jenkins
f8327df8aa Merge "Cleanup in keepalived tests" 2015-02-13 05:19:55 +00:00
Jenkins
252ffe38ba Merge "Fix AttributeError exception for API's test_network_lifecycle" 2015-02-13 03:39:58 +00:00
YAMAMOTO Takashi
380ec33d71 OVS DVR: Remove dead code
This is a leftover from commit e90ea7ce3f1aae1dce216618da49d37a64d3bb91 .

Change-Id: I13d10d00f86659bc7c76df9be0cd8b8ec6713bc6
2015-02-13 11:09:37 +09:00
OpenStack Proposal Bot
06ee315854 Updated from global requirements
Change-Id: Ic74d16fa084e598273a7c1f33fe67843757da6e1
2015-02-13 01:54:07 +00:00
Jenkins
1714ee07a7 Merge "hacking: also catch 'import oslo.*' imports" 2015-02-13 00:13:04 +00:00
armando-migliaccio
4f17ee26ff Fix AttributeError exception for API's test_network_lifecycle
Change I2be04f600e6bd8d7d78948d25395d8e04fa0dea3 moved the
exception to tempest_lib. We should use the new import.

Closes-bug: #1421454

Change-Id: Id9ec2537261f101b1bed895bfe5ef2943b8548d2
2015-02-12 15:32:31 -08:00
Ihar Hrachyshka
f7a5aa28b7 Raise timeout for test_conntrack_disassociate_fip
It seems that 15 secs is not always enough, so raise the timeout to
something guaranteed to indicate a failure.

Change-Id: I4821983ebb2ef9483c0d35737794ddb45ddd4ac6
Closes-Bug: #1421354
2015-02-12 19:56:31 +01:00
Jenkins
7071cfa9d7 Merge "keepalived: use sh instead of bash for notifier scripts" 2015-02-12 18:19:41 +00:00
Jenkins
2d19c48cfc Merge "Check conntrack rule cleanup on floating IP disassociate" 2015-02-12 18:13:55 +00:00
Jenkins
4cbcef9220 Merge "Revert "monkey patch stdlib before importing other modules"" 2015-02-12 17:30:06 +00:00
Jenkins
92b49d46c8 Merge "Remove deprecated DEFAULT.root_helper" 2015-02-12 16:10:34 +00:00
Jenkins
f4651350c4 Merge "Scope state reporting rpc api using a messaging namespace" 2015-02-12 15:53:24 +00:00
Assaf Muller
f88b8eae7a Cleanup in keepalived tests
A recent patch introduced a new keepalived manager utility
function which returns the keepalived.conf file contents,
but the keepalived functional test was not updated to use it.
Also, a bunch of unneeded logging configuration was removed from
this test.

Additionally, the keepalived configuration functional test
in the L3 agent testing module compares expected configuration
to an in-memory representation of the configuration that will
be persisted to disk. It's better to compare the expected
configuation with what was actually written to disk.

Change-Id: I0d6f73c5326d2ba1960456a151a67517db5cce7a
2015-02-12 08:37:28 -05:00
Jenkins
86dbb886be Merge "Move NCS mech driver to its new home" 2015-02-12 01:27:42 +00:00
armando-migliaccio
c229b58cf2 Revert "monkey patch stdlib before importing other modules"
The projects that depend on Neutron do not play nicely with this.

This reverts commit 24b11ded7f6ff12f9484aecdb8d30498bf1b9025.

Change-Id: Ic7afd7de9db97cc3a085bc842a2d990519cf42f6
2015-02-11 17:26:33 -08:00
Swaminathan Vasudevan
934c04d19a Remove unused RPC methods from l3_rpc
This removes the unsued RPC methods from
l3_rpc.py. 'get_snat_router_interface_ports"
was defined but not used by any agent.

Change-Id: Ide08e2a4b183b4f2616550efd5b1fb726b016b4c
Closes-Bug: #1421011
2015-02-11 15:41:19 -08:00
Jenkins
39e6e60319 Merge "Scope dvr rpc api using a messaging namespace" 2015-02-11 23:02:15 +00:00
Henry Gessau
31ee6f094f Move NCS mech driver to its new home
The NCS driver is scheduled for decomposition, and in the targetted vendor repo
the files are in a new location in the tree. Before we can decompose the driver
we must move it to its new location in the neutron tree.

A future patch will decompose (thin) the driver and add requirements.txt.

Partial-Bug: #1416713
Partially Implements: blueprint core-vendor-decomposition

Change-Id: If9d098bbbd571f53f945122e007d12d561295546
2015-02-11 16:57:33 -05:00
Jenkins
de9cd5c9aa Merge "Moved hacking unit test into proper location" 2015-02-11 21:56:17 +00:00
Jenkins
368aaeaff4 Merge "Refactor radvd control in the l3-agent" 2015-02-11 21:54:22 +00:00
Jenkins
5e69e9a18c Merge "Correctly mock-out 'ip route...' calls in IPv6 test" 2015-02-11 19:19:54 +00:00
Jenkins
dea4755a30 Merge "monkey patch stdlib before importing other modules" 2015-02-11 19:06:50 +00:00
Jenkins
014026ed38 Merge "Add index on tenant_id" 2015-02-11 16:14:27 +00:00
Ihar Hrachyshka
7778edb92f keepalived: use sh instead of bash for notifier scripts
Those scripts are pretty trivial, calling external commands and using
kill -s and $(...) construction. All that is available in POSIX shell,
so let's not use bash in shebang and utilize more performant shell in
case /bin/sh != /bin/bash (valid for Debian based systems).

Change-Id: Ib5264c5ef51ca9028d7c27d440104a5ab978a557
2015-02-11 17:10:10 +01:00
Jenkins
e49abc9729 Merge "NEC: Merge NEC plugin models into single module" 2015-02-11 14:44:23 +00:00
Jenkins
cae9d39a9c Merge "Use ovsdb-api neutral column/value mappings" 2015-02-11 14:11:10 +00:00
Jenkins
d490e9becd Merge "Prepare to functionally test OVSDB interfaces" 2015-02-11 14:10:57 +00:00
Ihar Hrachyshka
3b6a2902f0 hacking: also catch 'import oslo.*' imports
Enhanced N323 hacking check to catch 'import oslo.*' form of obsolete
imports.

Added missing unit tests.

Change-Id: I92ae3818fbfd304dfc5e77596483c7caf6775e69
2015-02-11 14:06:42 +01:00
Ihar Hrachyshka
06c98c950a Moved hacking unit test into proper location
blueprint reorganize-unit-test-tree

Change-Id: I6a3bd8aebad75a5addb543676afecaef43ca30a4
2015-02-11 14:06:37 +01:00
Jenkins
bd7ca7eced Merge "Typos fixed" 2015-02-11 03:28:28 +00:00
Jenkins
dd8804b065 Merge "Remove use of keepalived 'vrrp_sync_group' as it is unused" 2015-02-11 03:01:20 +00:00
Terry Wilson
987b0028e0 Use ovsdb-api neutral column/value mappings
The format ('column:field', 'value') for map-type ovsdb values is
ovs-vsctl-specific. The updated implementation-neutral way to do
this is ('column', {'field': 'value'}).

Partially-Implements: blueprint vsctl-to-ovsdb
Change-Id: Icc917c97963204c01e0e9054cdcb9d8ec60f6ec1
2015-02-11 02:44:20 +00:00
Terry Wilson
b0108fb8b4 Prepare to functionally test OVSDB interfaces
When the OVSDB interface is added, make it easy to run all
ovs-related functional tests against both interfaces.

Partially-Implements: blueprint vsctl-to-ovsdb
Change-Id: Iadff4ec8c44be61861a2358745c7b08dc8985d26
2015-02-11 02:43:23 +00:00
Akihiro Motoki
40a51b1d6b NEC: Merge NEC plugin models into single module
To simplify the maintenance of plugin-specific models,
this patch moves all models of NEC plugin into a single module.

Partial-Bug: #1419396
Related blueprint core-vendor-decomposition

Change-Id: Icd914450bf80bd64abb4bb49c7048d678fd0bf0f
2015-02-11 06:38:24 +09:00
Aparupa
264e69bc9d Typos fixed
Change-Id: I936261efb9ab59e6149f13b475daf514985a4324
2015-02-10 13:28:17 -08:00
Russell Bryant
566be7bd25 Scope state reporting rpc api using a messaging namespace
This patch does a couple of things.  First it adds docstrings to the
client/server pair of the rpc interface used by an agent to report
state back to the plugin.  The docs tell you where the other side of
the interface is found in the code, and where docs are that give more
info on the rules for changing them.

The second thing done in this patch is to scope this interface using a
messaging namespace.  Right now some plugins expose several interfaces
via the default namespace.  This effectively means they are a single
API and should be managed with a single version stream.  It's much
more managable to just treat these as separate interfaces and this
change makes that explicit and functionally true.  Now when a method
is invoked, the only classes considered for handling that request will
be ones marked with the right namespace.

Part of blueprint rpc-docs-and-namespaces.

Change-Id: I832db5c81780d98157a68d4abaf9787ba00adbeb
2015-02-10 16:15:59 -05:00
Jenkins
73fc4bc023 Merge "Updated from global requirements" 2015-02-10 20:32:38 +00:00
Jenkins
09c47b6ceb Merge "Deleting HA router with attached port causes DB inconsistencies" 2015-02-10 20:27:21 +00:00
Yoni Shafrir
90df090945 Remove use of keepalived 'vrrp_sync_group' as it is unused
Now keepalived configuration wraps the VRRP instances with a
'vrrp_sync_group'. The VRRP sync group functionality is only
relevant when more then one VR instance is contained in it.
In that case the VRs in the group will have the same state.
Our use of keepalived uses a single instance per router.

This patch simply removes the 'vrrp_sync_group'.
In this patch VR instances are used on their own and they now
hold the 'notify_scripts'.

Note that the same VRRP functionality is preserved with this
patch.

Another motiviation for this patch, aside from removing
useless configuration, is to lay the foundation for a future
patch that will the related bug by adding 'track_script'
that are not supported with 'vrrp_sync_group'.

Change-Id: I33b81049cd9cf140244bbf121d1a71492161c77c
Related-Bug: #1365461
2015-02-10 20:03:15 +00:00
Russell Bryant
8c2423c984 Scope dvr rpc api using a messaging namespace
This patch does a couple of things.  First it adds docstrings to the
client/server pair of the rpc interface used by the ovs agent
to make dvr related calls back into the Neutron server.  The docs
tell you where the other side of the interface is found in the code,
and where docs are that give more info on the rules for changing them.

The second thing done in this patch is to scope this interface using a
messaging namespace.  Right now some plugins expose several interfaces
via the default namespace.  This effectively means they are a single
API and should be managed with a single version stream.  It's much
more managable to just treat these as separate interfaces and this
change makes that explicit and functionally true.  Now when a method
is invoked, the only classes considered for handling that request will
be ones marked with the right namespace.

Part of blueprint rpc-docs-and-namespaces.

Change-Id: Ieb1f023f5ab0ba66620d07e90005a49f1d40574c
2015-02-10 14:07:29 -05:00
OpenStack Proposal Bot
c81e103b20 Updated from global requirements
Change-Id: I6ed8e5c100148405fb047dfc613d7dee5f8c5582
2015-02-10 17:02:18 +00:00
Jenkins
a97b9a4944 Merge "Remove VPN specific exception" 2015-02-10 16:40:56 +00:00
Roman Podoliaka
e1cf835345 Add index on tenant_id
This will greatly speed up SELECTs with filters by tenant_id (e.g.
when checking if we are going to exceed the quota value per resource
per tenant).

Closes-bug: #1419815

Change-Id: Iab80cce701e1f12dbf7a4f60d5ce945c6e7d0e2d
2015-02-10 18:17:40 +03:00
Terry Wilson
fb79d9bd77 Remove deprecated DEFAULT.root_helper
root_helper has been deprecated under [DEFAULT] since the quantum
to neutron rename. It's time to finally remove handling it.

DocImpact
UpgradeImpact
Partially-Implements: blueprint rootwrap-daemon-mode
Change-Id: I17cd62c8763430bf3a4b67ab5e9cf5b736065133
2015-02-10 08:44:30 -06:00
Jenkins
874dd6db8a Merge "Use weak ref to avoid deleting fip namespace through agent" 2015-02-10 07:30:11 +00:00
Jenkins
1d3c79283c Merge "Move DVR floating ip methods to dvr_router" 2015-02-10 06:50:04 +00:00