]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoMerge "Don't update metadata_proxy if metadata is not enabled"
Jenkins [Mon, 2 Nov 2015 04:54:43 +0000 (04:54 +0000)]
Merge "Don't update metadata_proxy if metadata is not enabled"

8 years agoMerge "Remove deprecated nova_* options"
Jenkins [Sun, 1 Nov 2015 09:43:32 +0000 (09:43 +0000)]
Merge "Remove deprecated nova_* options"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sun, 1 Nov 2015 06:12:31 +0000 (06:12 +0000)]
Imported Translations from Zanata

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

Change-Id: I1cec4c9071a03288cd1cf33b19c42c95785b4fb4

8 years agoMerge "Fixed a bunch of typos throughout Neutron"
Jenkins [Sat, 31 Oct 2015 23:34:05 +0000 (23:34 +0000)]
Merge "Fixed a bunch of typos throughout Neutron"

8 years agoRemove deprecated nova_* options
Cedric Brandily [Thu, 22 Oct 2015 21:15:18 +0000 (23:15 +0200)]
Remove deprecated nova_* options

Neutron nova_* options have been deprecated in Kilo in favour of options
in [nova] section.

This change removes these options in order to simplify code, clarify
configuration and avoid a warning in unittests.

DocImpact
UpgradeImpact
Closes-Bug: #1509092
Related-Bug: #1403686
Change-Id: I950f72ad7d7d41cfa006f8c7105934301cd56faa

8 years agoMerge "Decompose ML2 mechanism driver for OVSvApp"
Jenkins [Sat, 31 Oct 2015 08:36:12 +0000 (08:36 +0000)]
Merge "Decompose ML2 mechanism driver for OVSvApp"

8 years agoFixed a bunch of typos throughout Neutron
Brandon Palm [Wed, 28 Oct 2015 19:51:25 +0000 (14:51 -0500)]
Fixed a bunch of typos throughout Neutron

Went through all of the docstrings in Neutron and did
some cleanup.  I'm sure there are bunch more that I have missed.

Change-Id: Ib29d2de1c580880c89ed4fd069e1515d0977a3e7

8 years agoMerge "Add text for deprecated parameter"
Jenkins [Fri, 30 Oct 2015 03:43:31 +0000 (03:43 +0000)]
Merge "Add text for deprecated parameter"

8 years agoAdd text for deprecated parameter
Nate Johnston [Thu, 29 Oct 2015 05:17:17 +0000 (01:17 -0400)]
Add text for deprecated parameter

Add information for "max_fixed_ips_per_port" option that the
option is deprecated and will be removed in the N release.

Co-Authored-By: Takanori Miyagishi <miyagishi.t@jp.fujitsu.com>
Change-Id: I9aa876c371e7b6cff2068dc641c5e4b5ebda8001
Closes-Bug: #1503088

8 years agoClarify with example mentioning gratuitous whitespace changes
Carl Baldwin [Fri, 23 Oct 2015 21:04:39 +0000 (21:04 +0000)]
Clarify with example mentioning gratuitous whitespace changes

Maybe I'm just too picky but I usually call this stuff out in reviews
even if I decide to +2 the patch set.

Change-Id: I5a2667d44203147e112f5a1d7573105478d805f7

8 years agoDecompose ML2 mechanism driver for OVSvApp
Cedric Brandily [Thu, 29 Oct 2015 05:38:23 +0000 (14:38 +0900)]
Decompose ML2 mechanism driver for OVSvApp

This change removes OVSvApp ML2 mechanism driver after its definition in
networking-vsphere.

DocImpact
Closes-Bug: #1511198
Depends-On: Ib7b2852f3d4dc35a837a425366c5bf0135725a74
Change-Id: I5e310f0596f3ea206800ac9d4daca1c292a234f1

8 years agoFix usage of mutable object as default value
Gary Kotton [Thu, 29 Oct 2015 13:48:48 +0000 (06:48 -0700)]
Fix usage of mutable object as default value

Commit 0a300a2277a583fe28b00db2571982928c752554 added a bad parameter.
Please see http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I0550c4c86774f8761287c596350f7461fec05fe4

8 years agoMerge "Optimize interface_exists_on_bridge"
Jenkins [Thu, 29 Oct 2015 09:00:07 +0000 (09:00 +0000)]
Merge "Optimize interface_exists_on_bridge"

8 years agoMerge "Log end of router updates for PD and delete branches"
Jenkins [Thu, 29 Oct 2015 08:59:53 +0000 (08:59 +0000)]
Merge "Log end of router updates for PD and delete branches"

8 years agoMerge "Make the Neutron Stadium documentation toplevel"
Jenkins [Thu, 29 Oct 2015 07:36:49 +0000 (07:36 +0000)]
Merge "Make the Neutron Stadium documentation toplevel"

8 years agoMerge "Add notes about stable merge requirements for sub-projects"
Jenkins [Thu, 29 Oct 2015 06:39:53 +0000 (06:39 +0000)]
Merge "Add notes about stable merge requirements for sub-projects"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Thu, 29 Oct 2015 06:37:28 +0000 (06:37 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Updated from global requirements"
Jenkins [Thu, 29 Oct 2015 06:18:09 +0000 (06:18 +0000)]
Merge "Updated from global requirements"

8 years agoMake the Neutron Stadium documentation toplevel
Kyle Mestery [Thu, 29 Oct 2015 05:29:44 +0000 (14:29 +0900)]
Make the Neutron Stadium documentation toplevel

This commits moves the Neutron Stadium documentation to the toplevel
portion of the documentation tree.

Change-Id: I0ec585975c453a9dd08d22293bb68dbc775802e6
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoAdd notes about stable merge requirements for sub-projects
Kyle Mestery [Thu, 29 Oct 2015 01:00:24 +0000 (10:00 +0900)]
Add notes about stable merge requirements for sub-projects

It was pointed out the requirements around what is allowed to be merged
into stable Neutron sub-projects wasn't clear. This attempts to make
that a bit more refined so those who choose to participate in the Neutron
Stadium know these requirements.

Change-Id: I6d472f4d9458ce311199ded89dc2a81759d1efa5
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoFix incorrect capitilization of PyPI
Kyle Mestery [Thu, 29 Oct 2015 00:40:10 +0000 (09:40 +0900)]
Fix incorrect capitilization of PyPI

Change-Id: I2cadc925e3a78241f3dd44acb440427f816b7ff9
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 28 Oct 2015 22:07:28 +0000 (22:07 +0000)]
Updated from global requirements

Change-Id: I7a0550f47b885618c53bbea777680c58b4c8ab13

8 years agoLog end of router updates for PD and delete branches
Ryan Moats [Wed, 28 Oct 2015 16:01:28 +0000 (11:01 -0500)]
Log end of router updates for PD and delete branches

These execution branches call continue directly without
logging the end of the router update.  This leads to
confusion about when the last router update finishes if
it is a delete or a PD update.

Change-Id: Id82e7374aa9336e0adea3042238f30f716208373
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Closes-bug: #1511004

8 years agoDon't update metadata_proxy if metadata is not enabled
Hong Hui Xiao [Wed, 28 Oct 2015 09:57:43 +0000 (05:57 -0400)]
Don't update metadata_proxy if metadata is not enabled

When enable_metadata_proxy is false, the agent instance will
not have metadata_driver. And agent should avoid using it.

Change-Id: Ia18dc5dea23de49b97c8f225532531eb9232fb51
Closes-Bug: #1510399

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Wed, 28 Oct 2015 06:12:02 +0000 (06:12 +0000)]
Imported Translations from Zanata

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

Change-Id: Ic47890d38487f8e5f566da101da649c34f51d9ee

8 years agoMerge "Log the exception in linuxbridge_neutron_agent as exception"
Jenkins [Wed, 28 Oct 2015 03:30:21 +0000 (03:30 +0000)]
Merge "Log the exception in linuxbridge_neutron_agent as exception"

8 years agoMerge "Replace utils.exec for IpNeighComm LinuxBridge drv"
Jenkins [Wed, 28 Oct 2015 02:51:10 +0000 (02:51 +0000)]
Merge "Replace utils.exec for IpNeighComm LinuxBridge drv"

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 agoReplace utils.exec for IpNeighComm LinuxBridge drv
Lubosz Kosnik [Wed, 21 Oct 2015 13:50:16 +0000 (15:50 +0200)]
Replace utils.exec for IpNeighComm LinuxBridge drv

Replace all execution of "ip neigh" command using
utils.exec for ip_lib.IpNeighCommand.(add,delete)
in LinuxBridge driver

Changed multiple which for one and fixed indentations
Closes-Bug: #1311019

Change-Id: I1389941b7df11c089429f1de61eac6d7ea5d0e54

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 agoOptimize interface_exists_on_bridge
Cedric Brandily [Mon, 26 Oct 2015 00:19:26 +0000 (09:19 +0900)]
Optimize interface_exists_on_bridge

Currently interface_exists_on_bridge[1] lists all files in a folder and
searchs for the file associated to the interface.

This change proposes to look for the file existence directly.

[1] neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent

Closes-Bug: #1509890
Change-Id: I23cd1edc92912b35bdc23ba0af2318b86f2cfd48

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"