]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Remove openvswitch core plugin entry point"
Jenkins [Tue, 11 Nov 2014 12:03:34 +0000 (12:03 +0000)]
Merge "Remove openvswitch core plugin entry point"

9 years agoMerge "rootwrap config files reference deleted quantum binaries"
Jenkins [Tue, 11 Nov 2014 08:19:01 +0000 (08:19 +0000)]
Merge "rootwrap config files reference deleted quantum binaries"

9 years agoMerge "Enable assignment-from-no-return pylint check"
Jenkins [Tue, 11 Nov 2014 03:31:19 +0000 (03:31 +0000)]
Merge "Enable assignment-from-no-return pylint check"

9 years agoMerge "NEC plugin: Allow to apply Packet filter on OFC router interface"
Jenkins [Tue, 11 Nov 2014 00:42:40 +0000 (00:42 +0000)]
Merge "NEC plugin: Allow to apply Packet filter on OFC router interface"

9 years agoMerge "Add assertion to test_page_reverse method"
Jenkins [Tue, 11 Nov 2014 00:40:01 +0000 (00:40 +0000)]
Merge "Add assertion to test_page_reverse method"

9 years agoMerge "Remove duplicate ensure_remove_chain method in iptables_manager"
Jenkins [Tue, 11 Nov 2014 00:34:09 +0000 (00:34 +0000)]
Merge "Remove duplicate ensure_remove_chain method in iptables_manager"

9 years agoMerge "SRIOV: Fix Wrong Product ID for Intel NIC example"
Jenkins [Tue, 11 Nov 2014 00:33:55 +0000 (00:33 +0000)]
Merge "SRIOV: Fix Wrong Product ID for Intel NIC example"

9 years agoMerge "Fix L3 HA network creation to allow user to create router"
Jenkins [Tue, 11 Nov 2014 00:25:45 +0000 (00:25 +0000)]
Merge "Fix L3 HA network creation to allow user to create router"

9 years agoMerge "Merge tag '2014.2'"
Jenkins [Mon, 10 Nov 2014 22:25:20 +0000 (22:25 +0000)]
Merge "Merge tag '2014.2'"

9 years agoRemove openvswitch core plugin entry point
Cedric Brandily [Mon, 10 Nov 2014 10:43:09 +0000 (11:43 +0100)]
Remove openvswitch core plugin entry point

The openvswitch core plugin has been removed but not its associated
"neutron.core_plugins" entry point. This change removes it from
setup.cfg.

Change-Id: I79f7c334cdeb0f4d0d68743734f69c0ec8523467
Related-Bug: #1323729
Closes-Bug: #1391326

9 years agorootwrap config files reference deleted quantum binaries
Cedric Brandily [Mon, 10 Nov 2014 17:50:38 +0000 (18:50 +0100)]
rootwrap config files reference deleted quantum binaries

dhcp and l3 rootwrap filter files contain reference to the deleted
binary quantum-ns-metadata-proxy. This change removes these obsolete
filters.

Change-Id: Iad4772752d74a1c0535144b5faf9a1f8ae89f6a3
Closes-Bug: #1391256

9 years agoMerge "Replace "nova" entries in iptables_manager with "neutron""
Jenkins [Mon, 10 Nov 2014 06:12:33 +0000 (06:12 +0000)]
Merge "Replace "nova" entries in iptables_manager with "neutron""

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 10 Nov 2014 06:12:19 +0000 (06:12 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Updated from global requirements"
Jenkins [Mon, 10 Nov 2014 06:12:04 +0000 (06:12 +0000)]
Merge "Updated from global requirements"

9 years agoFix L3 HA network creation to allow user to create router
Sachi King [Sun, 2 Nov 2014 13:35:51 +0000 (00:35 +1100)]
Fix L3 HA network creation to allow user to create router

Update HA Network creation to use an admin context to allow Neutron
to create the tenant-less network required for the HA router when
it does not yet exist and is being created by a non-admin user.

Neutron creates these resources without a tenant so users cannot see
or modify the HA network, ports, etc.  Port creation and association
already use elivated admin contexts to allow their function when
an user attempts to create a HA L3 router.

Change-Id: I36166158a0970b8d08d6702054b11a43fb684281
Closes-Bug: #1388716

9 years agoMerge "Fix sneaky copypaste typo in ovs agent scheduler test"
Jenkins [Sun, 9 Nov 2014 08:29:42 +0000 (08:29 +0000)]
Merge "Fix sneaky copypaste typo in ovs agent scheduler test"

9 years agoSRIOV: Fix Wrong Product ID for Intel NIC example
Samer Deeb [Tue, 4 Nov 2014 11:58:19 +0000 (13:58 +0200)]
SRIOV: Fix Wrong Product ID for Intel NIC example

Some Examples and default Values of the Product ID for Intel NIC contains
Wrong Product ID that belongs to the PF product,
it should be replaced with the product ID of the VF.

Change-Id: I87291ea0458fa1ef7df1c06e17b7f9071ffb39e0
Closes-Bug: 1387152

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sun, 9 Nov 2014 06:08:09 +0000 (06:08 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I78ef4cad31e24dd42e1bf64cad4084887044c533

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sun, 9 Nov 2014 00:39:32 +0000 (00:39 +0000)]
Updated from global requirements

Change-Id: I0e0f708a755dcf45e3ce51141d264d8624ec87ba

9 years agoMerge "Guard against concurrent port removal in DVR"
Jenkins [Sat, 8 Nov 2014 23:35:59 +0000 (23:35 +0000)]
Merge "Guard against concurrent port removal in DVR"

9 years agoMerge "Remove single occurrence of lost-exception warning"
Jenkins [Sat, 8 Nov 2014 23:35:44 +0000 (23:35 +0000)]
Merge "Remove single occurrence of lost-exception warning"

9 years agoMerge "neutron-db-manage finds automatically config file"
Jenkins [Fri, 7 Nov 2014 22:26:29 +0000 (22:26 +0000)]
Merge "neutron-db-manage finds automatically config file"

9 years agoMerge "Validate network config (vlan)"
Jenkins [Fri, 7 Nov 2014 13:10:32 +0000 (13:10 +0000)]
Merge "Validate network config (vlan)"

9 years agoMerge "Make L2 DVR Agent start successfully without an active neutron server"
Jenkins [Fri, 7 Nov 2014 13:02:32 +0000 (13:02 +0000)]
Merge "Make L2 DVR Agent start successfully without an active neutron server"

9 years agoMerge "Allow to add router interface to IPv6 SLAAC network"
Jenkins [Thu, 6 Nov 2014 12:56:07 +0000 (12:56 +0000)]
Merge "Allow to add router interface to IPv6 SLAAC network"

9 years agoReplace "nova" entries in iptables_manager with "neutron"
Elena Ezhova [Wed, 5 Nov 2014 10:01:51 +0000 (13:01 +0300)]
Replace "nova" entries in iptables_manager with "neutron"

In iptables_manager docstrings there are still some references to
nova left from nova/network/linux_net.py.
Remove these references and update the docstrings.

Change-Id: I50813e3050f7f117512bde7c2563ce3410939e54
Closes-Bug: #1389601

9 years agoMerge "Remove some duplicate unit tests"
Jenkins [Wed, 5 Nov 2014 14:10:31 +0000 (14:10 +0000)]
Merge "Remove some duplicate unit tests"

9 years agoMerge "Stop ignoring 400 errors returned by ODL"
Jenkins [Sun, 2 Nov 2014 11:15:55 +0000 (11:15 +0000)]
Merge "Stop ignoring 400 errors returned by ODL"

9 years agoMerge "Use stop() method on MessageHandlingServer"
Jenkins [Sun, 2 Nov 2014 11:15:15 +0000 (11:15 +0000)]
Merge "Use stop() method on MessageHandlingServer"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sun, 2 Nov 2014 06:05:13 +0000 (06:05 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Icd40b3f0556c735637c940072306c52124df2f54

9 years agoRemove duplicate ensure_remove_chain method in iptables_manager
Elena Ezhova [Fri, 31 Oct 2014 16:37:46 +0000 (19:37 +0300)]
Remove duplicate ensure_remove_chain method in iptables_manager

Change-Id: I168eda2fa430446786d4106d6807207f4facbfc3
Closes-Bug: #1388162

9 years agoMerge "ML2 Cisco Nexus MD - not overwriting existing config"
Jenkins [Fri, 31 Oct 2014 14:59:41 +0000 (14:59 +0000)]
Merge "ML2 Cisco Nexus MD - not overwriting existing config"

9 years agoML2: fix file permissions
Gary Kotton [Thu, 30 Oct 2014 13:38:56 +0000 (06:38 -0700)]
ML2: fix file permissions

Commit 36b7ceb050a6805d30cbac4562e109dddf3cba25 changed the
file permissions.

This corrects that.

Change-Id: I6b9cf7aef8f1a45f89c6a923be382789de7287b6

9 years agoMerge "Batch ports from security groups RPC handler"
Jenkins [Fri, 31 Oct 2014 09:43:49 +0000 (09:43 +0000)]
Merge "Batch ports from security groups RPC handler"

9 years agoMerge "Big Switch: Fix SSL version on get_server_cert"
Jenkins [Thu, 30 Oct 2014 07:53:26 +0000 (07:53 +0000)]
Merge "Big Switch: Fix SSL version on get_server_cert"

9 years agoFix sneaky copypaste typo in ovs agent scheduler test
Eugene Nikanorov [Wed, 29 Oct 2014 15:07:33 +0000 (19:07 +0400)]
Fix sneaky copypaste typo in ovs agent scheduler test

Change-Id: I3433e0bcd9834cbf387da42b8e69df9a5127b1bf

9 years agoMerge "Neutron metering does not check overlap ip range"
Jenkins [Thu, 30 Oct 2014 04:22:02 +0000 (04:22 +0000)]
Merge "Neutron metering does not check overlap ip range"

9 years agoMerge "Check for concurrent port binding deletion before binding the port"
Jenkins [Wed, 29 Oct 2014 19:55:03 +0000 (19:55 +0000)]
Merge "Check for concurrent port binding deletion before binding the port"

9 years agoMake L2 DVR Agent start successfully without an active neutron server
Brian Haley [Thu, 25 Sep 2014 01:45:06 +0000 (21:45 -0400)]
Make L2 DVR Agent start successfully without an active neutron server

If the L2 Agent is started before the neutron controller
is available, it will fail to obtain its unique DVR MAC
address, and fall-back to operate in non-DVR mode
permanently.

This fix does two things:
1. Makes the L2 Agent attempt to retry obtaining a DVR MAC
address up to five times on initialization, which should be
enough time for RPC to be successful.  On failure, it will
fall back to non-DVR mode, ensuring that basic switching
continues to be functional.

2. Correctly obtains the current operating mode of the
L2 Agent in _report_state(), instead of only reporting
the configured state.  This operating mode is carried
in 'in_distributed_mode' attribute of agent state, and
is separate from the existing enable_distributed_routing
static config that is already sent.

Change-Id: I5fd9bf4163eafa321c5fca7ffb7901ae289f323b
Closes-bug: #1364215

9 years agoMerge "Detect if iproute2 support SR-IOV commands"
Jenkins [Wed, 29 Oct 2014 14:32:31 +0000 (14:32 +0000)]
Merge "Detect if iproute2 support SR-IOV commands"

9 years agoMerge "tox.ini: Avoid using bash where unnecessary"
Jenkins [Wed, 29 Oct 2014 14:29:31 +0000 (14:29 +0000)]
Merge "tox.ini: Avoid using bash where unnecessary"

9 years agoMerge "Create DHCP port for IPv6 subnet"
Jenkins [Wed, 29 Oct 2014 14:29:16 +0000 (14:29 +0000)]
Merge "Create DHCP port for IPv6 subnet"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 29 Oct 2014 14:24:30 +0000 (14:24 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Rename constant to a more appropriate name"
Jenkins [Wed, 29 Oct 2014 14:24:14 +0000 (14:24 +0000)]
Merge "Rename constant to a more appropriate name"

9 years agoMerge "Only resync DHCP for a particular network when their is a failure"
Jenkins [Wed, 29 Oct 2014 14:16:44 +0000 (14:16 +0000)]
Merge "Only resync DHCP for a particular network when their is a failure"

9 years agoDetect if iproute2 support SR-IOV commands
Irena Berezovsky [Mon, 18 Aug 2014 10:52:36 +0000 (13:52 +0300)]
Detect if iproute2 support SR-IOV commands

Add sanity_check that 'ip link' command supports VF management and
link state changes of VF by parsing 'ip link help' command output.

Co-authored-by: Samer Deeb <samerd@mellanox.com>
Closes bug: 1349302

Change-Id: I5a72a9061a76c39960076f078905371f07069431

9 years agoUse stop() method on MessageHandlingServer
Jakub Libosvar [Wed, 29 Oct 2014 09:02:10 +0000 (10:02 +0100)]
Use stop() method on MessageHandlingServer

MessageHandlingServer has no kill() method. In case neutron server using
rpc workers and is stopped, wrong method is called.

Change-Id: Id4a11f3dca070e684fb9e079139ac09792bc7aad
Closes-Bug: 1387053

9 years agoMerge "l2population_rpc: docstring improvements"
Jenkins [Wed, 29 Oct 2014 07:22:29 +0000 (07:22 +0000)]
Merge "l2population_rpc: docstring improvements"

9 years agoRename constant to a more appropriate name
Kevin Benton [Sat, 18 Oct 2014 07:38:57 +0000 (00:38 -0700)]
Rename constant to a more appropriate name

The DB_MAX_RETRIES implies that a query will be
retried that many times. 'retry' means it happened
once before. In the current code, if DB_MAX_RETRIES
is set to 1, the query won't be retried at all.
If it's set to 0, the query won't even be run.

This constant should actually be called DB_MAX_ATTEMPTS
to indicate that the variable includes the first try.

Change-Id: I13f088ffa38c40db7fd297173e892b4ad5c7fadd

9 years agoBig Switch: Fix SSL version on get_server_cert
Kevin Benton [Wed, 29 Oct 2014 04:39:04 +0000 (21:39 -0700)]
Big Switch: Fix SSL version on get_server_cert

The ssl.get_server_certificate method uses SSLv3 by default.
Support for SSLv3 was dropped on the backend controller in
response to the POODLE vulnerability. This patch fixes it
to use TLSv1 like the wrap_socket method.

Closes-Bug: #1384487
Change-Id: I9cb5f219d327d62168bef2d7dbee22534b2e454e

9 years agoCheck for concurrent port binding deletion before binding the port
Eugene Nikanorov [Sun, 28 Sep 2014 21:02:58 +0000 (01:02 +0400)]
Check for concurrent port binding deletion before binding the port

When agent tries to update port binding (DVR or regular), the port
might have already been deleted via API call.
This is not an error condition but should be handled to avoid traces
in the logs.

Change-Id: Ie9436172151f0ecd5b3e4667328910b09f8ef141
Closes-Bug: #1370570

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 29 Oct 2014 06:06:58 +0000 (06:06 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I25a1b72a78a94e00b28e5d128b5be591fe565b3c

9 years agoMerge "Use RPC instead of neutron client in metadata agent"
Jenkins [Wed, 29 Oct 2014 04:40:23 +0000 (04:40 +0000)]
Merge "Use RPC instead of neutron client in metadata agent"

9 years agoBatch ports from security groups RPC handler
Kevin Benton [Fri, 26 Sep 2014 16:40:44 +0000 (09:40 -0700)]
Batch ports from security groups RPC handler

The security groups RPC handler calls get_port_from_device
individually for each device in a list it receives. Each
one of these results in a separate SQL query for the security
groups and port details. This becomes very inefficient as the
number of devices on a single node increases.

This patch adds logic to the RPC handler to see if the core
plugin has a method to lookup all of the device IDs at once.
If so, it uses that method, otherwise it continues as normal.

The ML2 plugin is modified to include the batch function, which
uses one SQL query regardless of the number of devices.

Closes-Bug: #1374556
Change-Id: I15d19c22e8c44577db190309b6636a3251a9c66a

9 years agoMerge "Hyper-V: Remove useless use of "else" clause on for loop"
Jenkins [Tue, 28 Oct 2014 23:21:48 +0000 (23:21 +0000)]
Merge "Hyper-V: Remove useless use of "else" clause on for loop"

9 years agoMerge "NSX: allow multiple networks with same vlan on different phy_net"
Jenkins [Tue, 28 Oct 2014 22:34:00 +0000 (22:34 +0000)]
Merge "NSX: allow multiple networks with same vlan on different phy_net"

9 years agoMerge "Add advsvc role to neutron policy file"
Jenkins [Tue, 28 Oct 2014 20:51:46 +0000 (20:51 +0000)]
Merge "Add advsvc role to neutron policy file"

9 years agoAllow to add router interface to IPv6 SLAAC network
sridhargaddam [Tue, 21 Oct 2014 10:08:10 +0000 (10:08 +0000)]
Allow to add router interface to IPv6 SLAAC network

This patch will allow an IPv6 subnet configured with SLAAC
(or dhcpv6-stateless) to be attached to a router interface.

Closes-Bug: #1382076
Change-Id: If0c48a7287a828eef4a0f0b0859d4f898d2937bd

9 years agoML2 Cisco Nexus MD - not overwriting existing config
Abishek Subramanian [Tue, 28 Oct 2014 18:36:32 +0000 (14:36 -0400)]
ML2 Cisco Nexus MD - not overwriting existing config

The Cisco Nexus ML2 MD overwrites any existing switchport
VLAN config such as management VLANs that are preconfigured
in the compute node ToR interfaces.
This bug addresses that issue and ensures the config is not
wiped out.

Closes-Bug: 1330597

Change-Id: Ie2969e5750a179a4940d12db4c9ee6e1ec53b79b

9 years agoReorder operations in (l3_dvr) update floating ip
marios [Wed, 22 Oct 2014 10:11:02 +0000 (13:11 +0300)]
Reorder operations in (l3_dvr) update floating ip

This review overrides update_floatingip (L3_NAT_dbonly_mixin)
in l3_dvr_db (L3_NAT_with_dvr_db_mixin) to reorder the garbage
collection to after the floating ip is updated and rpc called.
This was previously being called in the (already) overridden
_update_fip_assoc.

Since this call is moved, the _update_fip_assoc for l3_dvr_db
is exactly the same as l3_db and is thus removed completely.

This tidy up was created whilst looking at bug 1381617. The
intention was to mitigate the timing issues exposed by [1]
and discussed in the bug report. It seems the problem persists
with more discussion around 'properly fixing' this at [2].

[1] https://review.openstack.org/#/c/102700/
[2] https://review.openstack.org/#/c/130414/4

Change-Id: I24cef57bf394ceeb931ff48fa67f18218c734b00

9 years agoMerge "enable F402 check for flake8"
Jenkins [Tue, 28 Oct 2014 11:53:30 +0000 (11:53 +0000)]
Merge "enable F402 check for flake8"

9 years agoUse RPC instead of neutron client in metadata agent
Oleg Bondarev [Wed, 27 Aug 2014 11:19:18 +0000 (15:19 +0400)]
Use RPC instead of neutron client in metadata agent

RPC is a standard way of interacting between Neutron server and agents
Using neutron client is also  inefficient as it results in unneeded
keystone load and may become a bottleneck at scale

DocImpact
When upgrading, one should upgrade neutron server first,
then metadata agent. However there is a fallback in case
metadata agent fails to get info from server by rpc -
it will return to using neutron client.

Closes-Bug: #1092043

Change-Id: Ib75568643e6062543c0ff8cf80fba1b40b4fe82f

9 years agoAdd assertion to test_page_reverse method
Wlodzimierz Borkowski [Sat, 25 Oct 2014 12:59:24 +0000 (14:59 +0200)]
Add assertion to test_page_reverse method

In neutron/tests/unit/test_api_v2.APIv2TestCase.test_page_reverse
there is no second call to test_case with 'page_reverse': 'False,
because of use assert_called_once_with.
In proposed change before second testcase, reset_mock is called.
Remove also second 'instance' initialization.

Closes-Bug: #1373126
Change-Id: I552b7b47456a1cdfccdeb8d7853ec3395317097a

9 years agoMerge "Ensure test_agent_manager handles random hashseeds"
Jenkins [Tue, 28 Oct 2014 08:56:05 +0000 (08:56 +0000)]
Merge "Ensure test_agent_manager handles random hashseeds"

9 years agoMerge "Enable no-name-in-module pylint check"
Jenkins [Tue, 28 Oct 2014 08:46:01 +0000 (08:46 +0000)]
Merge "Enable no-name-in-module pylint check"

9 years agoMerge "Remove XML support"
Jenkins [Tue, 28 Oct 2014 03:31:48 +0000 (03:31 +0000)]
Merge "Remove XML support"

9 years agoMerge "Fix 'Length too long' error in neutron-dsvm-functional tests"
Jenkins [Tue, 28 Oct 2014 02:05:25 +0000 (02:05 +0000)]
Merge "Fix 'Length too long' error in neutron-dsvm-functional tests"

9 years agoMerge "Adds an option to enable broadcast replies to Dnsmasq"
Jenkins [Mon, 27 Oct 2014 23:46:06 +0000 (23:46 +0000)]
Merge "Adds an option to enable broadcast replies to Dnsmasq"

9 years agoMerge "_update_router_db: don't hold open transactions"
Jenkins [Mon, 27 Oct 2014 16:02:04 +0000 (16:02 +0000)]
Merge "_update_router_db: don't hold open transactions"

9 years agoAdds an option to enable broadcast replies to Dnsmasq
Itzik Brown [Tue, 2 Sep 2014 07:02:22 +0000 (10:02 +0300)]
Adds an option to enable broadcast replies to Dnsmasq

Adds a flag for DHCP agent configuration
to add dhcp-broadcast flag to Dnsmasq process
In order to support virtual network on top of Infiniband
Fabric, there is a requirement to receive DHCP response
via broadcast message (according to IB Spec).

DocImpact
Change-Id: I95329e535bacf14b650a8f37179ecd020b5bfafe
Closes-Bug: #1293953

9 years agoAdd advsvc role to neutron policy file
Kyle Mestery [Wed, 18 Jun 2014 11:04:52 +0000 (11:04 +0000)]
Add advsvc role to neutron policy file

Add in a default "advsvc" user and the logic in the Neutron policy
infrastructure which will allow this user to create/get/update/delete
ports on other tenants networks, as well as view other tenants
networks. This is for the use case of letting advanced services have
a user to put ports on other tenants networks. By default, we do not
define any roles for the policy "context_is_advsvc", but rely on
operators to specify the likely value of "role advsvc".

DocImpact

Closes-Bug: #1331836

Change-Id: I94cb3383eb1fed793934719603f888dbbdbbd85a
Co-Authored-By: Susanne Balle <sleipnir012@gmail.com>
9 years agoNSX: allow multiple networks with same vlan on different phy_net
Aaron Rosen [Mon, 8 Sep 2014 23:07:15 +0000 (16:07 -0700)]
NSX: allow multiple networks with same vlan on different phy_net

Previously, the NSX plugin prevented one from creating multiple networks on
the same vlan even if they were being created on different physical_networks.
This patch corrects this issue and allows this to now occur.

Closes-bug: 1367034

Change-Id: I343449648304328dffdd5ba070491e05686ee22d

9 years agoMerge "Remove use_namespaces from RouterInfo Property"
Jenkins [Mon, 27 Oct 2014 09:49:00 +0000 (09:49 +0000)]
Merge "Remove use_namespaces from RouterInfo Property"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 27 Oct 2014 06:05:51 +0000 (06:05 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I1e8aad9a1eb480438c4221b51b46e93485ee2d13

9 years agoMerge "enable E713 in pep8 tests"
Jenkins [Sun, 26 Oct 2014 08:35:41 +0000 (08:35 +0000)]
Merge "enable E713 in pep8 tests"

9 years agoMerge "Updated from global requirements"
Jenkins [Sun, 26 Oct 2014 08:35:26 +0000 (08:35 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "NSX: Make conn_idle_timeout configurable"
Jenkins [Sun, 26 Oct 2014 08:02:53 +0000 (08:02 +0000)]
Merge "NSX: Make conn_idle_timeout configurable"

9 years agoFix 'Length too long' error in neutron-dsvm-functional tests
Numan Siddique [Sat, 25 Oct 2014 10:59:52 +0000 (16:29 +0530)]
Fix 'Length too long' error in neutron-dsvm-functional tests

testr is occasionally failing with 'Length too long' for
neutron-dsvm-functional test cases.

The issue is seen when the size of the testr log file size goes into MBs.

(Please see the bug comments for the details on the testr logs)

This patch fixes the issue by disabling debug logs in the tests.

Change-Id: I48fc9d14f6886f86761038ee4d106fbbe59b6890
Closes-bug: #1382579

9 years agoMerge "Set vif_details to reflect enable_security_group"
Jenkins [Sat, 25 Oct 2014 02:10:40 +0000 (02:10 +0000)]
Merge "Set vif_details to reflect enable_security_group"

9 years agoRemove use_namespaces from RouterInfo Property
Carl Baldwin [Fri, 17 Oct 2014 04:13:49 +0000 (04:13 +0000)]
Remove use_namespaces from RouterInfo Property

The use_namespaces property is a property of the agent, not the
router.  The router doesn't need to know if namespaces are in use by
the agent.

Change-Id: I50a1069fc654eeaafaa4098d926ae9e96e5d400f

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 24 Oct 2014 16:15:05 +0000 (16:15 +0000)]
Updated from global requirements

Change-Id: Ia4292097571c0cb3d291071c90b229650e5e4c70

9 years agoRemove XML support
Mark McClain [Mon, 13 Oct 2014 20:38:43 +0000 (20:38 +0000)]
Remove XML support

XML support in Neutron has always been a second class feature to the
JSON API and broken for many extensions and outputs. The XML API been marked as
deprecated for the Icehouse and Juno release and is ready for removal in
Kilo.

Change-Id: I611aa9382ba3bfb08b2970c63e83b0fdd3d2e8a4
Closes-Bug: #1380787

9 years agoenable F402 check for flake8
Mark McClain [Thu, 12 Jun 2014 01:23:53 +0000 (21:23 -0400)]
enable F402 check for flake8

The change removes the shadowed loop variables and enables F402 checking

Change-Id: I015797feec463ffb0b5e97229a6ec2c9a41df9de
Partial-Bug: 1329017

9 years agoMerge "Big Switch: Switch to TLSv1 in server manager"
Jenkins [Thu, 23 Oct 2014 21:20:45 +0000 (21:20 +0000)]
Merge "Big Switch: Switch to TLSv1 in server manager"

9 years agoenable E713 in pep8 tests
Mark McClain [Thu, 12 Jun 2014 00:53:18 +0000 (20:53 -0400)]
enable E713 in pep8 tests

This change update the code style to enable the E713 check (test for membership
should be ‘not in’)

Partial-Bug: 1329017

Change-Id: I96f8b734db5964ef46d0911cb5f6e0b8c33c3119

9 years agoMerge "Remove duplicate import of constants module"
Jenkins [Thu, 23 Oct 2014 20:19:28 +0000 (20:19 +0000)]
Merge "Remove duplicate import of constants module"

9 years agoMerge "Ensure ofagent unit tests handles random hashseeds"
Jenkins [Thu, 23 Oct 2014 20:16:40 +0000 (20:16 +0000)]
Merge "Ensure ofagent unit tests handles random hashseeds"

9 years agoMerge "Move disabling of metadata and ipv6_ra to _destroy_router_namespace"
Jenkins [Thu, 23 Oct 2014 11:55:44 +0000 (11:55 +0000)]
Merge "Move disabling of metadata and ipv6_ra to _destroy_router_namespace"

9 years agoNEC plugin: Allow to apply Packet filter on OFC router interface
Akihiro Motoki [Thu, 17 Apr 2014 07:52:36 +0000 (16:52 +0900)]
NEC plugin: Allow to apply Packet filter on OFC router interface

Config parameter support_packet_filter_on_ofc_router is added
only to make the pluign work with the old version of PFC v5
which has no support of packet filter on vrouter interface.

Closes-Bug: #1384263
Change-Id: I2f54419e0b7c84c554ab2039ebaebdb065f9e502

9 years ago_update_router_db: don't hold open transactions
Kevin Benton [Thu, 16 Oct 2014 08:49:19 +0000 (01:49 -0700)]
_update_router_db: don't hold open transactions

This patch prevents the L3 _update_router_db method from
starting a transaction before calling the gateway interface
removal functions. With these port changes now occuring
outside of the L3 DB transaction, a failure to update the
router DB information will not rollback the port deletion
operation.

The 'VPN in use' check had to be moved inside of the DB deletion
transaction now that there isn't an enclosing transaction to undo
the delete when an 'in use' error is raised.

===Details===

The router update db method starts a transaction and calls
the gateway update method with the transaction held open.
This becomes a problem when the update results in an
interface removal which uses a port table lock.

Because the delete_port caller is still holding open a
transaction, other sessions are blocked from getting an
SQL lock on the same tables when delete_port starts
performing RPC notifications, external controller calls,
etc. During those external calls, eventlet will
yield and another thread may try to get a lock on the
port table, causing the infamous mysql/eventlet deadlock.

This separation of L2/L3 transactions is similiar to change
I3ae7bb269df9b9dcef94f48f13f1bde1e4106a80 in nature. Even
though there is a loss in the atomic behavior of the interface
removal operation, it was arguably incorrect to begin with.
The restoration of port DB records during a rollback after some
other failure doesn't undo the backend operations (e.g. REST calls)
that happened during the original deletion. So, having a delete
rollback without corresponding 'create_port' calls to the backend
causes a loss in consistency.

Closes-Bug: #1377241
Change-Id: I5fdb6b24bf2fb80ac5e36a742aa7056db72c8c7d

9 years agoBig Switch: Switch to TLSv1 in server manager
Kevin Benton [Wed, 22 Oct 2014 20:04:03 +0000 (13:04 -0700)]
Big Switch: Switch to TLSv1 in server manager

Switch to TLSv1 for the connections to the backend
controllers. The default SSLv3 is no longer considered
secure.

TLSv1 was chosen over .1 or .2 because the .1 and .2 weren't
added until python 2.7.9 so TLSv1 is the only compatible option
for py26.

Closes-Bug: #1384487
Change-Id: I68bd72fc4d90a102003d9ce48c47a4a6a3dd6e03

9 years agoMerge "Work toward Python 3.4 support and testing"
Jenkins [Wed, 22 Oct 2014 19:52:57 +0000 (19:52 +0000)]
Merge "Work toward Python 3.4 support and testing"

9 years agoOnly resync DHCP for a particular network when their is a failure
Terry Wilson [Thu, 16 Oct 2014 01:56:17 +0000 (20:56 -0500)]
Only resync DHCP for a particular network when their is a failure

The previous implementation will loop through and restart the dhcp
process for all active networks any time there is an exception calling
a dhcp driver function. This allows a tenant who can create an exception
to cause every dhcp process to restart. On systems with lots of networks
this can easily take longer than the default resync timeout leading to a
system that becomes unresponsive because of the load continually restarting
causes.

This patch restarts only dhcp processes related to the network on which
operations are failing. It should be noted that if there was some kind
of missed notification for a subnet update, the previous implementation
may have incidentally fixed it by restarting everything on the off
chance that something else caused an exception, but obviously relying
on that would be a bad idea as exceptions should be, well, exceptional.

Closes-bug: #1384402

Change-Id: I0b348a1657a7eb3a595f9bf6b217716a37ce38c6

9 years agoValidate network config (vlan)
Manish Godara [Mon, 6 Oct 2014 17:03:28 +0000 (10:03 -0700)]
Validate network config (vlan)

Validate to make sure empty physical networks
are not permitted. Added unit test as well.

Change-Id: Ie55fab3c53276ed48d5e9d603e8c1dc59fa9cc32
Closes-Bug: 1325664

9 years agoMerge "Remove superfluous except/re-raise"
Jenkins [Wed, 22 Oct 2014 16:35:14 +0000 (16:35 +0000)]
Merge "Remove superfluous except/re-raise"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 22 Oct 2014 06:20:15 +0000 (06:20 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I58db0476c810aa901463b07c42182eef0adb5114

9 years agoMerge "Fix race condition on processing DVR floating IPs"
Jenkins [Wed, 22 Oct 2014 05:55:29 +0000 (05:55 +0000)]
Merge "Fix race condition on processing DVR floating IPs"

9 years agoMerge "Remove redundant initialization and check from DVR RPC mixin"
Jenkins [Wed, 22 Oct 2014 02:49:03 +0000 (02:49 +0000)]
Merge "Remove redundant initialization and check from DVR RPC mixin"

9 years agoMerge "Improve performance of security group DB query"
Jenkins [Wed, 22 Oct 2014 01:50:00 +0000 (01:50 +0000)]
Merge "Improve performance of security group DB query"

9 years agoMerge "Cisco N1kv: Fix update network profile for add tenants"
Jenkins [Wed, 22 Oct 2014 00:29:30 +0000 (00:29 +0000)]
Merge "Cisco N1kv: Fix update network profile for add tenants"