]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoLog the exception in linuxbridge_neutron_agent as exception
Hong Hui Xiao [Wed, 21 Oct 2015 14:35:53 +0000 (10:35 -0400)]
Log the exception in linuxbridge_neutron_agent as exception

The log here should be logged as exception. 1) It is more readable.
2) It keeps consistent with the action of its sibling module,
ovs_neutron_agent.

Change-Id: Idf11a617369cbee0dc23c8e56ae9475bb41dcc02
Closes-bug: #1508270

8 years agoMerge "Fix iptables modules references in rule generation"
Jenkins [Mon, 26 Oct 2015 09:31:46 +0000 (09:31 +0000)]
Merge "Fix iptables modules references in rule generation"

8 years agoCorrect indentation in linuxbridge_neutron_agent
Cedric Brandily [Sun, 25 Oct 2015 23:27:20 +0000 (08:27 +0900)]
Correct indentation in linuxbridge_neutron_agent

Change-Id: I47b3033b5353c895de72e40fc25c099b7b7a077b

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 24 Oct 2015 02:08:55 +0000 (02:08 +0000)]
Updated from global requirements

Change-Id: I9c0e3f44cf93db020933d8d766cedfc2e3f3bb8b

8 years agoMerge "Validate ethertype for icmp protocols"
Jenkins [Sat, 24 Oct 2015 01:31:05 +0000 (01:31 +0000)]
Merge "Validate ethertype for icmp protocols"

8 years agoMerge "Support migrating of legacy routers to HA and back"
Jenkins [Sat, 24 Oct 2015 01:05:19 +0000 (01:05 +0000)]
Merge "Support migrating of legacy routers to HA and back"

8 years agoMerge "Add another patch scoping bullet point to effective_neutron"
Jenkins [Fri, 23 Oct 2015 22:04:45 +0000 (22:04 +0000)]
Merge "Add another patch scoping bullet point to effective_neutron"

8 years agoMerge "Enable specific extra_dhcp_opt to be left blank"
Jenkins [Fri, 23 Oct 2015 22:04:32 +0000 (22:04 +0000)]
Merge "Enable specific extra_dhcp_opt to be left blank"

8 years agoMerge "Better tolerate deleted OVS ports in OVS agent"
Jenkins [Fri, 23 Oct 2015 22:00:40 +0000 (22:00 +0000)]
Merge "Better tolerate deleted OVS ports in OVS agent"

8 years agoMerge "get_device_by_ip: don't fail if device was deleted"
Jenkins [Fri, 23 Oct 2015 17:54:29 +0000 (17:54 +0000)]
Merge "get_device_by_ip: don't fail if device was deleted"

8 years agoMerge "Remove deprecated namespace deletion options"
Jenkins [Fri, 23 Oct 2015 15:45:28 +0000 (15:45 +0000)]
Merge "Remove deprecated namespace deletion options"

8 years agoMerge "Fix _restore_local_vlan_map race"
Jenkins [Fri, 23 Oct 2015 15:45:10 +0000 (15:45 +0000)]
Merge "Fix _restore_local_vlan_map race"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Fri, 23 Oct 2015 12:45:40 +0000 (12:45 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Use string formatting instead of string replace"
Jenkins [Fri, 23 Oct 2015 09:49:09 +0000 (09:49 +0000)]
Merge "Use string formatting instead of string replace"

8 years agoMerge "Deepcopy port dict in dhcp rpc handler"
Jenkins [Fri, 23 Oct 2015 09:42:17 +0000 (09:42 +0000)]
Merge "Deepcopy port dict in dhcp rpc handler"

8 years agoMerge "Mark for removal deadcode in neutron.common.utils"
Jenkins [Fri, 23 Oct 2015 09:37:18 +0000 (09:37 +0000)]
Merge "Mark for removal deadcode in neutron.common.utils"

8 years agoMerge "Set security group provider rule for icmpv6 RA in DVR"
Jenkins [Fri, 23 Oct 2015 09:32:00 +0000 (09:32 +0000)]
Merge "Set security group provider rule for icmpv6 RA in DVR"

8 years agoMerge "Move test_extend_port_dict_no_port_security to where it belongs to"
Jenkins [Fri, 23 Oct 2015 09:05:14 +0000 (09:05 +0000)]
Merge "Move test_extend_port_dict_no_port_security to where it belongs to"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Fri, 23 Oct 2015 06:11:57 +0000 (06:11 +0000)]
Imported Translations from Zanata

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

Change-Id: I9b3c875c0dd9c89f61e664be32b73eacb539b8f9

8 years agoMerge "DVR: notify specific agent when deleting floating ip"
Jenkins [Fri, 23 Oct 2015 04:46:25 +0000 (04:46 +0000)]
Merge "DVR: notify specific agent when deleting floating ip"

8 years agoMerge "Remove GBP as a Neutron sub-project"
Jenkins [Fri, 23 Oct 2015 00:58:01 +0000 (00:58 +0000)]
Merge "Remove GBP as a Neutron sub-project"

8 years agoSupport migrating of legacy routers to HA and back
John Schwarz [Mon, 12 Oct 2015 13:54:17 +0000 (16:54 +0300)]
Support migrating of legacy routers to HA and back

This patch adds support for migration of legacy routers to HA and
vice-versa. This patch also:

1. Reverts I4171ab481e3943e0110bd9a300d965bbebe44871, which was used to
   disable such migrations until support was inserted to the codebase.
2. Adds an exception to indicate that such migrations are only available
   on routers that have their admin_state_up set to False.

Closes-Bug: #1365426
DocImpact (Handled in patch 233695)
Change-Id: Ie92f8033f47e1bf9ba6310373b3bfc9833317580

8 years agoUse string formatting instead of string replace
Cedric Brandily [Thu, 22 Oct 2015 21:45:32 +0000 (23:45 +0200)]
Use string formatting instead of string replace

Currently linuxbridge_neutron_agent[1] uses the pattern:

 PLACEHOLDER = "..."
 PATH = PREFIX + PLACEHOLDER + SUFFIX
 ...
 my_path = PATH.replace(PLACEHOLDER, my_value)

which could be replaced by the following which is more common and in
general safer:

 PATH = PREFIX + '%s' + SUFFIX
 ...
 my_path = PATH % my_value)

Change-Id: I2d23b11fa6fb7f31c1abbe36523b75bfc81f5c46

8 years agoMerge "Fix error code when L3 HA + DVR router is created or updated"
Jenkins [Thu, 22 Oct 2015 20:55:14 +0000 (20:55 +0000)]
Merge "Fix error code when L3 HA + DVR router is created or updated"

8 years agoBetter tolerate deleted OVS ports in OVS agent
Paul Ward [Thu, 24 Sep 2015 19:52:28 +0000 (14:52 -0500)]
Better tolerate deleted OVS ports in OVS agent

This change will not force a resync in the case where a virtual machine is
deleted, and therefore its OVS port deleted, in between the time an RPC
call was made to get the devices and where we make the call to correlate
those devices to vif ports.

Change-Id: Ie55eb69ad7ee177f0cf8ee8fc7fc585fbd0d4a22
Closes-Bug: #1499488

8 years agoRemove GBP as a Neutron sub-project
Kyle Mestery [Thu, 22 Oct 2015 19:28:02 +0000 (19:28 +0000)]
Remove GBP as a Neutron sub-project

It was never a sub-project to begin with, so lets get it out of here.

Change-Id: Iabba3cc55c88771d3922050f23289ebdd7cbd44b
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoMerge "Allow to specify branch for creating new migration"
Jenkins [Thu, 22 Oct 2015 19:19:40 +0000 (19:19 +0000)]
Merge "Allow to specify branch for creating new migration"

8 years agoget_device_by_ip: don't fail if device was deleted
John Schwarz [Thu, 15 Oct 2015 14:34:01 +0000 (17:34 +0300)]
get_device_by_ip: don't fail if device was deleted

The function gets a list of all the devices that exists on the machine,
and then iterates on them one at a time in order to find the correct
device which holds the ip specified. However, if one of the devices was
in the mean time deleted, the code will raise an Exception. In the ovs
agent's case, this will cause it to not run at all (requiring a
restart).

Also, changes to a few tests of LinuxBridge were made because
linuxbridge doesn't check that cfg.CONF.VXLAN.local_ip is not empty
before using it (a bug, surely). Since it's out of scope of this patch
to fix this, workarounds were implemented to make sure the tests ignore
the option instead.

Closes-Bug: #1506503
Change-Id: Iad285d7c763b0e8e8f877c6892aadb0043e9a186

8 years agoAllow to specify branch for creating new migration
Yuji [Wed, 16 Sep 2015 02:45:27 +0000 (11:45 +0900)]
Allow to specify branch for creating new migration

Add options to 'neutron-db-manage revision' command for specifying
a branch.

DocImpact

Change-Id: I00b00821839b0d77caaaf26b518c5c0c75e01218
Closes-Bug: 1503342

8 years agoMark for removal deadcode in neutron.common.utils
Bogdan Tabor [Wed, 21 Oct 2015 13:40:14 +0000 (15:40 +0200)]
Mark for removal deadcode in neutron.common.utils

Methods:
 * read_cached_file(filename, cache_info, reload_func=None)
 * find_config_file(options, config_file)
 * get_keystone_url(conf)
are not used withing neutron projects.

Change-Id: Iba3325103f5c24c1822781382f4c8864eb2921c5
Closes-bug: #1508430

8 years agoMerge "Minor improvement in port_bound operation"
Jenkins [Thu, 22 Oct 2015 14:49:38 +0000 (14:49 +0000)]
Merge "Minor improvement in port_bound operation"

8 years agoMerge "Add effective note on DB exception to be aware of"
Jenkins [Thu, 22 Oct 2015 10:42:45 +0000 (10:42 +0000)]
Merge "Add effective note on DB exception to be aware of"

8 years agoFix _restore_local_vlan_map race
YAMAMOTO Takashi [Wed, 21 Oct 2015 04:54:06 +0000 (13:54 +0900)]
Fix _restore_local_vlan_map race

Local vlan mappings provisioned by _restore_local_vlan_map
might not be cleaned up properly if the corresponding ports are
removed before we enter the main loop.

This commit fixes the problem by making _restore_local_vlan_map
just record local vlan IDs and leave the rest of provisioning logic
to the main loop.

Closes-Bug: #1507776
Change-Id: I84ff6684ae3fda7d839c14b1a7382871f45ce610

8 years agoDVR: notify specific agent when deleting floating ip
Oleg Bondarev [Tue, 6 Oct 2015 12:22:30 +0000 (15:22 +0300)]
DVR: notify specific agent when deleting floating ip

In DVR case we only need to notify the l3 agent on compute node
where associated fixed port is located.

Closes-Bug: #1486828
Change-Id: I644238ca295c4eb6df75a99a8ef6143a801b27cb

8 years agoMerge "Spawn dedicated rpc workers for state reports queue"
Jenkins [Thu, 22 Oct 2015 07:45:04 +0000 (07:45 +0000)]
Merge "Spawn dedicated rpc workers for state reports queue"

8 years agoMove test_extend_port_dict_no_port_security to where it belongs to
YAMAMOTO Takashi [Thu, 22 Oct 2015 04:48:20 +0000 (13:48 +0900)]
Move test_extend_port_dict_no_port_security to where it belongs to

extensions/test_portsecurity doesn't seem like an appropriate
place for tests which examine details of ML2 extension driver.

Change-Id: I56c38a334cba45e204184e5d7d9284dacc29a2e1

8 years agoFix the latest glitches that broke docs generation
armando-migliaccio [Thu, 22 Oct 2015 01:12:22 +0000 (18:12 -0700)]
Fix the latest glitches that broke docs generation

Change-Id: I56fd97e4d590fd67768fefc45aabe429ad169d48

8 years agoAdd effective note on DB exception to be aware of
armando-migliaccio [Thu, 22 Oct 2015 01:10:24 +0000 (18:10 -0700)]
Add effective note on DB exception to be aware of

Change-Id: I249b0dcf8d5ebff3c6b72c0e4deb270f0275d3a4

8 years agoMinor improvement in port_bound operation
armando-migliaccio [Thu, 22 Oct 2015 00:47:47 +0000 (17:47 -0700)]
Minor improvement in port_bound operation

By returning the need for binding, the (no-op) port processing
is skipped in the main sync loop. In fact, the port is already
detected as deleted and avoiding going over it again will save
us one log message, and thus many, many, many, many bytes over
time in logs.openstack.org.

If this is not an improvement, I don't what is.

Related-bug: 1455320

Change-Id: I4ef30bed6a1619f5980c3e61ee23ffb808c2c4f0

8 years agoClarify what gerrit repositories can target neutron-specs
Kyle Mestery [Wed, 21 Oct 2015 17:43:58 +0000 (17:43 +0000)]
Clarify what gerrit repositories can target neutron-specs

It wasn't made clear by the existing documentation that we only want
neutron, neutron-fwaas, neutron-lbaas, and neutron-vpnaas repositories
to target specs at neutron-specs. This makes it 100% crystal clear.

Change-Id: I5b87faa31d71676f1674fd7370535ae6d895b43f
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoMerge "DVR: Notify specific agent when update floatingip"
Jenkins [Wed, 21 Oct 2015 17:31:56 +0000 (17:31 +0000)]
Merge "DVR: Notify specific agent when update floatingip"

8 years agoMerge "Remove deprecated sriov agent_required option"
Jenkins [Wed, 21 Oct 2015 17:31:35 +0000 (17:31 +0000)]
Merge "Remove deprecated sriov agent_required option"

8 years agoMerge "Fix l2pop regression"
Jenkins [Wed, 21 Oct 2015 17:30:03 +0000 (17:30 +0000)]
Merge "Fix l2pop regression"

8 years agoMerge "Set ip_nonlocal_bind in namespace if it exists"
Jenkins [Wed, 21 Oct 2015 17:14:10 +0000 (17:14 +0000)]
Merge "Set ip_nonlocal_bind in namespace if it exists"

8 years agoMerge "ovs: remove several unneeded object attributes from setup_rpc()"
Jenkins [Wed, 21 Oct 2015 17:13:55 +0000 (17:13 +0000)]
Merge "ovs: remove several unneeded object attributes from setup_rpc()"

8 years agoMerge "Remove IBM SDN-VE left-overs"
Jenkins [Wed, 21 Oct 2015 14:36:27 +0000 (14:36 +0000)]
Merge "Remove IBM SDN-VE left-overs"

8 years agoMerge "Don't remove ip addresses if not master"
Jenkins [Wed, 21 Oct 2015 14:32:42 +0000 (14:32 +0000)]
Merge "Don't remove ip addresses if not master"

8 years agoFix error code when L3 HA + DVR router is created or updated
Assaf Muller [Mon, 12 Oct 2015 20:32:12 +0000 (16:32 -0400)]
Fix error code when L3 HA + DVR router is created or updated

Change-Id: I1b9a07aaf6957f062cd8632c7ca8b9d87c4afe20
Closes-Bug: #1505382

8 years agoSpawn dedicated rpc workers for state reports queue
Eugene Nikanorov [Mon, 12 Oct 2015 12:21:02 +0000 (16:21 +0400)]
Spawn dedicated rpc workers for state reports queue

By default spawn one additional rpc worker to process
state report queue.
State report queue will also be processed by regular
rpc workers, but in case these workers are busy with
processing heavy requests, state reports queue will
automatically be consumed by dedicated rpc workers.

This change applies to ML2 plugin only.
Other plugins should implement start_rpc_state_reports_listener
to enable additional rpc workers.

Change-Id: I5f8df6a478f7c82382049274b34b07109eeafbdb
Closes-Bug: #1505217

8 years agoFix l2pop regression
Assaf Muller [Tue, 20 Oct 2015 21:42:57 +0000 (17:42 -0400)]
Fix l2pop regression

Patch https://review.openstack.org/#/c/236970/ introduced an issue
where get_agent_by_host can return a random host (Including L3,
DHCP or metadata agents), not only L2 agents. The caller then
tries to get tunneling_ip, which might not exist on the returned
agent, causing l2pop code to bail out with a WARNING:
'Unable to retrieve the agent ip...'.

The issue was found by manual introspection of the code, and
verified by modifying the l2pop fullstack test to register L3
agents. Both a unit test was added, as well as modifying the
fullstack connectivity test to register L3 agents if l2pop
is enabled.

The code will now check for agents with a tunneling_ip key
in their configurations dict, which is required for l2pop
to work correctly, essentially a form of duck typing.

Change-Id: Ib3072966140b7f6ca954d7847ad9835aa1191998
Closes-Bug: #1508205

8 years agoRemove deprecated sriov agent_required option
Cedric Brandily [Tue, 20 Oct 2015 19:51:09 +0000 (21:51 +0200)]
Remove deprecated sriov agent_required option

The SR-IOV option agent_required has been deprecated in Liberty.

This change removes it and from now agents are mandatory for SR-IOV
mechanism in order to support extended features: QoS, port security.

DocImpact
Closes-Bug: #1508182
Related-Bug: #1488807
Change-Id: I4e6497da6b287531a211084a5208028c84112a83

8 years agoRemove deprecated namespace deletion options
Cedric Brandily [Tue, 20 Oct 2015 21:03:39 +0000 (23:03 +0200)]
Remove deprecated namespace deletion options

dhcp/router_delete_namespaces[1] options have been defined as a
workaround to an iproute2 limitation[1] corrected 2 years ago.

That's why the change removes these options after their deprecation
in Liberty.

[1] in neutron.agent.dhcp/l3.config

DocImpact
Closes-Bug: #1508189
Related-Bug: #1418079
Change-Id: I2a879213c3b095a007a4531f430a33cea9fdf1bd

8 years agoDeepcopy port dict in dhcp rpc handler
Pavel Bondar [Tue, 20 Oct 2015 15:59:16 +0000 (18:59 +0300)]
Deepcopy port dict in dhcp rpc handler

Added deepcopy of port dict in dhcp rpc handler to prevent operating on
changed dict in case of raising retry request.

Change-Id: Ie1816fe819ba77061e71bd61de2fd9ebe4574cef
Related-Bug: #1494351

8 years agoMerge "Include alembic versions directory to the package"
Jenkins [Wed, 21 Oct 2015 10:26:45 +0000 (10:26 +0000)]
Merge "Include alembic versions directory to the package"

8 years agoDon't remove ip addresses if not master
John Schwarz [Mon, 12 Oct 2015 12:53:49 +0000 (15:53 +0300)]
Don't remove ip addresses if not master

When setting --admin-state-up=False on an HA router with a gateway set,
standby nodes don't have any ip addresses set on the devices (although
the devices themselves are present). In such cases, Neutron should not
try to un-set those ip addresses before deleting the device itself.

Closes-bug: #1505203
Change-Id: I5df04b2ed1dc08286f6c467111c61c7f97643d66

8 years agoMerge "Refactor _populate_ports_for_subnets for testability"
Jenkins [Wed, 21 Oct 2015 09:16:11 +0000 (09:16 +0000)]
Merge "Refactor _populate_ports_for_subnets for testability"

8 years agoInclude alembic versions directory to the package
Jakub Libosvar [Tue, 13 Oct 2015 11:18:56 +0000 (13:18 +0200)]
Include alembic versions directory to the package

If package is built without access to git metadata, all the migration
scripts are not included in the build. We need to explicitly specify to
package the scripts.

Change-Id: I9a2acad13271863ee94de63c2404e8697ea70601
Closes-Bug: #1505628

8 years agoMerge "Split the FIP Namespace delete in L3 agent for DVR"
Jenkins [Wed, 21 Oct 2015 04:23:40 +0000 (04:23 +0000)]
Merge "Split the FIP Namespace delete in L3 agent for DVR"

8 years agoMerge "Properly handle segmentation_id in OVS agent"
Jenkins [Wed, 21 Oct 2015 01:46:25 +0000 (01:46 +0000)]
Merge "Properly handle segmentation_id in OVS agent"

8 years agoMerge "Fix formatting of hyperlinks provided in the office-hours doc"
Jenkins [Wed, 21 Oct 2015 00:59:31 +0000 (00:59 +0000)]
Merge "Fix formatting of hyperlinks provided in the office-hours doc"

8 years agoMerge "Remove the port-forwarding sub-project from the list"
Jenkins [Tue, 20 Oct 2015 22:20:46 +0000 (22:20 +0000)]
Merge "Remove the port-forwarding sub-project from the list"

8 years agoMerge "Remove SUPPORTED_AGENT_TYPES for l2pop"
Jenkins [Tue, 20 Oct 2015 20:34:58 +0000 (20:34 +0000)]
Merge "Remove SUPPORTED_AGENT_TYPES for l2pop"

8 years agoFix formatting of hyperlinks provided in the office-hours doc
armando-migliaccio [Wed, 14 Oct 2015 01:44:17 +0000 (18:44 -0700)]
Fix formatting of hyperlinks provided in the office-hours doc

Change-Id: I7b11f4c6efb39d17d339b3e655f184c900b83376

8 years agoRemove IBM SDN-VE left-overs
armando-migliaccio [Tue, 20 Oct 2015 17:59:08 +0000 (10:59 -0700)]
Remove IBM SDN-VE left-overs

The project has been removed in I8def7fc2e92f967785b9ab05f8496de641e8f866
and it's been retired from stackforge [1]. So it's safe to remove it from
the list with the remaining bits.

[1] https://github.com/stackforge/networking-ibm/commit/f66ddfa0a1e8c2ab2931a87d84bd5a5feab2f540

Change-Id: Ic1bb021d91bbaaa01d0ac305c8060b3af9e2389b

8 years agoRemove the port-forwarding sub-project from the list
armando-migliaccio [Tue, 20 Oct 2015 18:05:20 +0000 (11:05 -0700)]
Remove the port-forwarding sub-project from the list

This project is no longer maintained, there are newer talks
going on to better support the use case [1], possibly in
tree. To this aim, it's safe to remove this project from
the list.

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-September/073461.html

Change-Id: Ic1ae39f19381bc912a5fdb6417fff19181916744

8 years agoSet security group provider rule for icmpv6 RA in DVR
Swaminathan Vasudevan [Tue, 20 Oct 2015 05:02:38 +0000 (22:02 -0700)]
Set security group provider rule for icmpv6 RA in DVR

Security group provider rules for RA is set for the VM ports
when a router interface is added or updated after the VM
instance is created.

In the case of DVR Routers the security group provider rule
to allow the RA packets to flow through the VM port input
chain was missing and so the VM was not able to get a
SLAAC/DHCP address when associated with a DVR Router.

This fix will add the security group rule to the VM port input
chain to allow the RA packets to flow into the VM and hence
the VM will obtain an IP address assigned by the Router.

Closes-Bug: #1501969

Change-Id: Ib0b3499d9c880fe1462734b2d4092debf4819509

8 years agoProperly handle segmentation_id in OVS agent
Thomas Herve [Tue, 20 Oct 2015 13:42:59 +0000 (15:42 +0200)]
Properly handle segmentation_id in OVS agent

The segmentation_id of a OVS VLAN can be None, but a recent change
assumed that it was always an integer. It highlighted the fact that we
try to store None in the OVS database, which got stored as a string.
This fixes the storage, and handles loading the value while keeping
compatibility.

Change-Id: I6e7df1406c90ddde254467bb87ff1507a4caaadd
Closes-Bug: #1494281

8 years agoovs: remove several unneeded object attributes from setup_rpc()
Ihar Hrachyshka [Tue, 13 Oct 2015 16:11:29 +0000 (18:11 +0200)]
ovs: remove several unneeded object attributes from setup_rpc()

It's currently not clear what the interactions and interdependencies
between existing attributes set inside setup_rpc() and other code are.
This complicates its perception. So reduce the complexity a bit by using
local variables instead of object attributes where applies; and moving
agent_id calculation out of setup_rpc() since it's not related to AMQP.

Change-Id: I6ad156a7dd686ab2a2349704a34385db1ee9681c

8 years agoMerge "Move some projects url from cgit/stackforge to cgit/openstack"
Jenkins [Tue, 20 Oct 2015 15:09:15 +0000 (15:09 +0000)]
Merge "Move some projects url from cgit/stackforge to cgit/openstack"

8 years agoMerge "Remove non-existent enable_tunneling conf from fullstack"
Jenkins [Tue, 20 Oct 2015 15:08:52 +0000 (15:08 +0000)]
Merge "Remove non-existent enable_tunneling conf from fullstack"

8 years agoMerge "Update notes about the Neutron teams"
Jenkins [Tue, 20 Oct 2015 14:30:00 +0000 (14:30 +0000)]
Merge "Update notes about the Neutron teams"

8 years agoSet ip_nonlocal_bind in namespace if it exists
Brian Haley [Fri, 16 Oct 2015 22:02:16 +0000 (18:02 -0400)]
Set ip_nonlocal_bind in namespace if it exists

Somewhere in the 3.19 kernel timeframe ip_nonlocal_bind was
changed to be a per-namespace attribute. To be backwards
compatible we need to try that first, then fall-back to
setting the one in the root namespace if it fails.

Closes-Bug: #1507078
Change-Id: I018e800bc8d4e85d067aaae865c9b04bf030c980

8 years agoRemove SUPPORTED_AGENT_TYPES for l2pop
Romil Gupta [Mon, 19 Oct 2015 13:17:04 +0000 (06:17 -0700)]
Remove SUPPORTED_AGENT_TYPES for l2pop

In a world where agents can be out of tree,
this check seems no longer necessary.

As part of networking-vsphere project which runs ovsvapp agent
on each ESXi host inside service VM, which talk to neutron-server
having l2pop enabled in a multi-hypervisor mode like KVM, ESXi.
The tunnels are not getting established between KVM compute node
and ESXi host. The l2pop mech_driver needs to embrace ovsvapp agent
to form the tunnels.

Hence, this patch-set addresses the issue by removing the
SUPPORTED_AGENT_TYPES for l2pop.

Closes-Bug: #1507684
Change-Id: I93ca5736e4aad41b851d2b7b082b4bb69d1632fb

8 years agoMerge "Add stevedore aliases for interface_driver configuration"
Jenkins [Tue, 20 Oct 2015 10:49:14 +0000 (10:49 +0000)]
Merge "Add stevedore aliases for interface_driver configuration"

8 years agoDVR: Notify specific agent when update floatingip
changzhi [Thu, 20 Aug 2015 13:40:42 +0000 (21:40 +0800)]
DVR: Notify specific agent when update floatingip

The L3 agent was determined when update floatingip.
So notify the specific agent rather than notify all agents.
This will save some RPC resources. This is only for DVR routers.
Legacy and HA routers notify only the relevant agents.

This reproposes commit 52e91f48f2327b47f126893f9cb12f153380a9a6
which was reverted by commit a2f7e0343a147a30a637af4e1cb9a866f557e87d
because of Ironic gate failures.
Now the patch preserves original behavior for legacy routers and
should not break Ironic tests.

Partial-Bug: #1486828
Related-Bug: #1507602
Change-Id: I4ef7a69ad033b979ea0e29620a4febfe5e0c30dd

8 years agoMove some projects url from cgit/stackforge to cgit/openstack
Einst Crazy [Tue, 20 Oct 2015 05:57:44 +0000 (13:57 +0800)]
Move some projects url from cgit/stackforge to cgit/openstack

Some projects is moved from cgit/stackforge to cgit/openstack,
modify the rst file.

Change-Id: I37fbdeb9054dc35ff8b61aef5b444aa4f5289563

8 years agoRemove non-existent enable_tunneling conf from fullstack
Assaf Muller [Mon, 19 Oct 2015 22:15:56 +0000 (18:15 -0400)]
Remove non-existent enable_tunneling conf from fullstack

enable_tunneling is not actually a conf option, fullstack
config fixture code was passing it to the OVS agent but
it doesn't do anything.

Change-Id: I4fbe20c37f3ca6395c1ac43123a3cc2338065ed1

8 years agoUpdate notes about the Neutron teams
armando-migliaccio [Mon, 19 Oct 2015 19:57:29 +0000 (12:57 -0700)]
Update notes about the Neutron teams

Provide links to who belongs to what team, and
rename the section to better reflect its content.
Add the Neutron drivers team, which apparently
was missing and only captured on the wiki.o.o.

Change-Id: Ica1de55b11f9c9f3ad24fa5bfa431548499951e8

8 years agoMerge "Improvements to the blueprint management process"
Jenkins [Tue, 20 Oct 2015 02:22:22 +0000 (02:22 +0000)]
Merge "Improvements to the blueprint management process"

8 years agoMerge "Register oslo_service.wsgi options correctly"
Jenkins [Tue, 20 Oct 2015 02:22:09 +0000 (02:22 +0000)]
Merge "Register oslo_service.wsgi options correctly"

8 years agoMerge "ovs_neutron_agent: display loaded extensions"
Jenkins [Tue, 20 Oct 2015 02:18:18 +0000 (02:18 +0000)]
Merge "ovs_neutron_agent: display loaded extensions"

8 years agoValidate ethertype for icmp protocols
Manjeet Singh Bhatia [Wed, 14 Oct 2015 16:36:23 +0000 (16:36 +0000)]
Validate ethertype for icmp protocols

This patch will add the validation function to make sure security_group
rule is not created when ethertype is IPv4 and protocol is icmpv6.

Closes-Bug: #1505832
Depends-On: Ia1a5342a1d568cb1a015e1b7acecf38b8d1f46e1

Co-Authored By: Matt Dorn <madorn@gmail.com>

Change-Id: I4a15935c564aaa48555ed08f6da51113787ecb73

8 years agoRefactor _populate_ports_for_subnets for testability
Carl Baldwin [Fri, 16 Oct 2015 16:16:15 +0000 (16:16 +0000)]
Refactor _populate_ports_for_subnets for testability

I want to add to this function but I found it very difficult to test
the additions that I was making (because this code isn't well covered
by UTs).  This patch adds some unit testing so that I can change it
more confidently but does not change any functionality.

Change-Id: Id2cf57968f2dfb8bcf18946c922ce2bb51a27766
Partially-implements:  bp/address-scopes

8 years agoSplit the FIP Namespace delete in L3 agent for DVR
Swaminathan Vasudevan [Wed, 30 Sep 2015 18:15:52 +0000 (11:15 -0700)]
Split the FIP Namespace delete in L3 agent for DVR

Right now we are seeing a race condition in the l3 agent
for DVR routers when a floatingip is deleted and created.

The agent tries to delete the floatingip namespace and
while it tries to delete there is another call to add a
namespace. There is a timing window in between these two
calls where sometimes the call to create a namespace succeeds
but, when tried to execute any commands in the namespace
it fails, since the namespace was deleted concurrently.

Since the fip namespace is associated with an external net
and each node has only one fip namespace for an external net,
we would like to only delete the fip namespace when the
external net is deleted.

The first step is to split the delete functionality into two.
The call to fip_ns.cleanup will only remove the dependency that
the fipnamespace has with the router namespace such as fpr and
rfp veth pairs.

The call to fip_ns.delete will actually delete the
the fip namespace and the fg device.

Partial-Bug: #1501873
Change-Id: Ic94625d5a968f554af70c274b2b2c20ab64e2487

8 years agoAdd stevedore aliases for interface_driver configuration
Martin Hickey [Wed, 14 Oct 2015 21:32:49 +0000 (22:32 +0100)]
Add stevedore aliases for interface_driver configuration

Changed the interface_driver configure for agents from class
imports to stevedor aliases. The loading method needed to be
updated to load as a DriverManager. Backward compatability
for configuration as class import.

DocImpact

Change-Id: Ic349691989484286cd7c60eaf3ad1454c5852d1f
Closes-Bug: #1504536

8 years agoRegister oslo_service.wsgi options correctly
Elena Ezhova [Tue, 13 Oct 2015 08:13:51 +0000 (11:13 +0300)]
Register oslo_service.wsgi options correctly

oslo_service 0.10.0 release added register_opts function to wsgi
module that is why it is no longer needed to access its private
_options module.

Change-Id: I4803a3540a6bc9c8f08db49e209668d0736abec7
Depends-On: Id0f9f93758c68aa954d37e3566e35deae2961268

8 years agoovs_neutron_agent: display loaded extensions
Haim Daniel [Thu, 24 Sep 2015 15:53:40 +0000 (18:53 +0300)]
ovs_neutron_agent: display loaded extensions

Currently neutron agent-show command does not provide the visibility for the
loaded extensions. This commit fixes that.

DocImpact

Change-Id: Iab101682df4676ad3ca2531356a1de8f2a2d4f14
Closes-Bug: #1497969

8 years agoMerge "Cache the ARP entries in L3 Agent for DVR"
Jenkins [Mon, 19 Oct 2015 19:40:26 +0000 (19:40 +0000)]
Merge "Cache the ARP entries in L3 Agent for DVR"

8 years agoImprovements to the blueprint management process
armando-migliaccio [Thu, 15 Oct 2015 23:54:17 +0000 (16:54 -0700)]
Improvements to the blueprint management process

It is easy to oversubscribe ourselves during a release
cycle. We approve specs only to experience that we fail
to review consistently; code is posted last minute,
we get lost into chasing race conditions, the odd dependency
throws the gate under the bus, and the ever-present cosmetic
refactoring patch steers our attention from what matters,
which is *reviewing what we commit to deliver*.

In order to keep ourselves focused on the bigger picture,
this patch proposes/formalizes changes to the way we
register blueprints so that we can improve our ability
to better foresee what we'll deliver at the end of a
release.

We obviously can't predict the future or chain people
to a desk, but a regular pulse check of a well planned
task list should at least help mitigate the feeding frenzy
that usually happens closer to FF. That inevitably
leads to half-baked and buggy solutions.

Change-Id: Ia27b2a779204bf98c1dec2a30d00507de285f801

8 years agoMerge "Revert "DVR: Notify specific agent when update floatingip""
Jenkins [Mon, 19 Oct 2015 16:31:48 +0000 (16:31 +0000)]
Merge "Revert "DVR: Notify specific agent when update floatingip""

8 years agoAdd a note to ban agents from connecting to the DB
Henry Gessau [Mon, 19 Oct 2015 14:05:13 +0000 (10:05 -0400)]
Add a note to ban agents from connecting to the DB

Change-Id: I7768b354c3f07aa7d692bbe8dc344e2fece592fa

8 years agoRevert "DVR: Notify specific agent when update floatingip"
Ihar Hrachyshka [Mon, 19 Oct 2015 12:44:58 +0000 (12:44 +0000)]
Revert "DVR: Notify specific agent when update floatingip"

This reverts commit 52e91f48f2327b47f126893f9cb12f153380a9a6.

The patch broke notifications about FIP updates and triggered 100%
gate failures for Ironic gate.

I believe that I0cbe8c51c3714e6cbdc48ca37135b783f8014905 is also
breaking notifications, but for FIP create, which probably was not
utilized in any gate before and hence not caught in time.

The change the reverted patch introduced made update_floatingip to
fetch router based on FIP router_id field on every call, which was
not the case before the patch. For some reason unknown at the
moment, we get NotFound from database on this fetch.

The patch does not answer the question why we get NotFound from
database on fetching a FIP router_id, but that's another issue that
should be investigated while Ironic gate is happy.

Change-Id: I4affac49d7c63f47c5654b94b28f4cb7471e87b0
Closes-Bug: #1507558
Related-Bug: #1507602

8 years agoMerge "DVR: Notify specific agent when update floatingip"
Jenkins [Mon, 19 Oct 2015 00:19:33 +0000 (00:19 +0000)]
Merge "DVR: Notify specific agent when update floatingip"

8 years agoMerge "Fix AttributeError on port_bound for missing ports"
Jenkins [Sun, 18 Oct 2015 12:48:03 +0000 (12:48 +0000)]
Merge "Fix AttributeError on port_bound for missing ports"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Sun, 18 Oct 2015 10:06:33 +0000 (10:06 +0000)]
Merge "Imported Translations from Zanata"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sun, 18 Oct 2015 06:15:10 +0000 (06:15 +0000)]
Imported Translations from Zanata

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

Change-Id: I5745a7fb8057a39981a48e0668ac9a867f29bd4c

8 years agoFix DVR downgrade exception / error code
Assaf Muller [Mon, 12 Oct 2015 18:42:43 +0000 (14:42 -0400)]
Fix DVR downgrade exception / error code

Updating a distributed router back to a legacy router
should return error 400 (BadRequest), not error 500.

Closes-Bug: #1505346
Change-Id: Ia57e80107bd11ff7b38b89d30279603017913724

8 years agoMerge "test_db_base_plugin_v2: Skip a few tests on some platforms"
Jenkins [Sat, 17 Oct 2015 00:16:01 +0000 (00:16 +0000)]
Merge "test_db_base_plugin_v2: Skip a few tests on some platforms"

8 years agoMerge "test_create_network_segment_allocation_fails: Assert the status"
Jenkins [Fri, 16 Oct 2015 23:58:07 +0000 (23:58 +0000)]
Merge "test_create_network_segment_allocation_fails: Assert the status"

8 years agoMerge "Do not try to delete a veth from a nonexistent namespace"
Jenkins [Fri, 16 Oct 2015 23:14:28 +0000 (23:14 +0000)]
Merge "Do not try to delete a veth from a nonexistent namespace"