]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "hacking: Check if correct log markers are used"
Jenkins [Mon, 1 Dec 2014 14:28:57 +0000 (14:28 +0000)]
Merge "hacking: Check if correct log markers are used"

9 years agoMerge "Enable undefined-loop-variable pylint check"
Jenkins [Sun, 30 Nov 2014 17:04:58 +0000 (17:04 +0000)]
Merge "Enable undefined-loop-variable pylint check"

9 years agoMerge "Removed python2.6 rootwrap filters"
Jenkins [Sun, 30 Nov 2014 17:03:37 +0000 (17:03 +0000)]
Merge "Removed python2.6 rootwrap filters"

9 years agoMerge "enable H401 hacking check"
Jenkins [Sun, 30 Nov 2014 16:59:05 +0000 (16:59 +0000)]
Merge "enable H401 hacking check"

9 years agohacking: Check if correct log markers are used
YAMAMOTO Takashi [Tue, 25 Nov 2014 04:53:02 +0000 (13:53 +0900)]
hacking: Check if correct log markers are used

Makes the check tighter and would detect mistakes
like LOG.info(_LE("foo")).

This would reduce reviewer loads for relevant changes.

Partial-Bug: #1320867
Change-Id: I66c7ab1fd9b40beb857dc6c4b143ca47a5ebce4b

9 years agoMerge "CSCO:Tenants not to access unshared n/w profiles"
Jenkins [Fri, 28 Nov 2014 23:11:04 +0000 (23:11 +0000)]
Merge "CSCO:Tenants not to access unshared n/w profiles"

9 years agoMerge "Drop RpcProxy usage from MeteringAgentNotifyAPI"
Jenkins [Fri, 28 Nov 2014 22:22:12 +0000 (22:22 +0000)]
Merge "Drop RpcProxy usage from MeteringAgentNotifyAPI"

9 years agoMerge "ofagent: Remove obsolete bridge_mappings (plugin side)"
Jenkins [Fri, 28 Nov 2014 22:21:32 +0000 (22:21 +0000)]
Merge "ofagent: Remove obsolete bridge_mappings (plugin side)"

9 years agoMerge "Tighten up try/except block around rpc call"
Jenkins [Fri, 28 Nov 2014 22:21:19 +0000 (22:21 +0000)]
Merge "Tighten up try/except block around rpc call"

9 years agoMerge "Remove unused variables from get_devices_details_list"
Jenkins [Fri, 28 Nov 2014 22:21:06 +0000 (22:21 +0000)]
Merge "Remove unused variables from get_devices_details_list"

9 years agoMerge "Fix incorrect exception order in _execute_request"
Jenkins [Fri, 28 Nov 2014 21:54:48 +0000 (21:54 +0000)]
Merge "Fix incorrect exception order in _execute_request"

9 years agoMerge "MeteringPluginRpc: Fix crash in periodic_task"
Jenkins [Fri, 28 Nov 2014 21:44:33 +0000 (21:44 +0000)]
Merge "MeteringPluginRpc: Fix crash in periodic_task"

9 years agoMerge "Migrate to oslo.i18n"
Jenkins [Fri, 28 Nov 2014 12:14:32 +0000 (12:14 +0000)]
Merge "Migrate to oslo.i18n"

9 years agoMerge "Migrate to oslo.middleware"
Jenkins [Fri, 28 Nov 2014 12:12:26 +0000 (12:12 +0000)]
Merge "Migrate to oslo.middleware"

9 years agoRemoved python2.6 rootwrap filters
Ihar Hrachyshka [Thu, 27 Nov 2014 10:51:19 +0000 (11:51 +0100)]
Removed python2.6 rootwrap filters

We drop support for python 2.6 in Kilo, so those filters are not needed
anymore.

Change-Id: I8f1e346916701cab5d19044c24801e19500e713c

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Fri, 28 Nov 2014 06:08:50 +0000 (06:08 +0000)]
Imported Translations from Transifex

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

Change-Id: I06e4486a646e3c8a35a5bff64819839e2e574fb9

9 years agoMeteringPluginRpc: Fix crash in periodic_task
YAMAMOTO Takashi [Thu, 27 Nov 2014 07:16:03 +0000 (16:16 +0900)]
MeteringPluginRpc: Fix crash in periodic_task

Restore __init__ chain which has been broken by
commit bdcc5a46d7776f50d5ae372798a913349629d2f6 .

Closes-Bug: #1396893
Change-Id: Ia1f0357b6726ac79a22ed1666eecebac33689aa1

9 years agoMerge "Drop RpcProxy usage from l2population code"
Jenkins [Fri, 28 Nov 2014 02:00:22 +0000 (02:00 +0000)]
Merge "Drop RpcProxy usage from l2population code"

9 years agoEnable undefined-loop-variable pylint check
Angus Lees [Wed, 13 Aug 2014 05:42:10 +0000 (15:42 +1000)]
Enable undefined-loop-variable pylint check

This required a trivial refactor of two existing cases in the codebase.

These two cases were perfectly correct, but the check uncovered a 3rd
case which was a real bug (fixed separately).  The new versions also
make it clear that if the loop fails to break early then the 'result' is
None (and thus an error) and not simply the last element.  On balance,
it's probably worth enforcing this small inconvenience to coding style.

Change-Id: I780a95241f1454c6886d91f980eb9ada7678a119
Related-Bug: #1362466

9 years agoRemove unused variables from get_devices_details_list
Elena Ezhova [Thu, 27 Nov 2014 07:33:04 +0000 (10:33 +0300)]
Remove unused variables from get_devices_details_list

Initialization of res with empty list is not needed because
res is always assigned with a new value in try/except block.

A method invocation context is created in get_device_details
and need not be initialized in get_devices_details_list because
it is never used there.

Change-Id: I2ff73390ca173cee6d73aaafdcc0c525670e358b

9 years agoFix incorrect exception order in _execute_request
Angus Lees [Mon, 25 Aug 2014 02:02:16 +0000 (12:02 +1000)]
Fix incorrect exception order in _execute_request

_execute_request has a list of exception handlers to log various types
of errors with more specific error messages. Unfortunately, it catches
requests.exceptions.ConnectionError before requests.exceptions.SSLError,
but ConnectionError is a superclass of SSLError so the latter is never
invoked.

This change corrects the exception handling order, and enables the
bad-except-order pylint check now that the check passes.

Change-Id: I92bacd6088de5cbc170bc5c081a1db1baeec69e7
Closes-Bug: #1360970

9 years agoMerge "Fix floating-ips in error state in dvr mode"
Jenkins [Thu, 27 Nov 2014 03:42:53 +0000 (03:42 +0000)]
Merge "Fix floating-ips in error state in dvr mode"

9 years agoMerge "Reject trailing whitespaces in IP address"
Jenkins [Thu, 27 Nov 2014 03:42:26 +0000 (03:42 +0000)]
Merge "Reject trailing whitespaces in IP address"

9 years agoMerge "Remove Python 2.6 classifier"
Jenkins [Thu, 27 Nov 2014 03:42:12 +0000 (03:42 +0000)]
Merge "Remove Python 2.6 classifier"

9 years agoMerge "Remove unused xml constants"
Jenkins [Wed, 26 Nov 2014 22:47:28 +0000 (22:47 +0000)]
Merge "Remove unused xml constants"

9 years agoMigrate to oslo.i18n
Ihar Hrachyshka [Fri, 21 Nov 2014 21:01:08 +0000 (22:01 +0100)]
Migrate to oslo.i18n

Mostly trivial import changes.

- oslo.i18n no longer provide install() method to inject _() into
  globals(), so removed all calls to it;
- removed Babel from dependencies (it will now be grabbed by oslo.i18n);
- updated tox.ini to ignore import violations for oslo.i18n.

Change-Id: I6623d551f512fb7fe9bf35ee734ed6d4c6cbc287

9 years agoMigrate to oslo.middleware
gordon chung [Wed, 8 Oct 2014 21:51:47 +0000 (17:51 -0400)]
Migrate to oslo.middleware

Synced middleware module from incubator instead of removing it
completely. This is needed for grenade and to keep backwards
compatibility with existing installations with old api-paste.ini.

'log' module is updated as a dependency for middleware module.

'versionutils' are added as a new dependency for middleware module.

Closes-Bug: #1371701
Change-Id: Ib1c3161ccc98642091134f2285fed7c90244e600
Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com>
9 years agoMerge "Drop RpcProxy usage from cisco apic ml2 plugin"
Jenkins [Wed, 26 Nov 2014 20:30:32 +0000 (20:30 +0000)]
Merge "Drop RpcProxy usage from cisco apic ml2 plugin"

9 years agoMerge "Drop RpcProxy usage from oneconvergence plugin"
Jenkins [Wed, 26 Nov 2014 20:29:49 +0000 (20:29 +0000)]
Merge "Drop RpcProxy usage from oneconvergence plugin"

9 years agoRemove unused xml constants
Maru Newby [Wed, 26 Nov 2014 20:20:40 +0000 (12:20 -0800)]
Remove unused xml constants

Change-Id: I38d720095a2fe703e55d895350e3894c35649d4e

9 years agoMerge "Update rally-jobs files"
Jenkins [Wed, 26 Nov 2014 17:57:28 +0000 (17:57 +0000)]
Merge "Update rally-jobs files"

9 years agoMerge "Synced processutils and periodic_task modules"
Jenkins [Wed, 26 Nov 2014 17:05:23 +0000 (17:05 +0000)]
Merge "Synced processutils and periodic_task modules"

9 years agoMerge "Support pudb as a different post mortem debugger"
Jenkins [Wed, 26 Nov 2014 15:58:11 +0000 (15:58 +0000)]
Merge "Support pudb as a different post mortem debugger"

9 years agoDrop RpcProxy usage from MeteringAgentNotifyAPI
Russell Bryant [Tue, 25 Nov 2014 17:37:55 +0000 (17:37 +0000)]
Drop RpcProxy usage from MeteringAgentNotifyAPI

Remove usage of the RpcProxy compatibility class from
MeteringAgentNotifyAPI.  The equivalent oslo.messaging APIs are now
used instead.

Part of blueprint drop-rpc-compat.

Change-Id: I6c1fddb6694f74021b9f6a54885657916bda2875

9 years agoDrop RpcProxy usage from l2population code
Russell Bryant [Mon, 24 Nov 2014 20:50:03 +0000 (20:50 +0000)]
Drop RpcProxy usage from l2population code

This patch removes usage of the RpcProxy compatibility class from the
l2population code.  The equivalent oslo.messaging APIs are now used
instead.

Part of blueprint drop-rpc-compat.

Change-Id: Ie6d45f1871c2dba603bc17851b753bb960a9ca2b

9 years agoDrop RpcProxy usage from cisco apic ml2 plugin
Russell Bryant [Mon, 24 Nov 2014 18:48:38 +0000 (18:48 +0000)]
Drop RpcProxy usage from cisco apic ml2 plugin

Drop usage fo the RpcProxy compatibility class from the cisco apic ml2
plugin.  The equivalent oslo.messaging APIs are now used instead.

Part of blueprint drop-rpc-compat.

Change-Id: I415b65720a09652bae70fc1c1dada9f5727c4441

9 years agoDrop RpcProxy usage from oneconvergence plugin
Russell Bryant [Sun, 23 Nov 2014 02:37:46 +0000 (02:37 +0000)]
Drop RpcProxy usage from oneconvergence plugin

This patch removes usage of the RpcProxy compatibility class from the
oneconvergence plugin.  The equivalent usage of oslo.messaging APIs is
now used intead.

Part of blueprint drop-rpc-compat.

Change-Id: Ifa74849ba9e3dc09cbb8cb3a723aeaa2b25b87ad

9 years agoMerge "Migrate to oslo.utils"
Jenkins [Wed, 26 Nov 2014 15:13:32 +0000 (15:13 +0000)]
Merge "Migrate to oslo.utils"

9 years agoMerge "Fix incorrect int/tuple comparison during binary search"
Jenkins [Wed, 26 Nov 2014 14:56:52 +0000 (14:56 +0000)]
Merge "Fix incorrect int/tuple comparison during binary search"

9 years agoSynced processutils and periodic_task modules
Ihar Hrachyshka [Fri, 21 Nov 2014 21:05:56 +0000 (22:05 +0100)]
Synced processutils and periodic_task modules

This is to avoid using gettextutils module in them to be able to drop
the module once we complete migration to oslo.i18n.

Included changes:

* openstack/common/_i18n.py:
  66bad01 Allow tempest to use new log w/o oslo.i18n

* openstack/common/log.py:
  ac4330d Make use_syslog=True log to syslog via /dev/log
  df774ff Import PublishErrorsHandler from oslo.messaging
  a3220c5 add list_opts to all modules with configuration options

* openstack/common/periodic_task.py:
  a3220c5 add list_opts to all modules with configuration options
  5d40e14 Remove code that moved to oslo.i18n

* openstack/common/processutils.py:
  5d40e14 Remove code that moved to oslo.i18n
  6ff6b4b Switch oslo-incubator to use oslo.utils and remove old modules
  6a60f84 Mask passwords in exceptions and error messages
  63c99a0 Mask passwords in exceptions and error messages
  e184dd3 Fix exception message in openstack.common.processutils.execute
  d6b55fb Remove `processutils` dependency on `log`
  33afb20 Fix broken formatting of processutils.execute log statement
  85f1784 Move nova.utils.cpu_count() to processutils module
  cdcc19c Mask passwords that are included in commands
  2a4d15d Merge "Allow passing environment variables to execute()"
  8a0f567 Remove str() from LOG.* and exceptions
  51778f9 Allow passing environment variables to execute()
  fcf517d Update oslo log messages with translation domains
  af41592 Catch OSError in processutils
  f773ea2 Fix i18n problem in processutils module

Change-Id: Ie2fe4b78af14a4fb7ce4fabed543877d4b0d48e6

9 years agoMigrate to oslo.utils
Ihar Hrachyshka [Thu, 9 Oct 2014 14:21:49 +0000 (16:21 +0200)]
Migrate to oslo.utils

The following modules are removed:
  - excutils,
  - importutils,
  - network_utils,
  - strutils,
  - timeutils.

Closes-Bug: #1385355
Change-Id: I1f34f17f5dbf37032584008f27e65d4dc4d475f4

9 years agoFix floating-ips in error state in dvr mode
Sylvain Afchain [Thu, 20 Nov 2014 14:25:58 +0000 (14:25 +0000)]
Fix floating-ips in error state in dvr mode

Before this fix an exception was raised when
creating the veth between the fip namespace and
the qrouter namespace when the veth was already
present.
This fix add a check to only create the veth if
not present.

Change-Id: Iefea9778223aac885bedfdacfdeacfce74776333
Closes-Bug: #1376013

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 26 Nov 2014 09:05:11 +0000 (09:05 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Drop RpcProxy usage from nec plugin"
Jenkins [Wed, 26 Nov 2014 07:58:59 +0000 (07:58 +0000)]
Merge "Drop RpcProxy usage from nec plugin"

9 years agoMerge "Drop RpcProxy usage from mlnx plugin"
Jenkins [Wed, 26 Nov 2014 07:52:10 +0000 (07:52 +0000)]
Merge "Drop RpcProxy usage from mlnx plugin"

9 years agoReject trailing whitespaces in IP address
Hironori Shiina [Wed, 26 Nov 2014 04:41:06 +0000 (13:41 +0900)]
Reject trailing whitespaces in IP address

Trailing whitespaces in IP address or CIDR pass API validation. These
whitespaces sometimes cause serious troubles. For instance, a trailing
CR code in allocation pools cause an ovs-agent to crash when calling
iptables. In this case, a tenant user's operation mistake affects whole
system.

By modifying _validate_no_whitespace() to reject data with whitespaces
in the beginning and the end, the IP address and CIDR validation
detects invalid attributes. The MAC address validation already rejects
these whitespaces.

Change-Id: Id4589236cfd44c2fd5956c5ab4ab6871381a0c34
Closes-Bug: #1393329

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 26 Nov 2014 06:08:28 +0000 (06:08 +0000)]
Imported Translations from Transifex

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

Change-Id: I58cc649fbaba936a5e67a5acb97f96dc23277715

9 years agoMerge "Fix PYTHONHASHSEED bugs in test_security_groups_rpc"
Jenkins [Wed, 26 Nov 2014 04:06:13 +0000 (04:06 +0000)]
Merge "Fix PYTHONHASHSEED bugs in test_security_groups_rpc"

9 years agoCSCO:Tenants not to access unshared n/w profiles
Saksham Varma [Thu, 4 Sep 2014 21:53:50 +0000 (14:53 -0700)]
CSCO:Tenants not to access unshared n/w profiles

Ensure that a n1kv tenant who has no access to a network profile
belonging to some other tenant, is not allowed to modify that profile.
Currently, a tenant can create networks on any network profile if he
has the network profile id.

Change-Id: I53d767acceaa5e2c08e75e6f18847f659cda8d8b
Closes-Bug: 1365727

9 years agoMerge "Fix handling of CIDR in allowed address pairs"
Jenkins [Wed, 26 Nov 2014 01:36:41 +0000 (01:36 +0000)]
Merge "Fix handling of CIDR in allowed address pairs"

9 years agoMerge "Drop RpcProxy usage from ibm plugin"
Jenkins [Wed, 26 Nov 2014 00:35:42 +0000 (00:35 +0000)]
Merge "Drop RpcProxy usage from ibm plugin"

9 years agoMerge "Drop RpcProxy usage from hyperv plugin"
Jenkins [Wed, 26 Nov 2014 00:35:27 +0000 (00:35 +0000)]
Merge "Drop RpcProxy usage from hyperv plugin"

9 years agoMerge "Drop RpcProxy usage from cisco.l3"
Jenkins [Wed, 26 Nov 2014 00:33:36 +0000 (00:33 +0000)]
Merge "Drop RpcProxy usage from cisco.l3"

9 years agoMerge "Drop RpcProxy usage from cisco.cfg_agent"
Jenkins [Wed, 26 Nov 2014 00:33:22 +0000 (00:33 +0000)]
Merge "Drop RpcProxy usage from cisco.cfg_agent"

9 years agoMerge "Drop RpcProxy usage from brocade plugin"
Jenkins [Wed, 26 Nov 2014 00:33:07 +0000 (00:33 +0000)]
Merge "Drop RpcProxy usage from brocade plugin"

9 years agoMerge "Drop sudo requirement from a unit test"
Jenkins [Wed, 26 Nov 2014 00:32:48 +0000 (00:32 +0000)]
Merge "Drop sudo requirement from a unit test"

9 years agoMerge "Fix metadata proxy start problem for v6-v4 network"
Jenkins [Wed, 26 Nov 2014 00:30:04 +0000 (00:30 +0000)]
Merge "Fix metadata proxy start problem for v6-v4 network"

9 years agoMerge "Update i18n translation for Cisco plugins and cfg agent log msg's"
Jenkins [Tue, 25 Nov 2014 18:36:02 +0000 (18:36 +0000)]
Merge "Update i18n translation for Cisco plugins and cfg agent log msg's"

9 years agoDrop sudo requirement from a unit test
Russell Bryant [Tue, 25 Nov 2014 18:06:46 +0000 (18:06 +0000)]
Drop sudo requirement from a unit test

I noticed while working on some other stuff that a unit test was
prompting me for my sudo password.  I narrowed it down to the
offending test case and fixed it by mocking out the execute util, as
is done in several other places in these tests.

Change-Id: I93c6cdb8a26d3be5df5386091dc70a240ab7c190
Closes-bug: #1396276

9 years agoMerge "Remove ryu plugin"
Jenkins [Tue, 25 Nov 2014 17:28:47 +0000 (17:28 +0000)]
Merge "Remove ryu plugin"

9 years agoRemove Python 2.6 classifier
Julien Danjou [Tue, 25 Nov 2014 15:58:49 +0000 (16:58 +0100)]
Remove Python 2.6 classifier

Neutron does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.

Change-Id: Ib7cddecdbec2c5152fe526bada6587129cf63ffd

9 years agoUpdate i18n translation for Cisco plugins and cfg agent log msg's
Bob Melander [Mon, 24 Nov 2014 11:59:20 +0000 (12:59 +0100)]
Update i18n translation for Cisco plugins and cfg agent log msg's

All the existing LOG.info, LOG.warning, LOG.error and LOG.critical
messages should have _LI, _LW, _LE and _LC respectively. Also, debug
level log shouldn't be translated. This patch set will cover the cisco
directory under neutron/plugins.

Change-Id: I4463ea3f4ec72f683d61043105a7883f629cefe9
Partial-Bug: #1320867

9 years agoRemove ryu plugin
YAMAMOTO Takashi [Mon, 10 Nov 2014 04:32:26 +0000 (13:32 +0900)]
Remove ryu plugin

Ryu plugin was marked deprecated in Juno.
This commit actually removes the code for Kilo.

We (Ryu team) recommend users to migrate to ofagent, on which
we aim to concentrate our development resources by this deprecation.

DocImpact
Partial-Bug: #1391714
Change-Id: I4916ce3c246730dc00516404471f8a1a008e27b6

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 25 Nov 2014 06:08:30 +0000 (06:08 +0000)]
Imported Translations from Transifex

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

Change-Id: I256ed935bcb0c123147281666960b1cd57ee2b5a

9 years agoMerge "Update i18n translation for linuxbridge log msg's"
Jenkins [Tue, 25 Nov 2014 04:54:16 +0000 (04:54 +0000)]
Merge "Update i18n translation for linuxbridge log msg's"

9 years agoMerge "Eliminate unnecessary indirection in L3 agent"
Jenkins [Tue, 25 Nov 2014 02:58:38 +0000 (02:58 +0000)]
Merge "Eliminate unnecessary indirection in L3 agent"

9 years agoMerge "Catch NoResultFound in _get_policy_profile_by_name"
Jenkins [Tue, 25 Nov 2014 02:57:40 +0000 (02:57 +0000)]
Merge "Catch NoResultFound in _get_policy_profile_by_name"

9 years agoMerge "Fix context.elevated"
Jenkins [Tue, 25 Nov 2014 02:57:27 +0000 (02:57 +0000)]
Merge "Fix context.elevated"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 25 Nov 2014 02:57:15 +0000 (02:57 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Test HA router failover"
Jenkins [Tue, 25 Nov 2014 02:53:41 +0000 (02:53 +0000)]
Merge "Test HA router failover"

9 years agoDrop RpcProxy usage from nec plugin
Russell Bryant [Sun, 23 Nov 2014 02:25:59 +0000 (02:25 +0000)]
Drop RpcProxy usage from nec plugin

This patch removes the usage of the RpcProxy compatibility class from
the nec plugin.  The equivalent usage of oslo.messaging APIs is now
used instead.

Part of blueprint drop-rpc-compat.

Change-Id: I0b3ee1437ad4525f1354caaba686b6ab7442db2f

9 years agoDrop RpcProxy usage from mlnx plugin
Russell Bryant [Fri, 21 Nov 2014 20:56:04 +0000 (20:56 +0000)]
Drop RpcProxy usage from mlnx plugin

This patch drops usage of the RpcProxy compatibility class from the
mlnx plugin.  The equivalent oslo.messaging APIs are now used instead.

Note that one test case was dropped, but only because it did not
provide any actual additional test coverage.

Also note that the base rpc version is set to '1.0' instead of '1.1'
as it was in the original code.  Setting the base to X.0 is the right
pattern.  Methods that require a newer version should specify it in
their implementation.  According to the API history comment here, the
methods in this class were not the ones changed in '1.1', so they
don't specify '1.1' as a requirement.

Part of blueprint drop-rpc-compat.

Change-Id: Ia8174b3e3415aa1e8588d908117e79a604e63881

9 years agoDrop RpcProxy usage from ibm plugin
Russell Bryant [Fri, 21 Nov 2014 20:00:06 +0000 (20:00 +0000)]
Drop RpcProxy usage from ibm plugin

Drop usage of the RpcProxy compatibility class from the ibm plugin.
Direct usage of oslo.messaging APIs is now done instead.

Part of blueprint drop-rpc-compat.

Change-Id: I3163d0a5e5f042c02e83995e84eb962e002f27cb

9 years agoDrop RpcProxy usage from hyperv plugin
Russell Bryant [Fri, 21 Nov 2014 19:27:59 +0000 (19:27 +0000)]
Drop RpcProxy usage from hyperv plugin

Drop the usage of the RpcProxy compatibility class from the hyperv
plugin.  The equivalent oslo.messaging APIs are now used instead.

Part of blueprint drop-rpc-compat.

Change-Id: Ic0ec43d2fe1929b7225d8e797495f7949f98184a

9 years agoDrop RpcProxy usage from cisco.l3
Russell Bryant [Fri, 21 Nov 2014 18:50:30 +0000 (18:50 +0000)]
Drop RpcProxy usage from cisco.l3

Drop usage of the RpcProxy compatibility class from cisco.l3.  This
was the last of RpcProxy usage in the cisco plugin.  The equivalent
APIs from oslo.messaging are now used instead.

Part of blueprint drop-rpc-compat.

Change-Id: I340b6969e32ec20cb4864021ec332eb9c5bdf19c

9 years agoDrop RpcProxy usage from cisco.cfg_agent
Russell Bryant [Fri, 21 Nov 2014 14:51:55 +0000 (14:51 +0000)]
Drop RpcProxy usage from cisco.cfg_agent

Drop usage of the RpcProxy compatibility class from cisco.cfg_agent.
The equivalent direct usage of oslo.messaging APIs is now used
instead.

Part of blueprint drop-rpc-compat.

Change-Id: I3ec71b3689adf7e96cdc2fdbf501c5cc37a9e0e4

9 years agoDrop RpcProxy usage from brocade plugin
Russell Bryant [Fri, 21 Nov 2014 14:43:26 +0000 (14:43 +0000)]
Drop RpcProxy usage from brocade plugin

This patch drops the usage of the RpcProxy compatibility class from
the brocade plugin.  The equivalent usage of oslo.messaging APIs is
now used instead.

Note that there is one very minor functional change included.  The
previous code set the base version to '1.1'.  It should be '1.0'.  The
proper pattern to use is to set the base version on the client side to
be the initial version of the API (X.0).  Then, any methods that
require a newer version need to specify it.

Part of blueprint drop-rpc-compat.

Change-Id: I6cc343c1e88d666dd90842e5da36787b6693fc98

9 years agoMerge "Drop RpcProxy usage from bigswitch plugin"
Jenkins [Mon, 24 Nov 2014 20:56:39 +0000 (20:56 +0000)]
Merge "Drop RpcProxy usage from bigswitch plugin"

9 years agoUpdate rally-jobs files
Boris Pavlovic [Mon, 24 Nov 2014 14:09:58 +0000 (18:09 +0400)]
Update rally-jobs files

*) Rename rally-scenarios that is quite misleading to rally-jobs.
   rally-jobs makes much more sense, cause it actually contains files
   related to rally job

*) Update rally-jobs/README.rst to add more info

*) Update rally-jobs/plugins/README.rst to expaling plugins

*) Add new directory rally-jobs/extra, this directory is copy pasted
   in gates and can be used for files that are required by some of
   benchmarks

Change-Id: I6d0c0435a4bb4658ddf4adb871bc36ab8c157f3e

9 years agoTest HA router failover
John Schwarz [Mon, 29 Sep 2014 13:53:00 +0000 (16:53 +0300)]
Test HA router failover

HA failover testing requires the ability for two L3 agents to
co-exist on the same machine. The following changes were made
to support this:

* Add l3 agent ability to simulate nested namespaces by suffixing
  each router namespace with '@host'. For example, if a router
  with id '1' is created, its namespace will be:
  'qrouter-1@host'
* Added test.common submodule which will hold common code which is
  shared between the different kind of tests (unit and funtional).
* Added tests.common.agents submodule which holds test-only agents, and
  added a test L3NAT agent to be used in the HA functional testings.

Co-Authored-By: Assaf Muller <amuller@redhat.com>
Closes-bug: #1374946
Change-Id: I2185fe276d9d32b34c407396e7ed5d6e2801340c

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 24 Nov 2014 06:07:53 +0000 (06:07 +0000)]
Imported Translations from Transifex

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

Change-Id: I754cecc4efba2c9cd385de99901dce8c2188fce0

9 years agoUpdate i18n translation for linuxbridge log msg's
Romil Gupta [Thu, 13 Nov 2014 18:59:42 +0000 (10:59 -0800)]
Update i18n translation for linuxbridge log msg's

This patch set covers the linuxbridge directory under neutron/plugins.

Partial-Bug: #1320867
Change-Id: I603f9ae8f95bf1b1815edaca49e728fa378cf6ba

9 years agoUpdate i18n translation for openvswitch log msg's
Romil Gupta [Thu, 13 Nov 2014 13:42:55 +0000 (05:42 -0800)]
Update i18n translation for openvswitch log msg's

This patch set covers the openvswitch directory under neutron/plugins.

Partial-Bug: #1320867
Change-Id: I8a80ca6e45a32bd2945ddf4401f6820d99c93c28

9 years agoUpdate i18n translation for ML2 plugin log msg's
Romil Gupta [Sun, 26 Oct 2014 13:18:53 +0000 (06:18 -0700)]
Update i18n translation for ML2 plugin log msg's

All the existing LOG.info, LOG.warning, LOG.error and LOG.critical
messages should have _LI, _LW, _LE and _LC respectively.
 Also, debug level log shouldn't be translated.

This patch set will cover the ml2 directory under neutron/plugins.

Partial-Bug: #1320867
Change-Id: I9d78d23bbc14e7c536c6ddf2dc4f52c67faeb667

9 years agoMerge "Implement migration of legacy routers to distributed"
Jenkins [Sun, 23 Nov 2014 21:12:31 +0000 (21:12 +0000)]
Merge "Implement migration of legacy routers to distributed"

9 years agoMerge "Validate loadbalancing method when updating a pool"
Jenkins [Sun, 23 Nov 2014 21:07:11 +0000 (21:07 +0000)]
Merge "Validate loadbalancing method when updating a pool"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Sun, 23 Nov 2014 21:04:47 +0000 (21:04 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Enforce log hints in neutron.services"
Jenkins [Sun, 23 Nov 2014 20:01:38 +0000 (20:01 +0000)]
Merge "Enforce log hints in neutron.services"

9 years agoMerge "Enforce log hints in neutron.services.metering"
Jenkins [Sun, 23 Nov 2014 20:01:03 +0000 (20:01 +0000)]
Merge "Enforce log hints in neutron.services.metering"

9 years agoMerge "Drop RpcProxy usage from VPNaaS code"
Jenkins [Sun, 23 Nov 2014 20:00:42 +0000 (20:00 +0000)]
Merge "Drop RpcProxy usage from VPNaaS code"

9 years agoMerge "Drop RpcProxy usage from metering_agent"
Jenkins [Sun, 23 Nov 2014 19:53:37 +0000 (19:53 +0000)]
Merge "Drop RpcProxy usage from metering_agent"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Sun, 23 Nov 2014 09:36:11 +0000 (09:36 +0000)]
Updated from global requirements

Change-Id: I74345f78a169282b99ed3575f19afa3ca0548839

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sun, 23 Nov 2014 06:07:18 +0000 (06:07 +0000)]
Imported Translations from Transifex

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

Change-Id: I5c09254010381a649e732982a8a2462802c379ee

9 years agoMerge "Fix AttributeError in RPC code for DVR"
Jenkins [Sat, 22 Nov 2014 19:27:52 +0000 (19:27 +0000)]
Merge "Fix AttributeError in RPC code for DVR"

9 years agoEnforce log hints in neutron.services
Cedric Brandily [Tue, 11 Nov 2014 16:18:19 +0000 (17:18 +0100)]
Enforce log hints in neutron.services

This change enforces log hints use and removes debug level log
translation, modifications are validated through a hacking rule.

Validate that hacking rules apply to directories:
    - neutron/services

Change-Id: Ib744b7a94705afbefeb50b5dce933d226831f580
Partial-bug: #1320867

9 years agoEnforce log hints in neutron.services.metering
Cedric Brandily [Tue, 11 Nov 2014 16:11:28 +0000 (17:11 +0100)]
Enforce log hints in neutron.services.metering

This change enforces log hints use and removes debug level log
translation, modifications are validated through a hacking rule.

Validate that hacking rules apply to directories:
    - neutron/services/metering

Change-Id: Ic763e81e8b06973013115af45c7c09a3e69c673b
Partial-bug: #1320867

9 years agoFix metadata proxy start problem for v6-v4 network
Xu Han Peng [Fri, 14 Nov 2014 02:53:59 +0000 (10:53 +0800)]
Fix metadata proxy start problem for v6-v4 network

Commit 1b66e11b5d8c0b3de0610ca02c3e10b6f64ae375 introduces
a new problem that metadata proxy will not be started when
an isolated network contains ipv6 subnet with dhcp enabled
and a ipv4 subnet.

This fix separates the checks to enable dhcp and enable metadata
so metadata proxy can be started if there is ipv4 subnet exists
in the network with metadata enabled.

Change-Id: If26806083db225e9ab30d75fa6c728ce99a7cafe
Closes-Bug: 1392564

9 years agoMerge "BSN: include missing data in floating IP call"
Jenkins [Fri, 21 Nov 2014 20:31:22 +0000 (20:31 +0000)]
Merge "BSN: include missing data in floating IP call"

9 years agoMerge "Drop RpcProxy usage from LBaaS code"
Jenkins [Fri, 21 Nov 2014 16:08:16 +0000 (16:08 +0000)]
Merge "Drop RpcProxy usage from LBaaS code"

9 years agoFix AttributeError in RPC code for DVR
armando-migliaccio [Fri, 21 Nov 2014 06:15:34 +0000 (22:15 -0800)]
Fix AttributeError in RPC code for DVR

Fix the usage of call methods as per recent changes according to
drop-rpc-compat. These changes went overlooked and it broke DVR.

Tests will be done as follow-up.

Partial-bug: #1394848

Change-Id: I6e0584f8e54e606a76b87853b2371cc8e24eba69