13387 Commits

Author SHA1 Message Date
Armando Migliaccio
5aa0ddefa1 stadium: revise the introduction to the document
Reorganize the first sections of the document, and
elaborate on Neutron mission.

Change-Id: Ib33e91e7797312806424b26e64722916e591e086
2016-02-18 17:53:11 +00:00
Russell Bryant
987d0dbc44 stadium: Add a guideline about contributor overlap
This patch introduces a criterion whereby sub-projects are considered
for inclusion (or exclusion) under the Neutron fold based on team
overlap, i.e. on who is driving the development of the sub-project
from inception to production.

For instance, Neutron team members may occasionally need to create
new repos for experimentation, or for the development of new
(potentially overlapping) functional areas to be incubated as an
integral part of the Neutron end-to-end system.

This patch is the last in a series that introduces criteria for
classification of projects for inclusion/exclusion to/out of the
Neutron 'stadium'. These criteria will always be applied jointly
when assessing a project for inclusion/exclusion at discretion of
the Neutron team.

Patches that complete the inclusion/exclusion process will follow
to discuss the rationale for inclusion/exclusion of the remainder
of the sub-projects.

Change-Id: Ie8e65a94ff9ec238e7c28a8b85d92835675d0c4c
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Co-authored-by: Armando Migliaccio <armamig@gmail.com>
2016-02-18 09:48:25 -08:00
Russell Bryant
fee7642958 stadium: Add a guideline related to project scope.
This guideline is intended to encourage new "advanced services" projects to
be set up as separate OpenStack project teams.

Change-Id: Ieb2e9efa782f2bcc951139558fbb7eecf3e6a46a
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-09 17:32:08 -05:00
Russell Bryant
4cb1f9d578 stadium: Propose kuryr as an independent project.
This patch adds an additional piece of criteria for Neutron sub-projects.
Projects that interface with Neutron on REST API boundaries only should
probably be separate.  We propose Kuryr be split out based on this criteria.
We also document why Octavia stays for now.

Change-Id: Ic161409f6d1ca2efb623d9c7c2797d158a8094df
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-09 17:32:07 -05:00
Russell Bryant
846a528735 stadium: Separate proprietary interface projects.
There has been a lot of discussion about how the current "Neutron
stadium" is working out.  Consensus seems to be that it has grown
quickly beyond what makes sense as a single official OpenStack team.
The first step for scaling things back is agreeing on some additional
inclusion criteria that helps with drawing the line for what should be
an independent OpenStack project.  See the following thread on the
mailing list for detailed discussion about this:

http://lists.openstack.org/pipermail/openstack-dev/2015-December/080865.html

This patch applies the first piece of criteria that can be used to decide if a
sub-project should be a separate OpenStack Project team.  It also applies
the criteria against existing repos under Neutron.

Change-Id: I2f0198ba3174aacbe6b3098074f8c03cffd49438
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-09 17:32:07 -05:00
Russell Bryant
3c04a8bd50 stadium: Add python-neutron-pd-driver.
When syncing up the Neutron repo list, I missed one.  It was pointed out in
another review, so add it.  This project seems inactive, but this patch is
simply to make this file match the current reality.

Change-Id: Idb29ab59eb06dd3b5d2ab6f985a360ca910cf2cb
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-09 17:31:47 -05:00
Russell Bryant
ddbb2543f0 stadium: Group lbaas repos together.
The lbaas team considers neutron-lbaas, neutron-lbaas-dashboard,
and octavia as a unit that should not be separated.  Update the
table to make that more clear.

Change-Id: I12302ef8678a3b6e6e9209de2fd24b77a5239de4
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-09 17:31:31 -05:00
Jenkins
88b821c76e Merge "Fix getting agent id in linuxbridge agent" 2016-02-09 22:28:01 +00:00
Jenkins
9e8d44bab7 Merge "sub_project_guidelines: Document the procedure to make a branch EOL" 2016-02-09 22:22:55 +00:00
Jenkins
97866c9453 Merge "sub_project_guidelines: Remove "add tarball to launchpad" step" 2016-02-09 22:22:29 +00:00
Jenkins
531fb957bb Merge "Log warning message if get_subnet_for_dvr fails" 2016-02-09 22:22:00 +00:00
Jenkins
dbb26a9777 Merge "Test helpers to facilitate testing BGP dynamic routing." 2016-02-09 22:21:25 +00:00
Jenkins
3c2932eb68 Merge "L3: enable plugin to decide if subnet is mandatory" 2016-02-09 21:58:52 +00:00
Jenkins
d1cc83a6fe Merge "Bring back dvr routers autoscheduling" 2016-02-09 21:58:24 +00:00
Jenkins
625cb5176b Merge "Move check_dvr_serviceable_ports_on_host() to dvr scheduler" 2016-02-09 21:52:08 +00:00
Oleg Bondarev
6fad8d3e36 Bring back dvr routers autoscheduling
Commit 1105d732b2cb6ec66d042c85968d47fe6d733f5f disabled
auto scheduling for dvr routers because of the complexity
of DVR scheduling itself which led to a number of logical
and DB issues. Now after blueprint improve-dvr-l3-agent-binding
is merged DVR scheduling is almost no different from legacy
scheduling (no extra DVR logic required for auto scheduling)
so we can bring auto scheduling for DVR routers back.
This is better for consistency and improves UX.

Closes-Bug: #1543513
Change-Id: Ibf0263a711f0dbaf42fb59799ada79b6e896eca1
2016-02-09 16:58:27 +03:00
Jenkins
33eec87d78 Merge "Fix logging error for Guru Meditation Report" 2016-02-09 13:32:05 +00:00
Slawek Kaplonski
034d5a2f37 Fix getting agent id in linuxbridge agent
If bridge_mappings is configured in linuxbridge agent, it will now
determine agent_id which is based on MAC address of first device
from bridge_mappings in correct way.

Change-Id: I940379b2fd3b5f8c96cdf3b7a3c0da78532491f6
Closes-bug: #1542923
2016-02-09 13:09:29 +00:00
Oleg Bondarev
bf09e2676d Move check_dvr_serviceable_ports_on_host() to dvr scheduler
After dvr scheduling refactoring this method is only used in
l3_dvrscheduler_db. This patch also makes it private method.

Change-Id: Iac19d1244c63ec1b71360f9dd3b09c3b131e0ec8
2016-02-09 11:41:51 +03:00
Jenkins
5b7fd5f0f1 Merge "HA for DVR - Neutron Server side code changes" 2016-02-09 08:02:03 +00:00
Gary Kotton
31aed09c1b L3: enable plugin to decide if subnet is mandatory
Commit 07077bebb69da29994257d061d3a8d7ea9598c3d removed
enforcing that a subnet should be defined on a network. In
the case of IPv6 this is cool, but for V4 it is problematic.

The patch adds in a callback that enables the plugin to
determine validation policy.

The callback will be invoked prior to creating the gateway
port.

Closes-bug: #1543012

Change-Id: Idb7eeb5e0071aa5a2f302fba083504c4582edc1a
2016-02-08 23:44:12 -08:00
Jenkins
b9940b91a1 Merge "Add address scopes support to the L3 agent" 2016-02-09 04:00:14 +00:00
Jenkins
42b33a779a Merge "sub_project_guidelines: Update after direct-release default" 2016-02-09 03:44:12 +00:00
Jenkins
62c0c0771f Merge "ML2: Call _dict_extend in create_(net|port) ops" 2016-02-09 03:43:53 +00:00
Jenkins
4e42dc41d6 Merge "Make add_tap_interface resillient to removal" 2016-02-09 03:24:31 +00:00
Jenkins
13cb03e382 Merge "IP_LIB: fix indentations" 2016-02-09 02:17:19 +00:00
Ryan Tidwell
db5b390d06 Test helpers to facilitate testing BGP dynamic routing.
This patch includes changes that facilitate creation of subnetpools
and address scopes, as well as changes that make it easier to allocate
subnets from a subnetpool inside unit and API tests. These fixtures
are needed for testing BGP features, but have general utility in
in developing Neutron tests in the future.

Change-Id: I65749dac516e3ff23db50cbb7b832aa3039394e6
Partially-Implements: blueprint bgp-dynamic-routing
2016-02-08 17:09:53 -08:00
John Davidge
c170765132 Fix logging error for Guru Meditation Report
Currently, invoking any of the commands under neutron/cmd will trigger a
"No handlers could be found" error for Guru Meditation Report. This is
interupting the notify.sh script that is called by dibbler-client during the
IPv6 Prefix Delegation workflow.

This patch adds a logging handler to __init__.py to prevent the error.

Without the error message being thrown, neutron-pd-notify is once again
able to complete successfully when called by dibbler-client.

Change-Id: Iac3162f6b7e968c2f11fd8ef2a6e275242fb21ff
Closes-Bug: 1532053
2016-02-08 16:52:17 -08:00
rajeev
3f0c618cfd HA for DVR - Neutron Server side code changes
This patch adds HA support for DVR centralized default SNAT
functionality to Neutron Server. For the agent side changes
another patch has been merged.

Salient changes here are:

 - Schedule/de-schedule SNAT on multiple agents
 - Enables
    'router-create <router name> --ha True --distributed True'

Closes-bug: #1365473

Co-Authored-By: Adolfo Duarte <adolfo.duarte@hpe.com>
Co-Authored-By: Hardik Italia <hardik.italia@hpe.com>
Co-Authored-By: John Schwarz <jschwarz@redhat.com>
Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>
Change-Id: I6a19481d0e19b8a55f32199a27057bf777548b33
2016-02-08 16:49:58 -07:00
Jenkins
4cd06d5531 Merge "LB agent: Downgrade network not available message" 2016-02-08 23:48:50 +00:00
Jenkins
2909f0d486 Merge "Fix regression in routers auto scheduling logic" 2016-02-08 21:25:28 +00:00
Gary Kotton
cc26cfcadc IP_LIB: fix indentations
Use indetation as 4 spaces and not 8 spaces.

TrivialFix

Change-Id: I43b43d59d4f97bc3a90fb0d86069c811aec88ccf
2016-02-08 08:26:40 -08:00
Jenkins
5d7ffc03ed Merge "Updated from global requirements" 2016-02-08 12:27:50 +00:00
Jenkins
7f8391a8c8 Merge "Address i18n related deprecation warnings" 2016-02-08 10:45:51 +00:00
YAMAMOTO Takashi
ef80727341 sub_project_guidelines: Document the procedure to make a branch EOL
Change-Id: Ifa1a466e6ede6b2fa9335eca523b66f3fd7af571
2016-02-08 19:09:27 +09:00
YAMAMOTO Takashi
f3cdb49166 sub_project_guidelines: Remove "add tarball to launchpad" step
Release tarballs are available at: http://docs.openstack.org/releases/
these days. [1]

[1] http://lists.openstack.org/pipermail/openstack-dev/2016-January/084548.html

Change-Id: I64dd80bcbd7f6721ff47f3e04bb2acf47f92af81
2016-02-08 19:06:16 +09:00
YAMAMOTO Takashi
68bff8ab65 sub_project_guidelines: Update after direct-release default
Change-Id: Ic61f452f5c57a5f0aa9d4fb474ccae66671d70be
2016-02-08 19:02:00 +09:00
Mr. Bojangles
59d815c704 Make add_tap_interface resillient to removal
This patch makes add_tap_interface safe to race conditions
where the interface is removed in the middle of processing
by catching exceptions and checking to see if the interface
still exists. If it no longer exists it assumes the exception
was caused by the missing interface and returns False as it
would if the interface did not exist to begin with.

Change-Id: Ie0d89fc2584490b6985aee66da70bae027a130ed
Closes-bug: #1542972
2016-02-07 22:21:03 -07:00
OpenStack Proposal Bot
bc7f4a65be Updated from global requirements
Change-Id: Ide4b3bac4b271499269f3e03429d202b5f7b81f1
2016-02-08 02:40:46 +00:00
Jenkins
df4966081a Merge "Fix bug when enable configuration named dnsmasq_base_log_dir" 2016-02-07 15:31:56 +00:00
Jenkins
bf55def179 Merge "Add missing periods" 2016-02-07 13:46:13 +00:00
Jenkins
3283859d0b Merge "devstack: Fix check for blank prefix arg." 2016-02-07 09:38:37 +00:00
Jenkins
8627fad607 Merge "Update related router when subnetpool change scope" 2016-02-07 04:24:22 +00:00
Hong Hui Xiao
7b5ba5b35a Log warning message if get_subnet_for_dvr fails
When subnet or gateway port has been deleted concurrently, rpc call
to get_subnet_for_dvr will return an empty dict without any value.
ovs_dvr_neutron_agent should be more gracefull and at least log
warning message in that situation.

Change the existing error log to warning, because it is not a server
error, but a fact that should be noticed.

Change-Id: Icb3a57553a8b0eb635c0d85e2c60e7ce519893f6
Closes-bug: #1454921
2016-02-06 22:10:53 -05:00
Russell Bryant
5b029a8965 devstack: Fix check for blank prefix arg.
The check to see if the prefix arg was specified would always be true, even if
the argument was not specified.  This fixes it.

Change-Id: I60825c884e4d64aab2abc11d8da9bc1979baf0de
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-06 13:24:00 -05:00
Kevin Benton
b6d091279f ML2: Call _dict_extend in create_(net|port) ops
The extensions fields were not being added to the response being
sent back to the user for ports and networks that weren't from
ML2 extensions (e.g. availability zones). This created an
inconsistent response between creates and updates/gets. It also
resulted in incomplete data in the AMQP create notification emitted
in the API layer.

This patch adjusts ML2 to call the _apply_dict_extend_functions
method after creating ports and networks. To make this work, another
DB lookup to get the latest model state was necessary. However, this
is part of an already expensive operation (create) so the performance
impact should be minimal.

This issue stems from the fact that db_base_plugin_v2 does not
process extensions when its create_port, create_network methods
are called. This original skipping behavior was added back in
patch If0f0277191884aab4dcb1ee36826df7f7d66a8fa as a performance
improvement to deal with dictionary extension functions that
performed DB lookups. However, at this point the dictionary
extension functions should have been optimized to skip any DB
lookups to avoid the massive performance penalties they incur
during list operations.

An alternative to this patch was to adjust the db_base_plugin_v2
to stop skipping extensions. However, because this is usually
called by inheriting plugins before they process extensions
for the new port/network, the extensions do not yet have the
required information to extend the dict and will fail. So each
core plugin will need to apply similar logic to support extensions
that rely on the extend_dict functions.

Closes-Bug: #1541774
Change-Id: Iea2c0e7f9ee5eeae28b99797874ca8a8e5790ec2
2016-02-06 09:50:38 +00:00
Jenkins
060905783f Merge "Correction of spelling" 2016-02-06 06:34:39 +00:00
Jenkins
20f01aec45 Merge "Imported Translations from Zanata" 2016-02-06 06:32:03 +00:00
Jenkins
25ab9ee30b Merge "Add hacking check for assertEqual HTTP code" 2016-02-06 06:29:56 +00:00
Jenkins
7e26b3c35c Merge "stadium: Update list of Neutron sub-projects." 2016-02-06 03:55:43 +00:00