13117 Commits

Author SHA1 Message Date
Emma Foley
dcf6ffe185 Fixes typos Openstack -> OpenStack
Occurances of Openstack (incorrect capitalization) are replaced with
OpenStack

Change-Id: I7f33060a2dd430cdd49aebf9420e3cd54d21c72c
Closes-Bug: #1535246
2016-01-18 16:04:56 +00:00
Jenkins
d6d43b32ca Merge "Register RA and PD config options in l3-agent" 2016-01-17 23:00:36 +00:00
Jenkins
4578129a83 Merge "Refactor router delete processing" 2016-01-17 22:10:14 +00:00
Jenkins
ab68da426f Merge "Fix the duplicated references" 2016-01-17 20:36:42 +00:00
Jenkins
92fb281257 Merge "Add opnfv tag to the list of auto-complete tags" 2016-01-17 20:35:15 +00:00
Jenkins
6609d57274 Merge "devstack: use stevedore entry point for flavor service plugin" 2016-01-16 19:50:13 +00:00
Jenkins
6526c7edef Merge "DVR: when updating port's fixed_ips, update arp" 2016-01-16 17:24:21 +00:00
Jenkins
7fd8d2d71f Merge "Move L2populationDbMixin to module-level functions" 2016-01-16 17:23:30 +00:00
Jenkins
5bd8bb1b99 Merge "Updated from global requirements" 2016-01-16 14:19:04 +00:00
Jenkins
de4ec98acc Merge "Make sure datapath_type is updated on bridges changed" 2016-01-16 14:14:15 +00:00
Jenkins
00b90e2a7a Merge "fix get_ha_sync_data_for_host for non-dvr agent" 2016-01-16 14:09:29 +00:00
Jenkins
767873e37c Merge "Fix get_subnet_for_dvr() to return correct gateway mac" 2016-01-16 14:04:19 +00:00
Jenkins
f870175014 Merge "Fix params order in assertEqual" 2016-01-16 13:43:34 +00:00
Jenkins
df166a6a3c Merge "Make security_groups_provider_updated work with Kilo agents" 2016-01-16 13:42:57 +00:00
Jenkins
c4496a776e Merge "doc: Update Ryu Ishimoto's IRC nick" 2016-01-16 13:41:43 +00:00
Jenkins
bbbedc0c26 Merge "Revert "Change function call order in ovs_neutron_agent."" 2016-01-16 13:41:10 +00:00
Jenkins
dba3535129 Merge "Introduce new query to return all hosts for DVR router" 2016-01-16 13:40:29 +00:00
Jenkins
080fae63ea Merge "Retry port create/update on duplicate db records" 2016-01-16 11:38:13 +00:00
Jenkins
ea8cafdfc0 Merge "L3 agent: paginate sync routers task" 2016-01-16 09:13:46 +00:00
Jenkins
98ebf0ee25 Merge "Make neutron pecan server an option instead of binary" 2016-01-16 03:41:34 +00:00
OpenStack Proposal Bot
caf1297c17 Updated from global requirements
Change-Id: Ia4001c53f4c2c3d1076fa7533dfd095245ef8082
2016-01-16 03:28:47 +00:00
Jenkins
b6fecb0f91 Merge "Fix regression with unbound ports and l2pop" 2016-01-16 03:22:12 +00:00
Jenkins
6c1c7bb995 Merge "dhcp: handle advertise_mtu=True when plugin does not set mtu values" 2016-01-16 03:21:48 +00:00
Jenkins
79b202f132 Merge "Unify using assertIsInstance" 2016-01-16 03:20:31 +00:00
Jenkins
d717d3a87a Merge "Use oslo.utils.reflection extract the class name" 2016-01-16 03:18:50 +00:00
Jenkins
f4f4c57782 Merge "OVS: Reorder table-id constants" 2016-01-16 00:41:17 +00:00
Jenkins
63b08d4add Merge "Unify exceptions for assign router to dvr agent" 2016-01-15 23:48:06 +00:00
Terry Wilson
3c683709e6 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
2016-01-15 16:12:10 -06:00
Jenkins
3adbf88df9 Merge "Fix Linux bridge test_report_state_revived failure on OSX" 2016-01-15 20:51:01 +00:00
Jenkins
96f7597acb Merge "Added Keystone and RequestID headers to CORS middleware" 2016-01-15 19:26:05 +00:00
Jenkins
4f09f2a139 Merge "Provide kwargs for callback abort" 2016-01-15 19:23:19 +00:00
armando-migliaccio
c1d2ef0149 Fix the duplicated references
Change-Id: Id527718bf25be54b765dfa6f3f1155ff3485ae64
2016-01-15 11:22:40 -08:00
armando-migliaccio
ce6b78f981 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
2016-01-15 11:16:23 -08:00
Jenkins
831c2da944 Merge "Pecan controller loads service plugins" 2016-01-15 17:39:16 +00:00
Ryan Moats
300f73d489 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>
2016-01-15 09:37:37 -06:00
Kevin Benton
29dffc0841 Revert "Change function call order in ovs_neutron_agent."
This reverts commit 9c72bac0ea37971b2d5430246295c5e8b859b4ed.

Change-Id: I9b6b588b68f63f6688749d011dc8b20ef80edadc
Closes-Bug: #1534322
2016-01-15 15:22:03 +00:00
Ihar Hrachyshka
f8f3660240 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:

608b54137f/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
2016-01-15 13:40:06 +01:00
Oleg Bondarev
ea6ed6ab3a 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
2016-01-15 12:05:56 +03:00
lzklibj
294324d697 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
2016-01-15 16:47:57 +08:00
Ihar Hrachyshka
36effd6600 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
2016-01-15 08:40:41 +00:00
Jenkins
2c599814fb Merge "Add --dry-run mode to code review abandon tool" 2016-01-15 08:23:57 +00:00
Jenkins
a6bcef32ea Merge "HACKING: update HACKING.rst file to include latest changes" 2016-01-15 08:23:21 +00:00
Jenkins
27671198d1 Merge "Add systemd notification after reporting initial state" 2016-01-15 08:22:21 +00:00
Jenkins
95e29fd275 Merge "Do not prohibit VXLAN over IPv6" 2016-01-15 08:15:37 +00:00
Jenkins
607537b8ab Merge "Add 'ovs' to requirements.txt" 2016-01-15 08:14:58 +00:00
Jenkins
0325f8f4bd Merge "Use admin context when removing DVR router on vm port deletion" 2016-01-15 06:37:43 +00:00
Jenkins
f7b3a25fee Merge "ML2: verify if required extension drivers are loaded" 2016-01-15 05:01:48 +00:00
Kevin Benton
f67fc3cb08 Retry port create/update on duplicate db records
Even though we have a duplicate IP check before creating an IP
allocation, there is a window between when that check is completed
and when the record is committed to the database. During this window,
another thread or server may use the same IP address, which will result
in the database commit failing with a DBDuplicateEntry exception.

This patch adds a decorator to convert the exception into a
RetryRequest, which will be caught at the API layer to start the
operation over, at which point the normal duplicate check will find
the IP and return the correct error to the user.

This was done instead of trying to convert the DBDuplicate to the
correct exception since it's on commit and there are possibly many
different sources of the duplicate record beyond the IP allocation
(depending on what mechanism drivers did during pre-commit, etc).
By retrying the request, we ensure that the prechecks run again that
will raise the appropriate exception.

Change-Id: I37a964497bf60a61bc49bdeec94a008f167c384f
Closes-Bug: #1534447
2016-01-14 20:40:49 -08:00
YAMAMOTO Takashi
9df00aca88 doc: Update Ryu Ishimoto's IRC nick
It seems he prefers this nick these days.

Change-Id: I726448149fa534cde717278bb42a2108dcd3742e
2016-01-15 13:35:05 +09:00
Jenkins
36c5fe12f4 Merge "Updated from global requirements" 2016-01-15 02:34:49 +00:00