]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoMerge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/neutron into...
Thomas Goirand [Mon, 1 Feb 2016 12:39:41 +0000 (20:39 +0800)]
Merge branch 'debian/mitaka' of git+ssh://git.debian.org/git/openstack/neutron into debian/mitaka

Rewritten-From: b8ebd178600097f46a1cf9442c8112d58775e837

8 years agoFix setup of nova credentials.
Thomas Goirand [Mon, 1 Feb 2016 12:39:00 +0000 (20:39 +0800)]
Fix setup of nova credentials.

Rewritten-From: 86c8299192b940bdbfde51c53956af3c5c51e4b5

8 years agoFix v3 auth for the [nova] section
Thomas Goirand [Mon, 1 Feb 2016 11:53:54 +0000 (11:53 +0000)]
Fix v3 auth for the [nova] section

Rewritten-From: fcef68a4db34ee323180b372be9913aeb9755123

8 years agoSet lock_path correctly.
Thomas Goirand [Mon, 1 Feb 2016 08:52:37 +0000 (16:52 +0800)]
Set lock_path correctly.

8 years agoSet lock_path correctly.
Thomas Goirand [Mon, 1 Feb 2016 08:52:37 +0000 (16:52 +0800)]
Set lock_path correctly.

Rewritten-From: c365470a5a5aa13813fa621cf522177b62930dec

8 years agoFixed auth_protocol to be http and not https by default.
Thomas Goirand [Fri, 29 Jan 2016 05:27:35 +0000 (05:27 +0000)]
Fixed auth_protocol to be http and not https by default.

8 years agoFixed auth_protocol to be http and not https by default.
Thomas Goirand [Fri, 29 Jan 2016 05:27:35 +0000 (05:27 +0000)]
Fixed auth_protocol to be http and not https by default.

Rewritten-From: c305e20456389266fc68feb8c7ccccf0e0833853

8 years agoFixed auth_protocol to be http
Thomas Goirand [Fri, 29 Jan 2016 05:26:57 +0000 (05:26 +0000)]
Fixed auth_protocol to be http

8 years agoFixed auth_protocol to be http
Thomas Goirand [Fri, 29 Jan 2016 05:26:57 +0000 (05:26 +0000)]
Fixed auth_protocol to be http

Rewritten-From: 6ba6d8f7579398c730df83c47baa33a8713637b4

8 years agoDo not -X/usr/bin when calling dh_install.
Thomas Goirand [Fri, 29 Jan 2016 04:31:03 +0000 (04:31 +0000)]
Do not -X/usr/bin when calling dh_install.

8 years agoDo not -X/usr/bin when calling dh_install.
Thomas Goirand [Fri, 29 Jan 2016 04:31:03 +0000 (04:31 +0000)]
Do not -X/usr/bin when calling dh_install.

Rewritten-From: e9e6f487fd6bdbc3ae81c4759be7036063152eee

8 years agoAllow unit test to fail, because they do in Trusty.
Thomas Goirand [Thu, 28 Jan 2016 07:35:29 +0000 (07:35 +0000)]
Allow unit test to fail, because they do in Trusty.

8 years agoAllow unit test to fail, because they do in Trusty.
Thomas Goirand [Thu, 28 Jan 2016 07:35:29 +0000 (07:35 +0000)]
Allow unit test to fail, because they do in Trusty.

Rewritten-From: 8596131f190513d45e10d941a1a6c3e6fdd7e84f

8 years agoBumped EPOCH to align with Ubuntu.
Thomas Goirand [Thu, 28 Jan 2016 07:34:42 +0000 (07:34 +0000)]
Bumped EPOCH to align with Ubuntu.

8 years agoBumped EPOCH to align with Ubuntu.
Thomas Goirand [Thu, 28 Jan 2016 07:34:42 +0000 (07:34 +0000)]
Bumped EPOCH to align with Ubuntu.

Rewritten-From: eeee5946e4fd86e5a8a1627f64748320a0cd9e59

8 years agoFixed config file generation.
Thomas Goirand [Thu, 21 Jan 2016 15:24:14 +0000 (15:24 +0000)]
Fixed config file generation.

8 years agoFixed config file generation.
Thomas Goirand [Thu, 21 Jan 2016 15:24:14 +0000 (15:24 +0000)]
Fixed config file generation.

Rewritten-From: ba9e8f28066d61233e9f272de65bb00ae9deda9f

8 years agoFails build on unit test failures.
Thomas Goirand [Thu, 21 Jan 2016 03:01:42 +0000 (03:01 +0000)]
Fails build on unit test failures.

8 years agoFails build on unit test failures.
Thomas Goirand [Thu, 21 Jan 2016 03:01:42 +0000 (03:01 +0000)]
Fails build on unit test failures.

Rewritten-From: 934fb365675914936b2a6e8af06289d8edd30450

8 years agoFixed min version for python-debtcollector
Thomas Goirand [Thu, 21 Jan 2016 02:17:46 +0000 (02:17 +0000)]
Fixed min version for python-debtcollector

8 years agoFixed min version for python-debtcollector
Thomas Goirand [Thu, 21 Jan 2016 02:17:46 +0000 (02:17 +0000)]
Fixed min version for python-debtcollector

Rewritten-From: ec6e310cd5d87866a14fce7f5461a9a35ecbfcae

8 years agoRemoved neutron-common.links (for symlink to /var/lib/quantum).
Thomas Goirand [Wed, 20 Jan 2016 13:41:43 +0000 (13:41 +0000)]
Removed neutron-common.links (for symlink to /var/lib/quantum).

8 years agoRemoved neutron-common.links (for symlink to /var/lib/quantum).
Thomas Goirand [Wed, 20 Jan 2016 13:41:43 +0000 (13:41 +0000)]
Removed neutron-common.links (for symlink to /var/lib/quantum).

Rewritten-From: 2cc4c8a7f80728ab4d5e50e42c000ed9e769d970

8 years agoRemoved final dot in short desc.
Thomas Goirand [Wed, 20 Jan 2016 13:38:46 +0000 (13:38 +0000)]
Removed final dot in short desc.

8 years agoRemoved final dot in short desc.
Thomas Goirand [Wed, 20 Jan 2016 13:38:46 +0000 (13:38 +0000)]
Removed final dot in short desc.

Rewritten-From: c6ecf9c6828d9019a79ce995b67bdaa1924a1bbd

8 years agoRemoved all shlibs:Depends from debian/control.
Thomas Goirand [Wed, 20 Jan 2016 13:35:05 +0000 (13:35 +0000)]
Removed all shlibs:Depends from debian/control.

8 years agoRemoved all shlibs:Depends from debian/control.
Thomas Goirand [Wed, 20 Jan 2016 13:35:05 +0000 (13:35 +0000)]
Removed all shlibs:Depends from debian/control.

Rewritten-From: b4f458bf06aae9c2ac0339e73557099b15088248

8 years agoFixed too long lines in long description.
Thomas Goirand [Wed, 20 Jan 2016 13:31:33 +0000 (13:31 +0000)]
Fixed too long lines in long description.

8 years agoFixed too long lines in long description.
Thomas Goirand [Wed, 20 Jan 2016 13:31:33 +0000 (13:31 +0000)]
Fixed too long lines in long description.

Rewritten-From: 6edee41d01da0fec1a7a313c9e552f8f9ae7cf07

8 years agoFixed debian/copyright
Thomas Goirand [Wed, 20 Jan 2016 13:29:00 +0000 (13:29 +0000)]
Fixed debian/copyright

8 years agoFixed debian/copyright
Thomas Goirand [Wed, 20 Jan 2016 13:29:00 +0000 (13:29 +0000)]
Fixed debian/copyright

Rewritten-From: 7ef3a48c06585880626e894f28c232dbae90e084

8 years agoFixed create dirs before calling oslo-config-generator
Thomas Goirand [Wed, 20 Jan 2016 13:06:15 +0000 (13:06 +0000)]
Fixed create dirs before calling oslo-config-generator

8 years agoFixed create dirs before calling oslo-config-generator
Thomas Goirand [Wed, 20 Jan 2016 13:06:15 +0000 (13:06 +0000)]
Fixed create dirs before calling oslo-config-generator

Rewritten-From: eca39d5aa92369d42db37e86383e061aa04ad795

8 years agoFixed call to oslo-config-generator
Thomas Goirand [Wed, 20 Jan 2016 13:01:47 +0000 (13:01 +0000)]
Fixed call to oslo-config-generator

8 years agoFixed call to oslo-config-generator
Thomas Goirand [Wed, 20 Jan 2016 13:01:47 +0000 (13:01 +0000)]
Fixed call to oslo-config-generator

Rewritten-From: 7e95fb42d2ea9ebdbffad669ed2fac6f521f3893

8 years agoDo not delete debian/tmp/usr/lib
Thomas Goirand [Wed, 20 Jan 2016 13:00:28 +0000 (13:00 +0000)]
Do not delete debian/tmp/usr/lib

8 years agoDo not delete debian/tmp/usr/lib
Thomas Goirand [Wed, 20 Jan 2016 13:00:28 +0000 (13:00 +0000)]
Do not delete debian/tmp/usr/lib

Rewritten-From: 021626ec96740834024aede611f62a46dd569463

8 years agoFixed ovs -> openvswitch depends.
Thomas Goirand [Wed, 20 Jan 2016 12:39:58 +0000 (12:39 +0000)]
Fixed ovs -> openvswitch depends.

8 years agoFixed ovs -> openvswitch depends.
Thomas Goirand [Wed, 20 Jan 2016 12:39:58 +0000 (12:39 +0000)]
Fixed ovs -> openvswitch depends.

Rewritten-From: 817307ef48876aff2851fb70c0fd68890ae72bc2

8 years agoexport OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.
Thomas Goirand [Wed, 20 Jan 2016 10:47:57 +0000 (10:47 +0000)]
export OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.

8 years agoexport OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.
Thomas Goirand [Wed, 20 Jan 2016 10:47:57 +0000 (10:47 +0000)]
export OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.

Rewritten-From: 6f9c29414dfe25c1be8d48f17911e3cdaa72d75d

8 years ago * Using oslo-config-generator to generate config files, as upstream moved to
Thomas Goirand [Wed, 20 Jan 2016 10:45:54 +0000 (10:45 +0000)]
  * Using oslo-config-generator to generate config files, as upstream moved to
    use that as well.

8 years ago * Using oslo-config-generator to generate config files, as upstream moved to
Thomas Goirand [Wed, 20 Jan 2016 10:45:54 +0000 (10:45 +0000)]
  * Using oslo-config-generator to generate config files, as upstream moved to
    use that as well.

Rewritten-From: 78602ff77d5ea0a43d35fb55c7a4913fa559779c

8 years ago * Added extend-diff-ignore = "^[^/]*[.]egg-info/" in d/source/options.
Thomas Goirand [Wed, 20 Jan 2016 10:04:46 +0000 (10:04 +0000)]
  * Added extend-diff-ignore = "^[^/]*[.]egg-info/" in d/source/options.
  * Did some cleanups in debian/rules.

8 years ago * Added extend-diff-ignore = "^[^/]*[.]egg-info/" in d/source/options.
Thomas Goirand [Wed, 20 Jan 2016 10:04:46 +0000 (10:04 +0000)]
  * Added extend-diff-ignore = "^[^/]*[.]egg-info/" in d/source/options.
  * Did some cleanups in debian/rules.

Rewritten-From: fb08ad23616e316ad45dde20f3f907577b17a60f

8 years agoFixed (build-)depends for this release.
Thomas Goirand [Wed, 20 Jan 2016 09:57:08 +0000 (17:57 +0800)]
Fixed (build-)depends for this release.

8 years agoFixed (build-)depends for this release.
Thomas Goirand [Wed, 20 Jan 2016 09:57:08 +0000 (17:57 +0800)]
Fixed (build-)depends for this release.

Rewritten-From: fb1c0de1f79691cdbeb9b334d60282a3076e529e

8 years agoMerge tag '8.0.0_b2' into debian/mitaka
Thomas Goirand [Wed, 20 Jan 2016 09:47:20 +0000 (17:47 +0800)]
Merge tag '8.0.0_b2' into debian/mitaka

neutron 8.0.0.0b2 development milestone

meta:version: 8.0.0.0b2
meta:series: mitaka
meta:release-type: development milestone
meta:announce: openstack-announce@lists.openstack.org

8 years agoNow packaging 8.0.0~b2
Thomas Goirand [Wed, 20 Jan 2016 09:47:05 +0000 (17:47 +0800)]
Now packaging 8.0.0~b2

Rewritten-From: 8fc3dfd64a0fc3d0943ed7fc77599f617c695c3b

8 years agoNow packaging 8.0.0~b2
Thomas Goirand [Wed, 20 Jan 2016 09:47:05 +0000 (17:47 +0800)]
Now packaging 8.0.0~b2

8 years agoMerge "Add support for neutron-full and api jobs using pecan to gate_hook"
Jenkins [Tue, 19 Jan 2016 11:15:14 +0000 (11:15 +0000)]
Merge "Add support for neutron-full and api jobs using pecan to gate_hook"

8 years agoMerge "gate_hook: add support for dsvm-plus job type"
Jenkins [Tue, 19 Jan 2016 07:04:58 +0000 (07:04 +0000)]
Merge "gate_hook: add support for dsvm-plus job type"

8 years agoMerge "DVR: Optimize getting arp entry info"
Jenkins [Tue, 19 Jan 2016 03:48:58 +0000 (03:48 +0000)]
Merge "DVR: Optimize getting arp entry info"

8 years agoRemove dead method _get_router_ids
lzklibj [Mon, 18 Jan 2016 03:34:31 +0000 (11:34 +0800)]
Remove dead method _get_router_ids

No place is using _get_router_ids, it is dead method now.
And for l3_db.Router related query, it always based on certain
filters, such as on which host, extra attribute is distributed
or HA. While this method cannot fix those requirements.

Method _get_router_ids is created in patch
I35eae975209316aad6b2c97c909dce385729864d , its purpose is to
avoid DB query to fetch full data for routers while only id is
needed. But in patch Ie561b19a2e58a2a563d79b75421e9e24c70f36f9 ,
its caller was removed, but seems we forget to remove this dead
method at that time.

Change-Id: I924e3e652deea2f89c4aaf1fd780e467ea81b843

8 years agoDVR: Optimize getting arp entry info
Dongcan Ye [Tue, 12 Jan 2016 12:42:01 +0000 (20:42 +0800)]
DVR: Optimize getting arp entry info

Grab duplicated code in add_arp_entry and del_arp_entry.

Change-Id: I579d66ec734627dec08df6fba750a3e237600a5c

8 years agoMerge "Register RA and PD config options in l3-agent"
Jenkins [Sun, 17 Jan 2016 23:00:35 +0000 (23:00 +0000)]
Merge "Register RA and PD config options in l3-agent"

8 years agoMerge "Refactor router delete processing"
Jenkins [Sun, 17 Jan 2016 22:10:14 +0000 (22:10 +0000)]
Merge "Refactor router delete processing"

8 years agoMerge "Fix the duplicated references"
Jenkins [Sun, 17 Jan 2016 20:36:42 +0000 (20:36 +0000)]
Merge "Fix the duplicated references"

8 years agoMerge "Add opnfv tag to the list of auto-complete tags"
Jenkins [Sun, 17 Jan 2016 20:35:15 +0000 (20:35 +0000)]
Merge "Add opnfv tag to the list of auto-complete tags"

8 years agoMerge "devstack: use stevedore entry point for flavor service plugin"
Jenkins [Sat, 16 Jan 2016 19:50:12 +0000 (19:50 +0000)]
Merge "devstack: use stevedore entry point for flavor service plugin"

8 years agoAdd support for neutron-full and api jobs using pecan to gate_hook
Doug Wiegley [Fri, 15 Jan 2016 16:43:51 +0000 (10:43 -0600)]
Add support for neutron-full and api jobs using pecan to gate_hook

Change-Id: I21ad2a901c59bb58327b5e502cf9e848b3506b56

8 years agoMerge "DVR: when updating port's fixed_ips, update arp"
Jenkins [Sat, 16 Jan 2016 17:24:20 +0000 (17:24 +0000)]
Merge "DVR: when updating port's fixed_ips, update arp"

8 years agoMerge "Move L2populationDbMixin to module-level functions"
Jenkins [Sat, 16 Jan 2016 17:23:29 +0000 (17:23 +0000)]
Merge "Move L2populationDbMixin to module-level functions"

8 years agoMerge "Updated from global requirements"
Jenkins [Sat, 16 Jan 2016 14:19:03 +0000 (14:19 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Make sure datapath_type is updated on bridges changed"
Jenkins [Sat, 16 Jan 2016 14:14:14 +0000 (14:14 +0000)]
Merge "Make sure datapath_type is updated on bridges changed"

8 years agoMerge "fix get_ha_sync_data_for_host for non-dvr agent"
Jenkins [Sat, 16 Jan 2016 14:09:28 +0000 (14:09 +0000)]
Merge "fix get_ha_sync_data_for_host for non-dvr agent"

8 years agoMerge "Fix get_subnet_for_dvr() to return correct gateway mac"
Jenkins [Sat, 16 Jan 2016 14:04:19 +0000 (14:04 +0000)]
Merge "Fix get_subnet_for_dvr() to return correct gateway mac"

8 years agoMerge "Fix params order in assertEqual"
Jenkins [Sat, 16 Jan 2016 13:43:33 +0000 (13:43 +0000)]
Merge "Fix params order in assertEqual"

8 years agoMerge "Make security_groups_provider_updated work with Kilo agents"
Jenkins [Sat, 16 Jan 2016 13:42:56 +0000 (13:42 +0000)]
Merge "Make security_groups_provider_updated work with Kilo agents"

8 years agoMerge "doc: Update Ryu Ishimoto's IRC nick"
Jenkins [Sat, 16 Jan 2016 13:41:42 +0000 (13:41 +0000)]
Merge "doc: Update Ryu Ishimoto's IRC nick"

8 years agoMerge "Revert "Change function call order in ovs_neutron_agent.""
Jenkins [Sat, 16 Jan 2016 13:41:09 +0000 (13:41 +0000)]
Merge "Revert "Change function call order in ovs_neutron_agent.""

8 years agoMerge "Introduce new query to return all hosts for DVR router"
Jenkins [Sat, 16 Jan 2016 13:40:28 +0000 (13:40 +0000)]
Merge "Introduce new query to return all hosts for DVR router"

8 years agoMerge "Retry port create/update on duplicate db records"
Jenkins [Sat, 16 Jan 2016 11:38:13 +0000 (11:38 +0000)]
Merge "Retry port create/update on duplicate db records"

8 years agoMerge "L3 agent: paginate sync routers task"
Jenkins [Sat, 16 Jan 2016 09:13:46 +0000 (09:13 +0000)]
Merge "L3 agent: paginate sync routers task"

8 years agoMerge "Make neutron pecan server an option instead of binary"
Jenkins [Sat, 16 Jan 2016 03:41:33 +0000 (03:41 +0000)]
Merge "Make neutron pecan server an option instead of binary"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 16 Jan 2016 03:28:47 +0000 (03:28 +0000)]
Updated from global requirements

Change-Id: Ia4001c53f4c2c3d1076fa7533dfd095245ef8082

8 years agoMerge "Fix regression with unbound ports and l2pop"
Jenkins [Sat, 16 Jan 2016 03:22:12 +0000 (03:22 +0000)]
Merge "Fix regression with unbound ports and l2pop"

8 years agoMerge "dhcp: handle advertise_mtu=True when plugin does not set mtu values"
Jenkins [Sat, 16 Jan 2016 03:21:48 +0000 (03:21 +0000)]
Merge "dhcp: handle advertise_mtu=True when plugin does not set mtu values"

8 years agoMerge "Unify using assertIsInstance"
Jenkins [Sat, 16 Jan 2016 03:20:30 +0000 (03:20 +0000)]
Merge "Unify using assertIsInstance"

8 years agoMerge "Use oslo.utils.reflection extract the class name"
Jenkins [Sat, 16 Jan 2016 03:18:50 +0000 (03:18 +0000)]
Merge "Use oslo.utils.reflection extract the class name"

8 years agoMerge "OVS: Reorder table-id constants"
Jenkins [Sat, 16 Jan 2016 00:41:16 +0000 (00:41 +0000)]
Merge "OVS: Reorder table-id constants"

8 years agoMerge "Unify exceptions for assign router to dvr agent"
Jenkins [Fri, 15 Jan 2016 23:48:05 +0000 (23:48 +0000)]
Merge "Unify exceptions for assign router to dvr agent"

8 years agoMove L2populationDbMixin to module-level functions
Terry Wilson [Fri, 15 Jan 2016 19:44:14 +0000 (13:44 -0600)]
Move L2populationDbMixin to module-level functions

None of the L2populationDbMixin methods actually use 'self' for
anything. As the class is basically just used as a namespace and
modules already provide that, this patch gets rid of the mixin. This
makes the code simpler and easier to debug as inheritance doesn't buy
us anything in this case.

Change-Id: Ibf4dfe49a2ebc32d3909d3d7b579d2bb2ea3f61d

8 years agoMerge "Fix Linux bridge test_report_state_revived failure on OSX"
Jenkins [Fri, 15 Jan 2016 20:51:00 +0000 (20:51 +0000)]
Merge "Fix Linux bridge test_report_state_revived failure on OSX"

8 years agoMerge "Added Keystone and RequestID headers to CORS middleware"
Jenkins [Fri, 15 Jan 2016 19:26:04 +0000 (19:26 +0000)]
Merge "Added Keystone and RequestID headers to CORS middleware"

8 years agoMerge "Provide kwargs for callback abort"
Jenkins [Fri, 15 Jan 2016 19:23:18 +0000 (19:23 +0000)]
Merge "Provide kwargs for callback abort"

8 years agoFix the duplicated references
armando-migliaccio [Fri, 15 Jan 2016 19:22:40 +0000 (11:22 -0800)]
Fix the duplicated references

Change-Id: Id527718bf25be54b765dfa6f3f1155ff3485ae64

8 years agoAdd opnfv tag to the list of auto-complete tags
armando-migliaccio [Fri, 15 Jan 2016 19:16:23 +0000 (11:16 -0800)]
Add opnfv tag to the list of auto-complete tags

The OPNFV project [1] is a reference implementation of the
ETSI NFV architecture built on open source components.
OpenStack, and Neutron in particular, are key elements of
this story, and many requirements and issues are driven and
submitted by OPNFV folks that work in both communities.

This tag makes sure that we can keep all of them together for
tracking purposes.

[1] http://superuser.openstack.org/articles/openstack-and-opnfv-strengthen-collaboration-for-telcos

Change-Id: Ie1675ef6f177558f579097fe035494b9380232d0

8 years agoMerge "Pecan controller loads service plugins"
Jenkins [Fri, 15 Jan 2016 17:39:16 +0000 (17:39 +0000)]
Merge "Pecan controller loads service plugins"

8 years agoRefactor router delete processing
Ryan Moats [Mon, 30 Nov 2015 18:36:54 +0000 (12:36 -0600)]
Refactor router delete processing

The discussion in [2] indicated that [1] would lead to orphaned
items during error cases.  This refactoring replaces the
optimistic approach followed by [1] with a separate delete code
path that does not execute the operations that take place within
the namespace that will be removed.  Operations that take place
outside of those namespaces are still performed to ensure that
no orphaned items result.

A comment has been added to the functional test to explain what
case is being tested.

[1] https://review.openstack.org/#/c/240971
[2] conversation starting at http://goo.gl/bZgvqW

Change-Id: I663f1264fb3963789b79a4a7c3e46d232b2f0620
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoRevert "Change function call order in ovs_neutron_agent."
Kevin Benton [Fri, 15 Jan 2016 15:22:03 +0000 (15:22 +0000)]
Revert "Change function call order in ovs_neutron_agent."

This reverts commit 9c72bac0ea37971b2d5430246295c5e8b859b4ed.

Change-Id: I9b6b588b68f63f6688749d011dc8b20ef80edadc
Closes-Bug: #1534322

8 years agoMake security_groups_provider_updated work with Kilo agents
Ihar Hrachyshka [Wed, 13 Jan 2016 11:37:21 +0000 (12:37 +0100)]
Make security_groups_provider_updated work with Kilo agents

Initially, we bumped the required version for the agent endpoint from
1.1 (the initial version that implemented security groups) to 1.3
without considering that the code should work with old agents that do
not yet know about the new devices_to_update argument.

Actually, there was no need to bump the version: old agent side code
already captures all unknown arguments that could be passed from the
server, ignoring them:

https://github.com/openstack/neutron/blob/608b54137fb67512c07099089ea7e074176e12df/neutron/agent/securitygroups_rpc.py#L155

(^ the link shows the latest Kilo code as of writing)

Note: some people may argue that the approach that is taken in Neutron
to support backwards compatibility for server notifications is wrong,
and we instead should adopt some stricter mechanism like nova version
pinning. While that is a noble thing to do, it's out of scope for the
patch that is designed to be easily backportable to stable/liberty.

Note: some people may also argue that the patch should go straight into
stable/liberty because we don't claim support for rolling upgrade
scenarios that span multiple releases. That's indeed true, though my
take on it is that if we have a way to handle more unofficial scenarios
without more coding effort, it's worth doing it.

Change-Id: I741e6e5c460658ac17095551040e67e8d1990812
Closes-Bug: #1531772

8 years agoIntroduce new query to return all hosts for DVR router
Oleg Bondarev [Thu, 17 Dec 2015 11:57:21 +0000 (14:57 +0300)]
Introduce new query to return all hosts for DVR router

When we remove explicit binding of dvr routers to compute nodes
we'll need a way to know all hosts where a dvr router should be
hosted in order to send notifications.
This patch adds such a query and updates l3 rpc notifier to use it.

Partially implements blueprint improve-dvr-l3-agent-binding
Change-Id: Ic6680bb42455189f14c4c913b1d4adeebda83180

8 years agofix get_ha_sync_data_for_host for non-dvr agent
lzklibj [Wed, 28 Oct 2015 09:02:11 +0000 (17:02 +0800)]
fix get_ha_sync_data_for_host for non-dvr agent

get_ha_sync_data_for_host will call _get_dvr_sync_data
even given agent is not in DVR agent_mode.
_get_dvr_sync_data has additional processing for dvr
like:
    dvr_router_ids = set(router['id'] for router in routers
                         if is_distributed_router(router))
    floating_ip_port_ids = [fip['port_id'] for fip in floating_ips
                                if fip['router_id'] in dvr_router_ids]
which should only work for DVR scenario.

That will increase neutron-server processing time for
non-DVR scenario. Adding logic to judge whether given
agent is in DVR agent_mode, call get_sync_data directly.

Closes-Bug: #1510796
Change-Id: I5572e19b7cd8b2ea63fde4463705ab1c56fe5e68

8 years agodhcp: handle advertise_mtu=True when plugin does not set mtu values
Ihar Hrachyshka [Thu, 14 Jan 2016 15:06:20 +0000 (16:06 +0100)]
dhcp: handle advertise_mtu=True when plugin does not set mtu values

DHCP agent may be used by plugins that don't set mtu value for networks.
Handle the case by not passing the DHCP option when network does not
have the value set.

Most plugins do set the value though, since it's enforced in base db
plugin class.

Closes-Bug: #1534197
Change-Id: I282b3d6b81f91eb8cea901d955cbcca6ecb2a95d

8 years agoMerge "Add --dry-run mode to code review abandon tool"
Jenkins [Fri, 15 Jan 2016 08:23:56 +0000 (08:23 +0000)]
Merge "Add --dry-run mode to code review abandon tool"

8 years agoMerge "HACKING: update HACKING.rst file to include latest changes"
Jenkins [Fri, 15 Jan 2016 08:23:20 +0000 (08:23 +0000)]
Merge "HACKING: update HACKING.rst file to include latest changes"

8 years agoMerge "Add systemd notification after reporting initial state"
Jenkins [Fri, 15 Jan 2016 08:22:20 +0000 (08:22 +0000)]
Merge "Add systemd notification after reporting initial state"

8 years agoMerge "Do not prohibit VXLAN over IPv6"
Jenkins [Fri, 15 Jan 2016 08:15:36 +0000 (08:15 +0000)]
Merge "Do not prohibit VXLAN over IPv6"

8 years agoMerge "Add 'ovs' to requirements.txt"
Jenkins [Fri, 15 Jan 2016 08:14:58 +0000 (08:14 +0000)]
Merge "Add 'ovs' to requirements.txt"