]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoAPI: _validate_ip_address should not raise an exception
Gary Kotton [Thu, 10 Dec 2015 12:23:55 +0000 (04:23 -0800)]
API: _validate_ip_address should not raise an exception

The _validate* methods should return an error message and
not raise an exception.

Commit 2794bb89d664355ae1194a0b1f8346c1538caef8 raised an
exception instead of returning a message with the invalid data.

TrivialFix

Change-Id: Id3cc44a4ed248415f19c73beec2b24fd295110c8

8 years agoMerge "ML2: Add tests to validate quota usage tracking"
Jenkins [Fri, 11 Dec 2015 03:03:34 +0000 (03:03 +0000)]
Merge "ML2: Add tests to validate quota usage tracking"

8 years agoMerge "Add linuxbridge job to the dashboard"
Jenkins [Thu, 10 Dec 2015 09:15:45 +0000 (09:15 +0000)]
Merge "Add linuxbridge job to the dashboard"

8 years agoMerge "Added CORS support to Neutron"
Jenkins [Thu, 10 Dec 2015 09:15:16 +0000 (09:15 +0000)]
Merge "Added CORS support to Neutron"

8 years agoMerge "devref: Rolling upgrade mechanism for rpc-callbacks"
Jenkins [Thu, 10 Dec 2015 09:11:19 +0000 (09:11 +0000)]
Merge "devref: Rolling upgrade mechanism for rpc-callbacks"

8 years agoMerge "Updated from global requirements"
Jenkins [Thu, 10 Dec 2015 08:05:16 +0000 (08:05 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Make keepalived add_vip idempotent"
Jenkins [Thu, 10 Dec 2015 05:14:45 +0000 (05:14 +0000)]
Merge "Make keepalived add_vip idempotent"

8 years agoMerge "Add Guru Meditation Reports support to Neutron services"
Jenkins [Thu, 10 Dec 2015 02:59:36 +0000 (02:59 +0000)]
Merge "Add Guru Meditation Reports support to Neutron services"

8 years agoAdd linuxbridge job to the dashboard
armando-migliaccio [Wed, 9 Dec 2015 23:32:16 +0000 (15:32 -0800)]
Add linuxbridge job to the dashboard

This is to track the failure rate, and it's not looking good so far.

Change-Id: Id6f8b751a2554904f015e642d09354d645927967

8 years agoMerge "Add explanations and examples to TESTING.rst"
Jenkins [Thu, 10 Dec 2015 00:52:03 +0000 (00:52 +0000)]
Merge "Add explanations and examples to TESTING.rst"

8 years agoMerge "Revert "Revert "OVS agent reacts to events instead of polling"""
Jenkins [Thu, 10 Dec 2015 00:39:51 +0000 (00:39 +0000)]
Merge "Revert "Revert "OVS agent reacts to events instead of polling"""

8 years agoML2: Add tests to validate quota usage tracking
Salvatore Orlando [Mon, 21 Sep 2015 23:40:55 +0000 (16:40 -0700)]
ML2: Add tests to validate quota usage tracking

Ensure that event handlers are invoked upon completion of
ML2 operations which add or remove tracked resources.
Also validate that the event handlers are called for the
appropriate resources and that quota usage's dirty bit
is set and unset as expected.

These are not unit tests, but added in the unit test tree
as they leverage code both from the DB unit test and the ML2
unit test framework. This module has indeed been added to
the 'exclusion list' in check_unit_test_structure.sh, and
should be moved to the functional test tree together with
the other modules.

Closes-Bug: #1499358

Change-Id: I78c432c35f3f3339607cd533019ae6d0fa2a5cd6

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 9 Dec 2015 21:57:52 +0000 (21:57 +0000)]
Updated from global requirements

Change-Id: I8a67bd6ce1dfd0872ab2b50ab8a4d43fe48e308b

8 years agoAdd explanations and examples to TESTING.rst
Assaf Muller [Thu, 12 Mar 2015 02:52:49 +0000 (22:52 -0400)]
Add explanations and examples to TESTING.rst

* Added motivation paragraph
* Added definitions and an explanation about the scope of the
  test vs. the test infrastructure it uses
* Added content and examples to unit & functional tests sections

Change-Id: If78bd01d0fd7d899d4e6fbcdc8a33c441d2a1609

8 years agoMerge "Fix timestamp in RBAC extension"
Jenkins [Wed, 9 Dec 2015 17:59:33 +0000 (17:59 +0000)]
Merge "Fix timestamp in RBAC extension"

8 years agoMerge "Refactor OVS-agent tunnel config validate"
Jenkins [Wed, 9 Dec 2015 16:15:54 +0000 (16:15 +0000)]
Merge "Refactor OVS-agent tunnel config validate"

8 years agoAdded CORS support to Neutron
Michael Krotscheck [Mon, 19 Oct 2015 13:52:04 +0000 (06:52 -0700)]
Added CORS support to Neutron

This adds the CORS support middleware to Neutron, allowing a deployer
to optionally configure rules under which a javascript client may
break the single-origin policy and access the API directly.

For neutron, both the paste.ini and the direct-wrap method of
deploying the middleware were chosen, since neutron is in a state of
migration to pecan. Note that if someone deploys pecan-neutron behind
other middleware, any responses provided by that middleware will not
be CORS-enabled, as these responses would be returned before the
headers could be annotated. This results in a response not readable
by the user agent.

OpenStack CrossProject Spec:
   http://specs.openstack.org/openstack/openstack-specs/specs/cors-support.html
Oslo_Middleware Docs:
   http://docs.openstack.org/developer/oslo.middleware/cors.html
OpenStack Cloud Admin Guide:
   http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html
DocImpact: Add link to CORS configuration in admin cloud guide.

Change-Id: I02acea6124d28370d92e7c94ca2d1d6c5c8937ac

8 years agoMerge "Add release note covering keystoneauth and v3"
Jenkins [Wed, 9 Dec 2015 09:55:28 +0000 (09:55 +0000)]
Merge "Add release note covering keystoneauth and v3"

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 agoRefactor OVS-agent tunnel config validate
Cedric Brandily [Mon, 30 Nov 2015 18:05:18 +0000 (19:05 +0100)]
Refactor OVS-agent tunnel config validate

This change transforms validate_local_ip into a sub-method of
validate_tunnel_config and raises directly SystemExit instead of
indirectly.

Related-bug: #1464394
Change-Id: I35addd41e1a8b061bd0e5e6656a1728fb7fe04ce

8 years agoMake keepalived add_vip idempotent
Assaf Muller [Tue, 8 Dec 2015 22:44:07 +0000 (17:44 -0500)]
Make keepalived add_vip idempotent

L3 agent operations are designed to be idempotent to be resiliant
in the face of missed notifications, out of order notifications
processing and agent restarts. One exception is keepalived's
add_vip that was made to explicitly barf when the agent tries
to add a vip that was already inserted to keepalive'd internal
cache. This was done in patch 142630 by my request to root
out bugs. Well, we found such a bug and in retrospect may not
have been the smartest idea.

Change-Id: Iead975787e2847828286d7b644dcbe33cf57ace9
Related-Bug: #1523999

8 years agoFix timestamp in RBAC extension
Kevin Benton [Tue, 8 Dec 2015 22:16:49 +0000 (14:16 -0800)]
Fix timestamp in RBAC extension

The previous timestamp had an invalid TZ offset.
This patch just sets it to UTC like the others.

Change-Id: I58689d2ae88979a1119475267998c09e18915083
Closes-Bug: #1524081

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 agoAdd release note covering keystoneauth and v3
Monty Taylor [Sun, 6 Dec 2015 22:48:35 +0000 (17:48 -0500)]
Add release note covering keystoneauth and v3

The previous two patches added the keystoneauth library and support for
interacting with the rest of the cloud using keystone v3. We should tell
someone about that in our release notes.

Change-Id: I59fcc217c5b8128840add1234aabc2687f3fa6a6

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"