]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoselect router with subnet's gateway_ip for floatingip
venkata anil [Thu, 3 Sep 2015 13:07:44 +0000 (13:07 +0000)]
select router with subnet's gateway_ip for floatingip

1) when a subnet is connected to multiple routers and
all these routers are connected to same external network,
then select the router with subnet's gateway_ip, if available,
for managing floatingip.

2) Otherwise go with default existing behavior i.e
select first router in internal subnet, that also present on external network.

For scenario 1), if the router with gateway ip not selected,
then for connections initiated by external agent towards floatingip
won't get response with floatingip as source address,
instead gw ip of router(i.e router with subnet's gateway_ip) as source.
Details about the bug at [1]

[1] https://bugs.launchpad.net/neutron/+bug/1470765/comments/4

Closes-bug: #1470765
Change-Id: If054945eab058c7138aabbb22cda15890ccb502c

8 years agoMerge "lb: Correct String formatting to get rid of logged ValueError"
Jenkins [Wed, 9 Dec 2015 02:25:01 +0000 (02:25 +0000)]
Merge "lb: Correct String formatting to get rid of logged ValueError"

8 years agoMerge "Document relationship between ways of documenting new stuff"
Jenkins [Wed, 9 Dec 2015 02:24:15 +0000 (02:24 +0000)]
Merge "Document relationship between ways of documenting new stuff"

8 years agoMerge "Pull project out of request in addition to tenant"
Jenkins [Wed, 9 Dec 2015 02:23:48 +0000 (02:23 +0000)]
Merge "Pull project out of request in addition to tenant"

8 years agoMerge "Avoid full_sync in l3_agent for router updates"
Jenkins [Wed, 9 Dec 2015 00:20:38 +0000 (00:20 +0000)]
Merge "Avoid full_sync in l3_agent for router updates"

8 years agoMerge "move usage_audit to cmd/eventlet package"
Jenkins [Tue, 8 Dec 2015 21:54:13 +0000 (21:54 +0000)]
Merge "move usage_audit to cmd/eventlet package"

8 years agoDocument relationship between ways of documenting new stuff
Neil Jerram [Tue, 8 Dec 2015 10:39:48 +0000 (10:39 +0000)]
Document relationship between ways of documenting new stuff

Change-Id: I55329c8add108a5a7d0d65f024b19fb2412238d6

8 years agoMerge "Deprecate _ builtin translation function"
Jenkins [Tue, 8 Dec 2015 17:53:10 +0000 (17:53 +0000)]
Merge "Deprecate _ builtin translation function"

8 years agolb: Correct String formatting to get rid of logged ValueError
Andreas Scheuring [Mon, 7 Dec 2015 12:42:21 +0000 (13:42 +0100)]
lb: Correct String formatting to get rid of logged ValueError

The following error is caused by a missing String formatting in the
linuxbridge agent:
"ValueError: unsupported format character 'a' (0x61) at index 90
Logged from file linuxbridge_neutron_agent.py, line 447"

In addition a duplicated word in the log text has been fixed.

Change-Id: I587f1165fc7084dc9c4806149b65652f6e27b14e

8 years agoMerge "Don't emit confusing error in netns-cleanup"
Jenkins [Tue, 8 Dec 2015 17:24:58 +0000 (17:24 +0000)]
Merge "Don't emit confusing error in netns-cleanup"

8 years agoPull project out of request in addition to tenant
Monty Taylor [Sat, 5 Dec 2015 04:54:22 +0000 (23:54 -0500)]
Pull project out of request in addition to tenant

Keystone V3 renamed tenant to project. In order to deal with keystone
V3, start pulling X-Project-Id from the headers.

Since keystonemiddleware authtoken sets both X-Project-* and
X-Tenant-*, we don't need to look up X-Tenant-*.

Don't do anything with renaming the internal variables - that will come
later.

Change-Id: I5e27cf6a54fb603b81d41b8b4f085d59354627fb
Depends-On: I1f754a9a949ef92f4e427a91bbd1b1e73e86c8c4
Closes-Bug: #1503428

8 years agoMerge "Notify about port create/update unconditionally"
Jenkins [Tue, 8 Dec 2015 03:03:00 +0000 (03:03 +0000)]
Merge "Notify about port create/update unconditionally"

8 years agoMerge "Moved fullstack test doc content to TESTING.rst"
Jenkins [Tue, 8 Dec 2015 02:46:57 +0000 (02:46 +0000)]
Merge "Moved fullstack test doc content to TESTING.rst"

8 years agoMerge "Remove useless lb-agent remove_empty_bridges"
Jenkins [Tue, 8 Dec 2015 02:43:31 +0000 (02:43 +0000)]
Merge "Remove useless lb-agent remove_empty_bridges"

8 years agoDon't emit confusing error in netns-cleanup
Assaf Muller [Mon, 7 Dec 2015 22:36:06 +0000 (17:36 -0500)]
Don't emit confusing error in netns-cleanup

If we're trying to delete a dhcp/qrouter device with use_veth
= False (Which is the default for some time), we'll first
try to 'ip link del %s', which will fail and emit a confusing
error, then try 'ovs-vsctl del-port'. There's no need to
log an error in such a case.

The patch attempts to future proof by setting the
set_log_fail_as_error(False) to be as tight as possible, so we
do log errors in case the device is somehow used in the future.

Change-Id: I1954bde3ee9a2e43d7615717134b61c5fa7cfbb1
Closes-Bug: #1463800

8 years agoMerge "Updated from global requirements"
Jenkins [Mon, 7 Dec 2015 19:12:00 +0000 (19:12 +0000)]
Merge "Updated from global requirements"

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 agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 7 Dec 2015 09:11:45 +0000 (09:11 +0000)]
Updated from global requirements

Change-Id: I86877c2e483d8fbce66ef7338d9a0f353c45c9dd

8 years agoAvoid full_sync in l3_agent for router updates
Sudhakar Babu Gariganti [Wed, 16 Sep 2015 10:23:57 +0000 (15:53 +0530)]
Avoid full_sync in l3_agent for router updates

While processing a router update in _process_router_update method,
if an exception occurs, we try to do a full_sync.

We only need to re-sync the router whose update failed.

Addressed a TODO in the same method, which falls in similar lines.

Change-Id: I7c43a508adf46d8524f1cc48b83f1e1c276a2de0
Closes-Bug: #1494682

8 years agomove usage_audit to cmd/eventlet package
niusmallnan [Mon, 7 Dec 2015 07:47:02 +0000 (07:47 +0000)]
move usage_audit to cmd/eventlet package

    setup_rpc func need the eventlet monkey_patch,
    otherwise the main process will be blocked.

Change-Id: I9f4a0b7c957b7dc7740e3cf6e75f18778ad562d0
Closes-Bug: #1522681

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 agoDeprecate _ builtin translation function
Ihar Hrachyshka [Fri, 27 Nov 2015 20:30:35 +0000 (21:30 +0100)]
Deprecate _ builtin translation function

This function is discouraged for usage as per oslo.i18n guidelines [1],
so we should deprecate and remove it.

[1] http://docs.openstack.org/developer/oslo.i18n/usage.html

Change-Id: I848ee1dbd16a23c4db42df4690bf139bd769f3e8
Partial-Bug: #1520094

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 agoMoved fullstack test doc content to TESTING.rst
Assaf Muller [Mon, 16 Nov 2015 20:31:43 +0000 (15:31 -0500)]
Moved fullstack test doc content to TESTING.rst

* Removed long term goals documentation (I don't see a need
  to document these).
* Added and rearranged short term goals.

Change-Id: If494533cb6507f18b84a41b3f1daf42cd10d9f51

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 agoNotify about port create/update unconditionally
Oleg Bondarev [Tue, 1 Dec 2015 08:47:05 +0000 (11:47 +0300)]
Notify about port create/update unconditionally

The notification about port create/update should be done no matter
if host (or any other field) was changed or not - it should be up to
handler to decide how to handle it.

This also fixes the bug when there was actually no notification to l3
dvr agent on compute node on new port creation:
_get_host_port_if_changed() always returned None - this is a regression
from commit 2ee08c3464c53abaf9bc5493132ad7958611e3b8

Closes-Bug: #1521524
Change-Id: I5bb416d2aaab632526f06a5620c0a4ea96340d21

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