]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoMerge "HACKING: fix edge case with log hints"
Jenkins [Mon, 7 Dec 2015 18:24:18 +0000 (18:24 +0000)]
Merge "HACKING: fix edge case with log hints"

8 years agoMerge "Set timetable for removal of oslo.messaging.notify.drivers"
Jenkins [Mon, 7 Dec 2015 18:14:10 +0000 (18:14 +0000)]
Merge "Set timetable for removal of oslo.messaging.notify.drivers"

8 years agoMerge "Use _ from neutron._i18n"
Jenkins [Mon, 7 Dec 2015 03:12:08 +0000 (03:12 +0000)]
Merge "Use _ from neutron._i18n"

8 years agoMerge "Use keystoneauth instead of keystoneclient"
Jenkins [Mon, 7 Dec 2015 01:08:02 +0000 (01:08 +0000)]
Merge "Use keystoneauth instead of keystoneclient"

8 years agoMerge "I18n related guideline for subprojects"
Jenkins [Sun, 6 Dec 2015 20:41:35 +0000 (20:41 +0000)]
Merge "I18n related guideline for subprojects"

8 years agoUse keystoneauth instead of keystoneclient
Monty Taylor [Sat, 5 Dec 2015 05:14:52 +0000 (00:14 -0500)]
Use keystoneauth instead of keystoneclient

keystoneauth was split out last cycle as a library specifically to deal
with doing auth functions so that people who do not need to do keystone
CRUD operations can just consume only the auth session parts. As part
of modernizing keystone interactions, use keystoneauth instead of
keystoneclient.

Depends-On: I1f754a9a949ef92f4e427a91bbd1b1e73e86c8c4
Change-Id: Ia6fb7d8bb07d3101cf1b1afc318f3dcac0a37afc

8 years agoMerge "In port_dead, handle case when port already deleted"
Jenkins [Sun, 6 Dec 2015 13:55:06 +0000 (13:55 +0000)]
Merge "In port_dead, handle case when port already deleted"

8 years agoMerge "Do not autoreschedule routers if l3 agent is back online"
Jenkins [Sun, 6 Dec 2015 13:37:05 +0000 (13:37 +0000)]
Merge "Do not autoreschedule routers if l3 agent is back online"

8 years agoUse _ from neutron._i18n
Akihiro Motoki [Thu, 26 Nov 2015 18:48:03 +0000 (03:48 +0900)]
Use _ from neutron._i18n

Partial-Bug: #1520094
Change-Id: I874a4aa1d71d1f7034a1ff0b7450b419ef5c6864

8 years agoUsing substitution for Python String
Dongcan Ye [Sun, 6 Dec 2015 04:56:17 +0000 (12:56 +0800)]
Using substitution for Python String

This patch using String substitution instead of String concatenation.

Change-Id: I1faabeb1943449ae60232e08a842652c86793a45

8 years agoMerge "Tox: Remove fullstack env, keep only dsvm-fullstack"
Jenkins [Sun, 6 Dec 2015 02:29:34 +0000 (02:29 +0000)]
Merge "Tox: Remove fullstack env, keep only dsvm-fullstack"

8 years agoTox: Remove fullstack env, keep only dsvm-fullstack
Assaf Muller [Sat, 5 Dec 2015 22:17:13 +0000 (17:17 -0500)]
Tox: Remove fullstack env, keep only dsvm-fullstack

In the functional tests we have 'functional' and 'dsvm-functional'
venvs. The difference is that dsvm-functional requires can run
rootwrap commands on the machine. In the fullstack context,
not running rootwrap commands doesn't make sense, as fullstack
tests are explicitly and solely integration tests.

Change-Id: I1e85537d137a1b773198facbb835a65b6d0ce9b4

8 years agoSet timetable for removal of oslo.messaging.notify.drivers
Matt Riedemann [Fri, 20 Nov 2015 02:43:07 +0000 (18:43 -0800)]
Set timetable for removal of oslo.messaging.notify.drivers

Icehouse is dead and gone, at least upstream. These special driver
registrations are not tested in the gate-tempest-dsvm-neutron-full job
which means they are also not tested in requirements constraints jobs.

oslo.messaging 2.6.0 broke these already by removing the internal modules,
which was fixed in o.m 3.0.0 with (deprecated) alias modules.

The minimum required version of o.m in mitaka is currently greater than
2.6.1, so we're OK to remove these once stable/mitaka is our oldest
supported branch. So add a TODO to remove these once liberty-eol happens.

Proper configuration for notification drivers happens through the
config file using the oslo_messaging options:

http://docs.openstack.org/developer/oslo.messaging/opts.html

Adds a release note for the deprecation and timetable.

Change-Id: I2c04117b0f531fe3604e74401d0ffd8d8d3dd308
Related-Bug: #1513630

8 years agoMerge "Trivial typo fix in LinuxBridge dashboard"
Jenkins [Sat, 5 Dec 2015 11:12:38 +0000 (11:12 +0000)]
Merge "Trivial typo fix in LinuxBridge dashboard"

8 years agoMerge "Delete stale neutron-server manual"
Jenkins [Sat, 5 Dec 2015 07:50:48 +0000 (07:50 +0000)]
Merge "Delete stale neutron-server manual"

8 years agoMerge "Add a script to create review dashboard for a milestone"
Jenkins [Sat, 5 Dec 2015 07:03:05 +0000 (07:03 +0000)]
Merge "Add a script to create review dashboard for a milestone"

8 years agoMerge "Final decomposition of the nuage plugin"
Jenkins [Sat, 5 Dec 2015 03:19:12 +0000 (03:19 +0000)]
Merge "Final decomposition of the nuage plugin"

8 years agoMerge "Final decomposition of Brocade vendor code"
Jenkins [Sat, 5 Dec 2015 03:15:37 +0000 (03:15 +0000)]
Merge "Final decomposition of Brocade vendor code"

8 years agoDelete stale neutron-server manual
armando-migliaccio [Sat, 5 Dec 2015 01:01:20 +0000 (17:01 -0800)]
Delete stale neutron-server manual

The configuration options come from oslo and the server
executable is usually wrapped in a service script, supplied
by packagers and/or deployment tools. Any extra documentation
available in tree is of relative value, and the fact that
this file has been virtually ignored ever since it was
added is a testament of that.

Let's stop its agony and wish it to rest in peace.

Closes-bug: #1520041

Change-Id: If5bba557526903b8064ee28628a21c3459ca85bc

8 years agoMerge "Hyper-V: remove driver from the neutron tree"
Jenkins [Sat, 5 Dec 2015 00:37:23 +0000 (00:37 +0000)]
Merge "Hyper-V: remove driver from the neutron tree"

8 years agoMerge "Reuse constants defined in attributes"
Jenkins [Sat, 5 Dec 2015 00:05:28 +0000 (00:05 +0000)]
Merge "Reuse constants defined in attributes"

8 years agoFinal decomposition of the nuage plugin
Henry Gessau [Sun, 22 Nov 2015 02:39:35 +0000 (21:39 -0500)]
Final decomposition of the nuage plugin

This removes what's left of the nuage code and artifacts from the
neutron tree. All the vendor code is now in the
nuagenetworks/nuage-openstack-neutron repo on github.

Closes-Bug: #1518643

Change-Id: Ifbb9484f36a3e42c6039c42c7f8d0bcbd482bbf8

8 years agoMerge "Cleanup veth-pairs in default netns for functional tests"
Jenkins [Fri, 4 Dec 2015 19:52:28 +0000 (19:52 +0000)]
Merge "Cleanup veth-pairs in default netns for functional tests"

8 years agoFinal decomposition of Brocade vendor code
Henry Gessau [Sat, 21 Nov 2015 23:50:31 +0000 (18:50 -0500)]
Final decomposition of Brocade vendor code

This removes what's left of the brocade code and artifacts from the
neutron tree. All the vendor code is now in the
openstack/networking-brocade repo.

Closes-Bug: #1518637

Change-Id: Ia366ec28d0ae9fd7f9fe41c9a82d5d44971d27d8

8 years agoMerge "Remove Neutron core static example configuration files - addition"
Jenkins [Fri, 4 Dec 2015 19:50:24 +0000 (19:50 +0000)]
Merge "Remove Neutron core static example configuration files - addition"

8 years agoTrivial typo fix in LinuxBridge dashboard
Sean M. Collins [Fri, 4 Dec 2015 19:00:25 +0000 (14:00 -0500)]
Trivial typo fix in LinuxBridge dashboard

Change-Id: Id968202645b4302123611b906047224403b6a77d

8 years agoMerge "test_migrations: Avoid returning a filter object for python3"
Jenkins [Fri, 4 Dec 2015 17:13:43 +0000 (17:13 +0000)]
Merge "test_migrations: Avoid returning a filter object for python3"

8 years agoMerge "Add instrumentation devref, Part I"
Jenkins [Fri, 4 Dec 2015 17:12:42 +0000 (17:12 +0000)]
Merge "Add instrumentation devref, Part I"

8 years agoMerge "Run NOT NULL alterations before foreign key adds"
Jenkins [Fri, 4 Dec 2015 17:07:59 +0000 (17:07 +0000)]
Merge "Run NOT NULL alterations before foreign key adds"

8 years agoAdd a script to create review dashboard for a milestone
rossella [Mon, 23 Nov 2015 12:53:45 +0000 (12:53 +0000)]
Add a script to create review dashboard for a milestone

This script queries launchpad to get:
1) Bug number of bugs tagged with rfe-approved
2) Bug number of critical/high bugs
3) list of blueprints targeted for the milestone passed as param

With this information the scripts prints queries that can be used
in Gerrit directly and creates a .dash file that can be used by
gerrit-dash-creator to output a dashboard url.

Change-Id: I09f8c04c6c609d4791bd5af825105ba092831e43

8 years agoRemove Neutron core static example configuration files - addition
Victor Laza [Fri, 4 Dec 2015 09:11:23 +0000 (11:11 +0200)]
Remove Neutron core static example configuration files - addition

Change id Ic7ae2e038b5bd7b215c65c9c565bfe31ef551520 is incomplete,
the files had to be removed from setup.cfg also.
It beaks the HyperV-CI beacause the config files do not exist
anymore.

Closes-Bug: #1522734

Change-Id: Ia6d3f0d789fad30d451a138b4ed0ff162ba0b00e

8 years agoMerge "Add availability_zone support for router"
Jenkins [Fri, 4 Dec 2015 08:57:45 +0000 (08:57 +0000)]
Merge "Add availability_zone support for router"

8 years agoMerge "Disallow updating SG rule direction in RESOURCE_ATTRIBUTE_MAP"
Jenkins [Fri, 4 Dec 2015 08:54:05 +0000 (08:54 +0000)]
Merge "Disallow updating SG rule direction in RESOURCE_ATTRIBUTE_MAP"

8 years agotest_migrations: Avoid returning a filter object for python3
YAMAMOTO Takashi [Fri, 4 Dec 2015 08:50:09 +0000 (17:50 +0900)]
test_migrations: Avoid returning a filter object for python3

Otherwise it confuses oslo.db.

Closes-Bug: #1522731
Change-Id: I1a246eea9adef10ec6c025e9b620f87ee9318dd7

8 years agoCleanup veth-pairs in default netns for functional tests
Andreas Scheuring [Fri, 4 Dec 2015 07:35:28 +0000 (08:35 +0100)]
Cleanup veth-pairs in default netns for functional tests

Today, veth-pairs created by the VethFixture of the net_helpers class
are not cleanup on teardown. This is solved by this patch.

Change-Id: I0a969e31e6694d74a9af6ada4e4e707c6332ffeb
Closes-Bug: #1522710

8 years agoMerge "Fix default RBAC policy quota"
Jenkins [Fri, 4 Dec 2015 05:36:26 +0000 (05:36 +0000)]
Merge "Fix default RBAC policy quota"

8 years agoMerge "Allow multiple imports for both ways of doing i18n"
Jenkins [Fri, 4 Dec 2015 05:36:13 +0000 (05:36 +0000)]
Merge "Allow multiple imports for both ways of doing i18n"

8 years agoMerge "Remove lbaas cruft from neutron gate_hook"
Jenkins [Fri, 4 Dec 2015 05:36:00 +0000 (05:36 +0000)]
Merge "Remove lbaas cruft from neutron gate_hook"

8 years agoReuse constants defined in attributes
Manjeet Singh Bhatia [Thu, 5 Nov 2015 21:43:58 +0000 (21:43 +0000)]
Reuse constants defined in attributes

This change reuses constants defined in attributes module in db
modules.

Change-Id: Idbb5f21a485a41a814b6b8c5744348d25443239e

8 years agoAdd availability_zone support for router
Hirofumi Ichihara [Thu, 3 Dec 2015 05:12:19 +0000 (14:12 +0900)]
Add availability_zone support for router

This patch adds the availability_zone support for router.

APIImpact
DocImpact: Make router scheduler availability zone aware. If multiple
availability zones are used, set router_scheduler_driver =
neutron.scheduler.l3_agent_scheduler.AZLeastRoutersScheduler. This scheduler
selects agent depends on LeastRoutersScheduler logic within an availability
zone so that considers the weight of agent.

Change-Id: Id26d9494b9a5b459767e93a850f47a3b014b11bb
Co-Authored-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Partially-implements: blueprint add-availability-zone

8 years agoMerge "Clean up FIP namespace in DVR functional tests"
Jenkins [Fri, 4 Dec 2015 02:19:13 +0000 (02:19 +0000)]
Merge "Clean up FIP namespace in DVR functional tests"

8 years agoMerge "[policy] Clarify bug deputy does not require core bit"
Jenkins [Fri, 4 Dec 2015 02:18:55 +0000 (02:18 +0000)]
Merge "[policy] Clarify bug deputy does not require core bit"

8 years agoMerge "Updated from global requirements"
Jenkins [Fri, 4 Dec 2015 01:43:04 +0000 (01:43 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Remove version from setup.cfg"
Jenkins [Thu, 3 Dec 2015 23:04:52 +0000 (23:04 +0000)]
Merge "Remove version from setup.cfg"

8 years agoFix default RBAC policy quota
Kevin Benton [Thu, 3 Dec 2015 01:55:01 +0000 (17:55 -0800)]
Fix default RBAC policy quota

The previous config value for the default RBAC policy
was not in neutron.conf and value that was registered
as a config option 'rbac_entry' didn't match the resource
name 'rbac_policy' so the default did not take effect.

This patch corrects it by registering the 'rbac_policy'
option instead of 'rbac_entry' and documents it in neutron.conf.
It also adds an API test that exercises the quota limit and
ensures that it's not set to -1.

Change-Id: I8c8d4bcfda808e376af94048fe5a98c68a2a975f
Closes-Bug: #1522224

8 years agoMerge "Remove Neutron core static example configuration files"
Jenkins [Thu, 3 Dec 2015 21:13:30 +0000 (21:13 +0000)]
Merge "Remove Neutron core static example configuration files"

8 years agoAllow multiple imports for both ways of doing i18n
Doug Wiegley [Thu, 3 Dec 2015 19:53:55 +0000 (12:53 -0700)]
Allow multiple imports for both ways of doing i18n

Disallowing the old way makes the transition period messier than
it needs to be.

Change-Id: I687f18f0f0554f3198320a94f2e664896e88fbfc

8 years ago[policy] Clarify bug deputy does not require core bit
Sean M. Collins [Thu, 3 Dec 2015 19:35:48 +0000 (14:35 -0500)]
[policy] Clarify bug deputy does not require core bit

Some small changes - since the original paragraph didn't mention that
core is not required until the very last sentence.

Change-Id: I113371933754c109247c5f2b789cda135dce8563

8 years agoRun NOT NULL alterations before foreign key adds
Mike Bayer [Thu, 3 Dec 2015 19:21:13 +0000 (14:21 -0500)]
Run NOT NULL alterations before foreign key adds

The "migrate resources table" migration will fail
for some MariaDB versions if the NOT NULL alteration
is applied after the foreign key constraint has been
added [1].   This patch reverses the order so that
NOT NULL is applied first.

[1] http://paste.openstack.org/show/480820/

Change-Id: Iab2b9fc7d82c739ae458ee48c1830541fb0f9579

8 years agoDo not autoreschedule routers if l3 agent is back online
Oleg Bondarev [Thu, 3 Dec 2015 14:39:20 +0000 (17:39 +0300)]
Do not autoreschedule routers if l3 agent is back online

If there are a lot of routers scheduled to l3 agent,
rescheduling all of them one by one might take quite a long
period of time - during that time some agents might get back
online. In this case we should skip rescheduling.

Closes-Bug: #1522436
Change-Id: If6df1f2878ea3379e8d2dba431de3e358e40189d

8 years agoAdd instrumentation devref, Part I
Ryan Moats [Tue, 21 Jul 2015 21:52:56 +0000 (16:52 -0500)]
Add instrumentation devref, Part I

Presents what instrumentation is available from VIFs in Nova,
Metering Lables and Rules, Linux Bridge, and OVS. Proposes
mappings for structures defined in RFC 2863 and RFC 4293 and
the method that will be followed for a data collection proof
of concept.

How to aggregate and consume these counters will be covered
in future patch sets that extend this devref.

Change-Id: I6c1ad0c4cf60d0069c5e057d77f75c12b04a020c
Partial-bug: #1475736

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 3 Dec 2015 15:05:02 +0000 (15:05 +0000)]
Updated from global requirements

Change-Id: I3362794f691e12081a4f5cef97b4e830dc44cbb1

8 years agoHyper-V: remove driver from the neutron tree
Gary Kotton [Thu, 26 Nov 2015 13:12:53 +0000 (05:12 -0800)]
Hyper-V: remove driver from the neutron tree

The hyperv drivers and code should be part of the networking-hyperv
project (https://github.com/openstack/networking-hyperv).

A few changes are necessary in order to prevent Hyper-V deployments from
breaking, especially when upgrading to Mitaka.

Hyper-V deployments are configured to use the in-branch HyperVSecurityGroupsDriver.
Removing it will cause the Hyper-V Neutron Agent to fail. If the agent is
configured to use the old driver, the networking_hyperv's driver must be used
instead and the users must be warned to update their configuration files to
use the networking_hyperv's security groups driver.

Removes the neutron-hyperv-agent entry point from setup.cfg.
Removes the hyperv mechanism_driver from setup.cfg
Moves the in-tree HyperVSecurityGroupsDriver to the networking_hyperv equivalent.
Logs a warning if the in-tree HyperVSecurityGroupsDriver is used.
Removes pywin32 and wmi requirements, as they've been included in networking_hyperv
and they are Hyper-V specific requirements.
Adds release note regarding the deprecated security groups driver.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
Depends-On: I3a25f18b4f3a0621cb92b44eb61e434fa87e0aab

Change-Id: I32451cba6933e88306a4308a07f3f0d1b81f626c
Closes-bug: #1520054

8 years agoFix typo in Docstring
Dariusz Smigiel (dasm) [Thu, 3 Dec 2015 09:53:59 +0000 (10:53 +0100)]
Fix typo in Docstring

One of params, described in dosctring is not consequent with
param, sent to function.

This patch fixes this param.

Change-Id: Ie8fa630facd11d2985d3e53d6355efc973ea2166

8 years agoMerge "Make port binding message on dead agents clear"
Jenkins [Thu, 3 Dec 2015 08:44:55 +0000 (08:44 +0000)]
Merge "Make port binding message on dead agents clear"

8 years agoRemove lbaas cruft from neutron gate_hook
Doug Wiegley [Thu, 3 Dec 2015 00:15:53 +0000 (17:15 -0700)]
Remove lbaas cruft from neutron gate_hook

Change-Id: Id5bb50067c13a24e5a593f83413b02ccf1b2f51c

8 years agoMake port binding message on dead agents clear
Kevin Benton [Wed, 2 Dec 2015 23:35:00 +0000 (15:35 -0800)]
Make port binding message on dead agents clear

The previous message was misleading because it made it
sound like port binding was being attempted even though
the agent is dead. However, the actual logic is that
binding will be completely skipped if the agent is dead.

This patch updates the message to make that clear and also
provides the port ID as part of the warning so operators
without debugging enabled can see which ports failed.

Change-Id: Ic5031ad8fb06062e9d12b87430d89fc37eb6cde0
Closes-Bug: #1522192

8 years agoMerge "Support for IPv6 RDNSS Option in Router Advts"
Jenkins [Wed, 2 Dec 2015 23:18:41 +0000 (23:18 +0000)]
Merge "Support for IPv6 RDNSS Option in Router Advts"

8 years agoMerge "Move i18n to _i18n, as per oslo_i18n guidelines"
Jenkins [Wed, 2 Dec 2015 23:14:33 +0000 (23:14 +0000)]
Merge "Move i18n to _i18n, as per oslo_i18n guidelines"

8 years agoMerge "Add native of_interface fullstack tests"
Jenkins [Wed, 2 Dec 2015 21:56:14 +0000 (21:56 +0000)]
Merge "Add native of_interface fullstack tests"

8 years agoMerge "L3: add missing space to log message"
Jenkins [Wed, 2 Dec 2015 15:20:36 +0000 (15:20 +0000)]
Merge "L3: add missing space to log message"

8 years agoHACKING: fix edge case with log hints
Gary Kotton [Wed, 2 Dec 2015 14:52:25 +0000 (06:52 -0800)]
HACKING: fix edge case with log hints

A log message with _() was not raised as an error, for example:
LOG.info(_('who let the dogs out!')).

This should be:
LOG.info(_LI('who who who who!'))

Change-Id: I040f01b19ff5de00467b80be7399b998534d9a57
Closes-bug: #1522054

8 years agoMerge "Optimize "open" method with context manager"
Jenkins [Wed, 2 Dec 2015 14:30:33 +0000 (14:30 +0000)]
Merge "Optimize "open" method with context manager"

8 years agoI18n related guideline for subprojects
Akihiro Motoki [Thu, 26 Nov 2015 10:32:32 +0000 (19:32 +0900)]
I18n related guideline for subprojects

Related-Bug: #1519493
Related-Bug: #1520094
Change-Id: I183c1f2226ee7aef96b958d888ca3b7a3f9e9a2e

8 years agoOptimize "open" method with context manager
xiexs [Fri, 27 Nov 2015 08:41:52 +0000 (03:41 -0500)]
Optimize "open" method with context manager

Replace the classic open() method with opening context
manager to open file so that the file will be closed
even if an exception occurs.

Change-Id: I0d53b7a38fee6a2ef8ce74496d220adc954afb98

8 years agoL3: add missing space to log message
Gary Kotton [Tue, 1 Dec 2015 13:07:47 +0000 (05:07 -0800)]
L3: add missing space to log message

Commit 5fcfa65d974ba44924dcee89f7a7ccf195a1c606 added a log
message that did not have a space.

Change-Id: Ie18bdb95331deb317dbe6855f0d8594d5fc272b2

8 years agoMove i18n to _i18n, as per oslo_i18n guidelines
Doug Wiegley [Wed, 25 Nov 2015 23:46:19 +0000 (15:46 -0800)]
Move i18n to _i18n, as per oslo_i18n guidelines

- This does NOT break other projects that rely on neutron.i18n,
  as this change includes a debtcollector shim to maintain those
  older entry points, until they can migrate.
- Also updates _i18n.py to the latest pattern defined by oslo_i18n
- Guidance and template are from the reference:
  http://docs.openstack.org/developer/oslo.i18n/usage.html

Partially-Closes-Bug: #1519493
Change-Id: I1aa3a5fd837d9156da4643a367013c869ed8bf9d

8 years agoClean up FIP namespace in DVR functional tests
Assaf Muller [Wed, 2 Dec 2015 01:53:16 +0000 (20:53 -0500)]
Clean up FIP namespace in DVR functional tests

* Added FIP namespace cleanup to DVR router creation.
* The tests weren't actually verifying that the FIP namespace
  was being deleted.

Change-Id: I67287d397614ab368e940233c61738e0d77fbb2b
Closes-Bug: #1521820

8 years agoMerge "l3_db: it updates port attribute without L2 plugin"
Jenkins [Wed, 2 Dec 2015 00:08:07 +0000 (00:08 +0000)]
Merge "l3_db: it updates port attribute without L2 plugin"

8 years agoMerge "DVR:don't reschedule the l3 agent running on compute node"
Jenkins [Wed, 2 Dec 2015 00:07:47 +0000 (00:07 +0000)]
Merge "DVR:don't reschedule the l3 agent running on compute node"

8 years agoMerge "lb: avoid doing nova VIF work plumbing tap to qbr"
Jenkins [Tue, 1 Dec 2015 18:27:19 +0000 (18:27 +0000)]
Merge "lb: avoid doing nova VIF work plumbing tap to qbr"

8 years agoRemove version from setup.cfg
Kyle Mestery [Tue, 1 Dec 2015 16:33:43 +0000 (10:33 -0600)]
Remove version from setup.cfg

Per email from the release team [1], we are moving to using only
tags and removing verisons from setup.cfg.

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080692.html

Depends-On: I19e888fc403aa2d95b769ed1730721eba29e68ea
Change-Id: I66d4db96e3a81fb1a2e59c62b38704c3db380e6c
Signed-off-by: Kyle Mestery <mestery@mestery.com>
8 years agoDVR:don't reschedule the l3 agent running on compute node
Oleg Bondarev [Wed, 25 Nov 2015 12:14:18 +0000 (15:14 +0300)]
DVR:don't reschedule the l3 agent running on compute node

For a DVR router, when it updates router gateway_ip, it should not
reschedule the l3 agents running on compute nodes whose mode is dvr,
it just need to reschedule the l3 agents running on network nodes
whose mode is dvr_snat.

Change-Id: Ib8ea6797c88cefb473eff9a8a7b2517a6aa90ca4
Closes-bug: #1496204
Co-Authored-By: Oleg Bondarev <obondarev@mirantis.com>
8 years agoMerge "Change check_ports_exist_on_l3agent to pass the subnet_ids"
Jenkins [Tue, 1 Dec 2015 09:23:53 +0000 (09:23 +0000)]
Merge "Change check_ports_exist_on_l3agent to pass the subnet_ids"

8 years agoAdd native of_interface fullstack tests
IWAMOTO Toshihiro [Wed, 26 Aug 2015 06:15:00 +0000 (15:15 +0900)]
Add native of_interface fullstack tests

Related-blueprint: ovs-ofctl-to-python
Change-Id: Idb683522fc104cb04720cf431891ef07db5e7b2d

8 years agoMerge "Refactor OVS-agent init-method"
Jenkins [Tue, 1 Dec 2015 06:02:27 +0000 (06:02 +0000)]
Merge "Refactor OVS-agent init-method"

8 years agoMerge "Move a note to bridge_lib"
Jenkins [Tue, 1 Dec 2015 04:53:50 +0000 (04:53 +0000)]
Merge "Move a note to bridge_lib"

8 years agoDisallow updating SG rule direction in RESOURCE_ATTRIBUTE_MAP
YAMAMOTO Takashi [Mon, 30 Nov 2015 09:46:17 +0000 (18:46 +0900)]
Disallow updating SG rule direction in RESOURCE_ATTRIBUTE_MAP

It doesn't make much sense to allow updating only the direction.
I suppose it was a bug in the first place.

Partial-Bug: #1521099
Change-Id: Idfd48c801be3cd34286595f5ca3c9d629a296200

8 years agoMerge "Remove transparent VLAN support from base plugin"
Jenkins [Tue, 1 Dec 2015 01:19:59 +0000 (01:19 +0000)]
Merge "Remove transparent VLAN support from base plugin"

8 years agoMerge "Correct unwatch_log to support python <= 2.7.5"
Jenkins [Tue, 1 Dec 2015 00:41:38 +0000 (00:41 +0000)]
Merge "Correct unwatch_log to support python <= 2.7.5"

8 years agoMerge "Add UnionModel support to filter query generator"
Jenkins [Tue, 1 Dec 2015 00:40:55 +0000 (00:40 +0000)]
Merge "Add UnionModel support to filter query generator"

8 years agol3_db: it updates port attribute without L2 plugin
Isaku Yamahata [Wed, 15 Jul 2015 19:17:48 +0000 (12:17 -0700)]
l3_db: it updates port attribute without L2 plugin

L3_NAT_dbonly_mixin._add_interface_by_port update Port.owner
db entry directly without notifying l2 plugin.
Thus L2 plugin/ML2 mechanism driver will be confused when
interface is attached to router by port because port owner is different.
Use L2 plugin update_port method to update port:owner.

Change-Id: If0178887282456842b6078a851a9233cb58a391a
Closes-Bug: #1475093

8 years agoMerge "Update 'Contributing Extensions' devref for Mitaka"
Jenkins [Tue, 1 Dec 2015 00:23:42 +0000 (00:23 +0000)]
Merge "Update 'Contributing Extensions' devref for Mitaka"

8 years agoMerge "Support Unicode request_id on Python 3"
Jenkins [Mon, 30 Nov 2015 23:41:01 +0000 (23:41 +0000)]
Merge "Support Unicode request_id on Python 3"

8 years agoIn port_dead, handle case when port already deleted
Ramu Ramamurthy [Thu, 19 Nov 2015 23:43:19 +0000 (18:43 -0500)]
In port_dead, handle case when port already deleted

db_get_val can return None if the port got deleted concurrently.
In this case there is no need to mark it dead and add drop flow for it.

Change-Id: I5ef9665770df3a9bbaf79049b219fadd73e20309
Partial-Bug: #1493414

8 years agoChange check_ports_exist_on_l3agent to pass the subnet_ids
Swaminathan Vasudevan [Thu, 5 Nov 2015 02:02:09 +0000 (18:02 -0800)]
Change check_ports_exist_on_l3agent to pass the subnet_ids

The get_subnet_ids_on_router is called for every
available l3agent in check_ports_exist_on_l3agent.
This introduces un-necessary call to the same
function multiple times which is expensive since it
calls get_ports internally.

In large scale the time taken to schedule a VM
on a given N-Node increases.

By passing the subnet_ids to check_ports_exist_on_l3agent
we would be only calling once get_subnet_ids_on_router in
the get_l3_agent_candidates.

This patch addresses the above problem by calling
get_subnet_ids_on_router just once.

Change-Id: I9d130f98e07bfe571eee32b827ff9af4010ff0fb
Related-Bug: #1513678

8 years agolb: avoid doing nova VIF work plumbing tap to qbr
Andreas Scheuring [Wed, 11 Nov 2015 13:03:08 +0000 (14:03 +0100)]
lb: avoid doing nova VIF work plumbing tap to qbr

neutron should rely on nova doing the job instead of trying to 'fix' it.
'Fixing' it introduces race conditions between lb agent and nova VIF
driver. Particularly, lb agent can scan for new tap devices in the
middle of nova plumbing qbr-tap setup, and attempt to do it on its own.
So if agent is more lucky to plug the tap device into the bridge, nova
may fail to do the same, getting the following error:

libvirtError: Unable to add bridge brqxxx-xx port tapxxx-xx: Device or
resource busy

This also requires a change in how the port admin_state_up is implemented
by setting the tap device's link state instead of moving it in or out
of the bridge.

Co-Authored-By: Sean M. Collins <sean@coreitpro.com>
Co-Authored-By: Darragh O'Reilly <darragh.oreilly@hp.com>
Co-Authored-By: Andreas Scheuring <andreas.scheuring@de.ibm.com>
Change-Id: I02971103407b4ec11a65218e9ef7e2708915d938
Closes-Bug: #1312016

8 years agoRemove Neutron core static example configuration files
Martin Hickey [Mon, 30 Nov 2015 13:06:53 +0000 (13:06 +0000)]
Remove Neutron core static example configuration files

Oslo config generator was introduced in patch [1] to
automatically generate the sample Neutron core configuration
files.

This patch removes the static example configuration files from
the repository as they are now redundant.

[1] https://review.openstack.org/#/c/204206/

DocImpact

Change-Id: Ic7ae2e038b5bd7b215c65c9c565bfe31ef551520
Partially-Implements: blueprint autogen-neutron-conf-file
Closes-bug: #1199963
Depends-On: Ic37a16b6cf8eb92030649f1fc8b198738a8cc104

8 years agoUpdate 'Contributing Extensions' devref for Mitaka
Henry Gessau [Sun, 18 Oct 2015 17:32:09 +0000 (13:32 -0400)]
Update 'Contributing Extensions' devref for Mitaka

The "Liberty Steps" are now completed.

Change-Id: I4526be2e75bdd475c98805d1192d9e2486217ee6

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Sun, 29 Nov 2015 06:23:53 +0000 (06:23 +0000)]
Imported Translations from Zanata

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

Change-Id: Id4a6910c57c6d682537c7b9b9bfd2f5a127539e7

8 years agoMerge "Update toctree of neutron document"
Jenkins [Sat, 28 Nov 2015 14:42:09 +0000 (14:42 +0000)]
Merge "Update toctree of neutron document"

8 years agoRemove transparent VLAN support from base plugin
Gary Kotton [Mon, 9 Nov 2015 08:38:54 +0000 (00:38 -0800)]
Remove transparent VLAN support from base plugin

The transparent VLAN is an extension. This code was bundled part
of the base plugin.
Commit 809e434d2da99cb3e1a778be9838b1175e785e76 has a todo to remove
the code from the base plugin.

Change-Id: Id5fd68e2b0e6396dc411697e14670f7236dc78d4

8 years agoMerge "Automatically generate neutron core configuration files"
Jenkins [Sat, 28 Nov 2015 01:32:47 +0000 (01:32 +0000)]
Merge "Automatically generate neutron core configuration files"

8 years agoAutomatically generate neutron core configuration files
Martin Hickey [Mon, 9 Nov 2015 23:37:37 +0000 (23:37 +0000)]
Automatically generate neutron core configuration files

This adds a new tox environment, genconfig, which generates sample
neutron core configuration file using oslo-config-generator.

Updates to some configuration option help messages to reflect useful
details that were missing in the code but were present in config files.

It also adds details to devref on how to update config files.

Partially-Implements: blueprint autogen-neutron-conf-file

DocImpact

Change-Id: I1c6dc4e7d479f1b7c755597caded24a0f018c712
Closes-bug: #1199963
Co-Authored-By: Louis Taylor <louis@kragniz.eu>
8 years agoSupport Unicode request_id on Python 3
Victor Stinner [Fri, 27 Nov 2015 15:20:28 +0000 (16:20 +0100)]
Support Unicode request_id on Python 3

The oslo.context change If48ee7f4d1c113f1f26b3b1698c6b055807b950f will change
request_id type on Python 3 from bytes to str. This change prepares Neutron for
this change.

Blueprint: neutron-python3
Change-Id: Ia5203581db120bb4f8e24fd752d6ae14e6558505

8 years agoStop using deprecated timeutils.total_seconds()
Julien Danjou [Fri, 27 Nov 2015 08:54:33 +0000 (09:54 +0100)]
Stop using deprecated timeutils.total_seconds()

This function has been deprecated. It was only useful for Python <= 2.6.

Change-Id: Ic0ca83920e9ed0692277bf5d903d3df91d1adcde

8 years agoMerge "force releasenotes warnings to be treated as errors"
Jenkins [Fri, 27 Nov 2015 01:32:39 +0000 (01:32 +0000)]
Merge "force releasenotes warnings to be treated as errors"

8 years agoMerge "Use diffs for iptables restore instead of all rules"
Jenkins [Thu, 26 Nov 2015 19:52:14 +0000 (19:52 +0000)]
Merge "Use diffs for iptables restore instead of all rules"

8 years agoCorrect unwatch_log to support python <= 2.7.5
Cedric Brandily [Thu, 26 Nov 2015 15:21:30 +0000 (15:21 +0000)]
Correct unwatch_log to support python <= 2.7.5

Currently unwatch_log[1] uses WatchedFileHandler.delay attribute to
build a FileHandler instance from a WatchedFileHandler instance but
this attribute doesn't exist before 2.7.6.

This change removes WatchedFileHandler.delay usage and uses default
FileHandler delay (it also ensures we open immediately the log file).

[1] neutron.agent.linux.daemon

Closes-Bug: #1520271
Change-Id: I70a156c4aeeda8a3adcc1036d670732c21ffa335

8 years agoMove a note to bridge_lib
Cedric Brandily [Wed, 25 Nov 2015 21:17:52 +0000 (22:17 +0100)]
Move a note to bridge_lib

This change moves a note from linuxbridge agent[1] to bridge_lib which
was forgotten in a previous change[2].

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

Partial-Bug: #1514548
Change-Id: I1562b75ce07eec280824cdfe6b8aba80c9d9170c