]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoMerge "Use a joined relationship for AZ info on networks"
Jenkins [Wed, 16 Dec 2015 07:21:03 +0000 (07:21 +0000)]
Merge "Use a joined relationship for AZ info on networks"

8 years agoMerge "Add explicit address family to AddressScope"
Jenkins [Wed, 16 Dec 2015 03:45:32 +0000 (03:45 +0000)]
Merge "Add explicit address family to AddressScope"

8 years agoMerge "Force service provider relationships to load"
Jenkins [Tue, 15 Dec 2015 23:08:40 +0000 (23:08 +0000)]
Merge "Force service provider relationships to load"

8 years agoMerge "DVR: handle dvr serviceable port's host change"
Jenkins [Tue, 15 Dec 2015 21:05:22 +0000 (21:05 +0000)]
Merge "DVR: handle dvr serviceable port's host change"

8 years agoMerge "Batch db segment retrieval"
Jenkins [Tue, 15 Dec 2015 18:51:27 +0000 (18:51 +0000)]
Merge "Batch db segment retrieval"

8 years agoMerge "Separate rbac calculation from _make_network_dict"
Jenkins [Tue, 15 Dec 2015 18:34:07 +0000 (18:34 +0000)]
Merge "Separate rbac calculation from _make_network_dict"

8 years agoMerge "Ignore possible suffix in iproute commands."
Jenkins [Tue, 15 Dec 2015 14:06:23 +0000 (14:06 +0000)]
Merge "Ignore possible suffix in iproute commands."

8 years agoMerge "Add option for nova endpoint type"
Jenkins [Tue, 15 Dec 2015 10:06:06 +0000 (10:06 +0000)]
Merge "Add option for nova endpoint type"

8 years agoMerge "Removing adv svcs dependencies on neutron"
Jenkins [Tue, 15 Dec 2015 09:18:04 +0000 (09:18 +0000)]
Merge "Removing adv svcs dependencies on neutron"

8 years agoUse a joined relationship for AZ info on networks
Kevin Benton [Mon, 14 Dec 2015 01:56:57 +0000 (17:56 -0800)]
Use a joined relationship for AZ info on networks

The previous code was doing a DB lookup for each network's
availability zone which was significantly impacting the
performance of network listings.

This patch adjusts the network model to be automatically joined
to the DHCP agents table that the AZ code uses to populate the
AZs for the network.

Change-Id: I908ceb1a68e0eed7c304e3ff82279ad6fa406167
Closes-Bug: #1525740

8 years agoBatch db segment retrieval
Kevin Benton [Fri, 11 Dec 2015 18:55:38 +0000 (10:55 -0800)]
Batch db segment retrieval

A net-list operation was calling extend_network_dict_provider for
each network individually which would result in a database call for
each network.

This adds a new call in the manager to extend multiple networks at
once and then it adds a bulk version of get_network_segments that
it calls.

Now 1 net list of any number of networks will only result in 1
segment DB call.

Change-Id: I2543b3bdbb178ee4bb8d1288e9a27af1c5c8c8b4
Closes-Bug: #1525423
Partial-Bug: #1513782

8 years agoSeparate rbac calculation from _make_network_dict
Kevin Benton [Fri, 11 Dec 2015 17:56:01 +0000 (09:56 -0800)]
Separate rbac calculation from _make_network_dict

When a subnet dict was being created, it was calling
_make_network_dict to get the 'shared' flag for the
subnet. The issue with this is that the _make_network_dict
function would iterate over the subnets on the passed in
network object, which would trigger a database lookup
of all of the subnets.

This patch just separates the 'shared' flag calculation out
into a separate function that both calls can leverage.

Change-Id: I2cb766ce1fd8ddcc75209f9e92221a3b77015ea2
Closes-Bug: #1525295
Partial-Bug: #1513782

8 years agoAdd explicit address family to AddressScope
Ryan Tidwell [Sat, 10 Oct 2015 00:07:51 +0000 (17:07 -0700)]
Add explicit address family to AddressScope

Adds an ip_version field for enforcing an address family on
an AddressScope.  All SubnetPools in an AddressScope must be
from the same address family. A SubnetPool cannot be created
in an AddressScope with a different address family.

Change-Id: Ibc6de08e0ef58a5da954d13f274f6003012a76cd
Partially-Implements: blueprint address-scopes

8 years agoDVR: handle dvr serviceable port's host change
Oleg Bondarev [Thu, 22 Oct 2015 10:23:21 +0000 (13:23 +0300)]
DVR: handle dvr serviceable port's host change

When a VM port's host is changed we need to check if a router
should be unscheduled from old host and send corresponding
notifications.
commit d5a8074ec3c67ed68e64a96827da990f1c34e10f added such
a check when port is unbound. This patch adds similar check
in case of host change (instance live migration)

Closes-Bug: #1508869

Change-Id: I57fa8253b2c88f7b7380a79b841fc424e9e52f19

8 years agoMerge "Skip keepalived_respawns test"
Jenkins [Mon, 14 Dec 2015 14:57:56 +0000 (14:57 +0000)]
Merge "Skip keepalived_respawns test"

8 years agoMerge "Deprecated tox -downloadcache option removed"
Jenkins [Sun, 13 Dec 2015 11:02:16 +0000 (11:02 +0000)]
Merge "Deprecated tox -downloadcache option removed"

8 years agoMerge "Add address scope to ports in RPC response to L3 agent"
Jenkins [Sat, 12 Dec 2015 00:09:32 +0000 (00:09 +0000)]
Merge "Add address scope to ports in RPC response to L3 agent"

8 years agoMerge "Decompose OFAgent mechanism driver from neutron tree completely"
Jenkins [Fri, 11 Dec 2015 22:37:01 +0000 (22:37 +0000)]
Merge "Decompose OFAgent mechanism driver from neutron tree completely"

8 years agoDeprecated tox -downloadcache option removed
Ondřej Nový [Fri, 11 Dec 2015 20:06:14 +0000 (21:06 +0100)]
Deprecated tox -downloadcache option removed

Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I1778135d68a4bf96da3a0c0e4660172d1f13d16b

8 years agoRemoving adv svcs dependencies on neutron
Paul Michali [Mon, 7 Dec 2015 20:05:35 +0000 (15:05 -0500)]
Removing adv svcs dependencies on neutron

After upstreaming Idcfeee6ddc2982fff49f44064c918bfd4627be12 and
I62bfd6b34c381427425ca2a656e5782087de3a3b, we can remove items
from Neutron.

Specifically, LOADBALANCER_PLUGIN and LOADBALANCER_AGENT are not
used now. FIREWALL_PLUGIN is used in one module, so moved there.
The LOADBALANCER constant is only used in test files, but it is
used in multiple files, so leaving it. LOADBALANCERV2 is only used
in the header it is defined, so leaving it as well.

In the FW and LB repos, there are no longer dependency on these literals.

Change-Id: I7f0b972e1ae7ef435a3612e239dad7b2c04baea2
Implements: blueprint neutron-lib

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 agoDecompose OFAgent mechanism driver from neutron tree completely
fumihiko kakuma [Wed, 9 Dec 2015 04:00:39 +0000 (13:00 +0900)]
Decompose OFAgent mechanism driver from neutron tree completely

All 3rd-party code is required to be removed from the neutron tree.
This change removes definition for ofagent mechanism driver from
neutron repository.

Change-Id: Ia21387eeaed71f38822356e22e4adbd237c1e64c
Closes-Bug: #1524164
Depends-On: I04c741daf12e7628e2c1e2d1b81b2b2ce1310542

8 years agoIgnore possible suffix in iproute commands.
John Schwarz [Tue, 8 Dec 2015 14:17:46 +0000 (16:17 +0200)]
Ignore possible suffix in iproute commands.

Closes-Bug: #1522199
Change-Id: I14815abd9345edb079e3331cbe2465ad22a0d4c3

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 agoAdd option for nova endpoint type
Jeremy McDermond [Tue, 8 Dec 2015 18:14:09 +0000 (10:14 -0800)]
Add option for nova endpoint type

When the neutron notification to nova was updated to use novaclient the
nova_url parameter was disabled.  This prevents administrators from
using anything but the publicURL as the proper endpoint to notify nova.
This patch adds an option to pass on to novaclient for the
endpoint_type so that the administrator can set the notification url to
public, internal or admin.

Change-Id: I405f761944449cab6b8c8895f98419f79cd74cad
Closes-Bug: #1478471
DocImpact: Need to add a new option to the neutron configuration
reference.

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 agoForce service provider relationships to load
Brandon Logan [Wed, 9 Dec 2015 00:24:28 +0000 (18:24 -0600)]
Force service provider relationships to load

A race condition was exposed in the LBaaS V2 db layer that was caused by a
hack to get around this issue.  The real issue is that since the
ProviderResourceAssociation is inserted independently, any models that were
created before this insert will not have their relationship with the
ProviderResourceAssocation loaded.  Using the session.expire_all method will
force the session to retrieve all new data and load this relationship for any
resource that uses this relationship.

Change-Id: I940b541f4ef9c489126cd2d215b1d857f0624de0
Closes-Bug: #1504465

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 agoSkip keepalived_respawns test
Arie Bregman [Tue, 1 Dec 2015 07:47:55 +0000 (09:47 +0200)]
Skip keepalived_respawns test

keepalived fails to respawn after crash for > 1.2.11 version.

When keepalived starts, it spawns vrrp thread to monitor vrrp forked
process. It also creates a vrrp pid file. When the process is killed, and
it's restarted, the the new keepalived process runs with -P, so
when we validate whether we are already running,  we check vrrp pid file.
Since we never clean up the file before starting the process, and the process
dies without a chance to clean up the file as part of its signal
handler, respawn never works.

keepalived_respawns test should be skipped until bug is resolved.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1286729

Change-Id: Ic111573e0cd5ad5bfe70b0f38ec0203c10d52e34
Related-Bug: #1511311

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 agoAdd address scope to ports in RPC response to L3 agent
Carl Baldwin [Fri, 5 Jun 2015 22:23:50 +0000 (22:23 +0000)]
Add address scope to ports in RPC response to L3 agent

The L3 agent needs to know the address scope of each port of each
router it sets up in order to enforce isolation between scopes.

This commit adds a devref for the address scopes and subnet pools
features.

Change-Id: I6a7b3708fadefff1919d70ab1b8bc345b3fbe81c
Partially-Implements: blueprint address-scopes

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