]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoEmbrane Plugin fails alembic migrations
Ivar Lazzaro [Mon, 3 Mar 2014 19:29:17 +0000 (11:29 -0800)]
Embrane Plugin fails alembic migrations

Alembic migration from revision f44ab9871cd6 to 2eeaf963a447 is failing on
Embrane Plugin because the floatingips table doesn't exist.

The problem happens because the plugin is actually inheriting from OVS's Plugin,
and therefore it doesn't take part of the correct migration path at installation time.

As far as I have investigated, adding the support on ext_gw_mode and l3_support is enough to solve the problem.

Change-Id: Ide740df34d06d87fab50cf6468c5d753cb46f112
Closes-bug: 1287330

10 years agoBigSwitch: Add address pair support to plugin
Kevin Benton [Tue, 18 Feb 2014 09:22:11 +0000 (09:22 +0000)]
BigSwitch: Add address pair support to plugin

Adds support for the address pair extension to
the BigSwitch/restproxy plugin.

Implements: blueprint bsn-address-pairs
Change-Id: If03e8752155bcb8b21f5a427c54640c5b63f77f3

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 3 Mar 2014 10:17:35 +0000 (10:17 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Log configuration values for OVS agent"
Jenkins [Mon, 3 Mar 2014 08:40:40 +0000 (08:40 +0000)]
Merge "Log configuration values for OVS agent"

10 years agoMerge "Remove vim line from db migartion template"
Jenkins [Mon, 3 Mar 2014 08:36:33 +0000 (08:36 +0000)]
Merge "Remove vim line from db migartion template"

10 years agoMerge "Implement OpenFlow Agent mechanism driver"
Jenkins [Mon, 3 Mar 2014 08:18:18 +0000 (08:18 +0000)]
Merge "Implement OpenFlow Agent mechanism driver"

10 years agoRemove vim line from db migartion template
Akihiro Motoki [Mon, 3 Mar 2014 05:57:42 +0000 (14:57 +0900)]
Remove vim line from db migartion template

This commit also empties __init__.py and removes vim
modelines in the db migration related codes.

Change-Id: I9f83109c5becb6cf7e2e6ad9ad8eb9af3d8e0972
Closes-Bug: #1286991

10 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 3 Mar 2014 06:26:26 +0000 (06:26 +0000)]
Imported Translations from Transifex

Change-Id: I6b0267b40434d3fecdb8e071874c1c2543b643b0

10 years agoMerge "Openvswitch update_port should return updated port info"
Jenkins [Mon, 3 Mar 2014 06:11:44 +0000 (06:11 +0000)]
Merge "Openvswitch update_port should return updated port info"

10 years agoMerge "Change tenant network type usage for IB Fabric"
Jenkins [Mon, 3 Mar 2014 03:26:23 +0000 (03:26 +0000)]
Merge "Change tenant network type usage for IB Fabric"

10 years agoMerge "BigSwitch: Asynchronous rest calls for port create"
Jenkins [Mon, 3 Mar 2014 03:26:12 +0000 (03:26 +0000)]
Merge "BigSwitch: Asynchronous rest calls for port create"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 2 Mar 2014 22:18:36 +0000 (22:18 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Include proper Content-Type in the HTTP response headers"
Jenkins [Sun, 2 Mar 2014 22:14:49 +0000 (22:14 +0000)]
Merge "Include proper Content-Type in the HTTP response headers"

10 years agoMerge "Finish off rebranding of the Nicira NVP plugin"
Jenkins [Sun, 2 Mar 2014 20:33:54 +0000 (20:33 +0000)]
Merge "Finish off rebranding of the Nicira NVP plugin"

10 years agoMerge "Introduce status for floating IPs"
Jenkins [Sun, 2 Mar 2014 19:11:52 +0000 (19:11 +0000)]
Merge "Introduce status for floating IPs"

10 years agoMerge "Fix VPN agent does not handle multiple connections per vpn service"
Jenkins [Sun, 2 Mar 2014 19:11:42 +0000 (19:11 +0000)]
Merge "Fix VPN agent does not handle multiple connections per vpn service"

10 years agoMerge "Fix webob.exc.HTTPForbidden parameter miss"
Jenkins [Sun, 2 Mar 2014 19:05:50 +0000 (19:05 +0000)]
Merge "Fix webob.exc.HTTPForbidden parameter miss"

10 years agoMerge "nec plugin: Avoid long transaction in delete_ports"
Jenkins [Sun, 2 Mar 2014 19:03:27 +0000 (19:03 +0000)]
Merge "nec plugin: Avoid long transaction in delete_ports"

10 years agoRemove call to addCleanup(cfg.CONF.reset)
Irena Berezovsky [Sun, 2 Mar 2014 06:52:56 +0000 (08:52 +0200)]
Remove call to addCleanup(cfg.CONF.reset)

The addCleanup(cfg.CONF.reset) is done by base class,
therefore no need to invoke it from mlnx agent unit test setUp method.

Change-Id: Ie7e55d92e63a28699d8fec7c63951449eb7c0a50
Closes-Bug: 1286716

10 years agonec plugin: Avoid long transaction in delete_ports
Akihiro Motoki [Fri, 21 Feb 2014 08:42:46 +0000 (17:42 +0900)]
nec plugin: Avoid long transaction in delete_ports

db_plugin.delete_ports() can lead to long transaction
if plugin.deleete_port talks with external system.
This commit removes a transaction in delete_ports and
allows NEC plugin to use more granular db transactions
in delete_port. It greatly helps db race conditions and
timeouts in delete_port operations.

To avoid to impact other plugins/drivers by changing
db_plugin.delete_ports directly and to land this patch soon,
this commit overrides delete_ports() in NEC plugin.
Further disssion on transaction in delete_ports will be
discussed under bug 1282925.

Closes-Bug: #1282922
Related-Bug: #1282925

Change-Id: I2c00694ad34eb2058bf7a0ff1c920ceded327d43

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 2 Mar 2014 06:27:26 +0000 (06:27 +0000)]
Imported Translations from Transifex

Change-Id: Ie3ccabd213f1ff460585ae05beef6e4df9c46c38

10 years agoImplement OpenFlow Agent mechanism driver
fumihiko kakuma [Wed, 29 Jan 2014 01:54:12 +0000 (10:54 +0900)]
Implement OpenFlow Agent mechanism driver

This adds ML2 mechanism driver controlling OpenFlow switches
and an agent using Ryu as OpenFlow Python library.
- An agent acts as an OpenFlow controller on each compute nodes.
- OpenFlow 1.3 (vendor agnostic unlike OVS extensions).

Implements: blueprint ryu-ml2-driver
Change-Id: I6a8168d24f911996639179d91c4da49151751057

10 years agoFinish off rebranding of the Nicira NVP plugin
armando-migliaccio [Tue, 18 Feb 2014 19:43:23 +0000 (11:43 -0800)]
Finish off rebranding of the Nicira NVP plugin

Old names are kept for backward compatibility.

Last references to the old NVP plugins are going
to be dropped in Juno.

Completes blueprint nicira-plugin-renaming

Change-Id: Ia1aa4f658891e7ce9469748432c338353195edfd

10 years agoLog configuration values for OVS agent
Stephen Ma [Sun, 2 Mar 2014 01:57:48 +0000 (01:57 +0000)]
Log configuration values for OVS agent

When other agents start up, they log the configuration values
to their logs.  This patch adds the same feature to the
Openvswitch agent.

Change-Id: I00bc82a3dafbd214a2ddbdf525dd4cc327838af9
Closes-bug: #1285962

10 years agoBigSwitch: Asynchronous rest calls for port create
Kevin Benton [Tue, 18 Feb 2014 22:18:47 +0000 (22:18 +0000)]
BigSwitch: Asynchronous rest calls for port create

Makes rest calls for port creation an async
operation so create_port calls immediately
return in a BUILD state.

Implements: blueprint bsn-port-async
Change-Id: Ib512a846fa878ec33205df08a3b2464b7ea0941a

10 years agoMerge "NSX: add missing space 'routeron'"
Jenkins [Sun, 2 Mar 2014 01:26:06 +0000 (01:26 +0000)]
Merge "NSX: add missing space 'routeron'"

10 years agoMerge "l2-population/lb/vxlan : ip neigh add command failed"
Jenkins [Sun, 2 Mar 2014 01:25:48 +0000 (01:25 +0000)]
Merge "l2-population/lb/vxlan : ip neigh add command failed"

10 years agoMerge "Fix get_vif_port_by_id to only return relevant ports"
Jenkins [Sat, 1 Mar 2014 23:56:10 +0000 (23:56 +0000)]
Merge "Fix get_vif_port_by_id to only return relevant ports"

10 years agoIntroduce status for floating IPs
Salvatore Orlando [Tue, 14 Jan 2014 20:01:40 +0000 (12:01 -0800)]
Introduce status for floating IPs

Add a new 'status' attribute to the floating IP resource.
Extend the plugin RPC interface for allowing status updates from agents,
and implement support for operational status in the L3 agent.

The default behaviour for all the plugins different from
neutron.services.l3_router.l3_router_plugin is to set the status of
a floating IP to ACTIVE upon creation.

Implements blueprint fip-op-status
Change-Id: Ib0176fbcde95b0db5dfdabd4fc297d1d29c0d604

10 years agoMerge "BigSwitch: Add agent to support neutron sec groups"
Jenkins [Sat, 1 Mar 2014 22:19:46 +0000 (22:19 +0000)]
Merge "BigSwitch: Add agent to support neutron sec groups"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 1 Mar 2014 22:11:28 +0000 (22:11 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Adds the new IBM SDN-VE plugin"
Jenkins [Sat, 1 Mar 2014 18:55:05 +0000 (18:55 +0000)]
Merge "Adds the new IBM SDN-VE plugin"

10 years agoBigSwitch: Add agent to support neutron sec groups
Kevin Benton [Tue, 11 Feb 2014 03:36:22 +0000 (19:36 -0800)]
BigSwitch: Add agent to support neutron sec groups

Adds a BigSwitch Agent responsible for supporting
neutron security groups on the compute node. Adds
the mixin classes to the plugin to support the
security group calls.

Implements: blueprint bsn-neutron-sec-groups
Change-Id: I3a09888a3ba7d565c2dce8293821919c1e5d0d15

10 years agoMerge "Nuage Networks Plugin"
Jenkins [Sat, 1 Mar 2014 17:58:49 +0000 (17:58 +0000)]
Merge "Nuage Networks Plugin"

10 years agoAdds the new IBM SDN-VE plugin
Mohammad Banikazemi [Thu, 27 Feb 2014 11:45:17 +0000 (06:45 -0500)]
Adds the new IBM SDN-VE plugin

It adds a new plugin for SDN-VE, the IBM SDN
controller. The plugin supports the core API
and the port binding and L3 extensions.

Implements: blueprint ibm-sdn-ve-plugin
DocImpact

Change-Id: I92619a95bca2ae0c37e7fdd39da30119b43d1ad6

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Sat, 1 Mar 2014 13:11:40 +0000 (13:11 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Change firewall to DOWN when admin state down"
Jenkins [Sat, 1 Mar 2014 13:11:23 +0000 (13:11 +0000)]
Merge "Change firewall to DOWN when admin state down"

10 years agoMerge "Add user-supplied arguments in log_handler"
Jenkins [Sat, 1 Mar 2014 12:35:31 +0000 (12:35 +0000)]
Merge "Add user-supplied arguments in log_handler"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 1 Mar 2014 06:29:47 +0000 (06:29 +0000)]
Imported Translations from Transifex

Change-Id: I47d93d0d64fe9613d974d2530d1ba22cf900d441

10 years agoMerge "Fixes spelling error Closes-Bug: #1284257"
Jenkins [Sat, 1 Mar 2014 03:35:46 +0000 (03:35 +0000)]
Merge "Fixes spelling error Closes-Bug: #1284257"

10 years agoMerge "Ensure ovsdb-client is stopped when OVS agent dies"
Jenkins [Sat, 1 Mar 2014 01:30:57 +0000 (01:30 +0000)]
Merge "Ensure ovsdb-client is stopped when OVS agent dies"

10 years agoNuage Networks Plugin
ronak [Thu, 16 Jan 2014 18:26:01 +0000 (10:26 -0800)]
Nuage Networks Plugin

Nuage networks’ openstack networking plugin enables integration
of openstack with Nuage Networks’ Virtual Service Platform (VSP)

Change-Id: If20b385b78a350cb9aae2c70b6a44888e74c23bc
Implements: blueprint nuage-networks-plugin

10 years agoFixes spelling error
Matthew Weeks [Fri, 28 Feb 2014 19:31:43 +0000 (11:31 -0800)]
Fixes spelling error
Closes-Bug: #1284257

Change-Id: I3c5ff9b7e8830023f54d09d74c1a9d3c9a4b82f5

10 years agoOpenvswitch update_port should return updated port info
Jon Grimm [Wed, 27 Nov 2013 19:10:33 +0000 (13:10 -0600)]
Openvswitch update_port should return updated port info

Found when I enabled test_extension_allowedaddress_pairs, where
test_create_port_removed_allowed_address_pairs would fail due to the
returned port still containing the original addresspair.  The cause is
ovs simply not updating the port info being returned.

This patch additionally enables test_extension_allowedaddress_pairs for
openvswitch.

Moved checks and updating into method similar to what we do for
extradhcpopts and security_groups.

Additionally, this required fixing is_address_pairs_attribute_updated() as
it was passing (non-hashable) dicts to utils.compare_elements.

Change-Id: Ic871fea68fb9fcc862b1fd5ae5fe7aec540e4a30
Partial-Bug: #1255150

10 years agoMerge "change Openstack to OpenStack in neutron"
Jenkins [Fri, 28 Feb 2014 18:26:36 +0000 (18:26 +0000)]
Merge "change Openstack to OpenStack in neutron"

10 years agoUpdated from global requirements
OpenStack Jenkins [Fri, 28 Feb 2014 17:37:58 +0000 (17:37 +0000)]
Updated from global requirements

Change-Id: Idafb224b0a2c4845fd1689527a08e0c36701cddd

10 years agoMerge "Typo/grammar fixes for the example neutron config file"
Jenkins [Fri, 28 Feb 2014 13:13:19 +0000 (13:13 +0000)]
Merge "Typo/grammar fixes for the example neutron config file"

10 years agoMerge "LBaaS: check for associations before deleting health monitor"
Jenkins [Fri, 28 Feb 2014 10:39:35 +0000 (10:39 +0000)]
Merge "LBaaS: check for associations before deleting health monitor"

10 years agoChange firewall to DOWN when admin state down
Xuhan Peng [Fri, 14 Feb 2014 09:20:01 +0000 (04:20 -0500)]
Change firewall to DOWN when admin state down

Currently firewall remains in status "ACTIVE" after admin state
is changed to DOWN.

This fix sets firewall status to "DOWN" if admin state is updated
from "UP" to "DOWN". "DOWN" status is used by other network resources
so use "DOWN" to keep consistent.

Change-Id: If316b114c4df78368b43c2a15a820bb1177b3a54
Closes-Bug: 1279213

10 years agoNSX: add missing space 'routeron'
Aaron Rosen [Fri, 28 Feb 2014 07:38:59 +0000 (23:38 -0800)]
NSX: add missing space 'routeron'

Noticed this in the logs and figured why not add the space...

Change-Id: Idb85aab428d5bbc5c901c49d4a65e95a60a93cb4

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 28 Feb 2014 06:28:34 +0000 (06:28 +0000)]
Imported Translations from Transifex

Change-Id: I66deed169f57a9501fd4b9a0170d4f2da037e0cc

10 years agoMerge "Handle racing condition in OFC port deletion"
Jenkins [Fri, 28 Feb 2014 01:44:08 +0000 (01:44 +0000)]
Merge "Handle racing condition in OFC port deletion"

10 years agoMerge "NSX: port status must reflect fabric, not link status"
Jenkins [Thu, 27 Feb 2014 23:41:54 +0000 (23:41 +0000)]
Merge "NSX: port status must reflect fabric, not link status"

10 years agoMerge "NSX: Pass NSX uuid when plugging l2 gw attachment"
Jenkins [Thu, 27 Feb 2014 23:41:36 +0000 (23:41 +0000)]
Merge "NSX: Pass NSX uuid when plugging l2 gw attachment"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 27 Feb 2014 23:41:20 +0000 (23:41 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Fix NSX migration path"
Jenkins [Thu, 27 Feb 2014 22:21:02 +0000 (22:21 +0000)]
Merge "Fix NSX migration path"

10 years agoMerge "Update License Headers to replace Nicira with VMware"
Jenkins [Thu, 27 Feb 2014 11:59:33 +0000 (11:59 +0000)]
Merge "Update License Headers to replace Nicira with VMware"

10 years agoMerge "Renaming plugin-specific exceptions to match NSX"
Jenkins [Thu, 27 Feb 2014 11:59:08 +0000 (11:59 +0000)]
Merge "Renaming plugin-specific exceptions to match NSX"

10 years agoMerge "Remove import extension dep from db migration"
Jenkins [Thu, 27 Feb 2014 11:58:43 +0000 (11:58 +0000)]
Merge "Remove import extension dep from db migration"

10 years agoUpdate License Headers to replace Nicira with VMware
armando-migliaccio [Tue, 18 Feb 2014 16:51:34 +0000 (08:51 -0800)]
Update License Headers to replace Nicira with VMware

In the process __init__.py involved have been emptied;
vim modelines and author lines have been dropped from
the license headers affected by the change as well.

Partial-implements blueprint nicira-plugin-renaming

Change-Id: I9c535b59bb2e83f275816472e0e32b41444d3bbe

10 years agoRenaming plugin-specific exceptions to match NSX
armando-migliaccio [Fri, 14 Feb 2014 00:57:19 +0000 (16:57 -0800)]
Renaming plugin-specific exceptions to match NSX

Try to get rid of Nvp as much as possible, the base
class already uses the plugin short name so it's
pointless to carry it over.

Partial-implements blueprint nicira-plugin-renaming

Change-Id: Ic3e53bc4e41ffe1a19ea03e807ec89bb6c864f51

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 27 Feb 2014 06:26:05 +0000 (06:26 +0000)]
Imported Translations from Transifex

Change-Id: If3e28d9e7df1d526e4bce2dfc01c6241b2115e72

10 years agoMerge "Implements provider network support in PLUMgrid plugin"
Jenkins [Thu, 27 Feb 2014 05:48:51 +0000 (05:48 +0000)]
Merge "Implements provider network support in PLUMgrid plugin"

10 years agoDB Mappings for NSX security groups
Salvatore Orlando [Fri, 27 Dec 2013 23:36:22 +0000 (15:36 -0800)]
DB Mappings for NSX security groups

This patch introduces DB mappings between neutron security
groups and NSX security profiles, thus not requiring anymore
the Neutron router ID to be equal to the NSX one.

This change is needed for enabling asynchronous operations in
the NSX plugin.

Related to blueprint nvp-async-backend-communication

Change-Id: I3b28d535c93cd2bfc776aabe0d99be18fce4454d

10 years agoNSX: port status must reflect fabric, not link status
Salvatore Orlando [Thu, 27 Feb 2014 00:43:59 +0000 (16:43 -0800)]
NSX: port status must reflect fabric, not link status

This patch ensures the status attribute for the port resource is
semantically consistent with the reference plugin when using the
NSX plugin.

Change-Id: Ifb9c7664da926d3e6d5c6ec7c0e375b53a97582a
Closes-Bug: 1285426

10 years agoMerge "tests/service: consolidate setUp/tearDown logic"
Jenkins [Thu, 27 Feb 2014 00:39:43 +0000 (00:39 +0000)]
Merge "tests/service: consolidate setUp/tearDown logic"

10 years agoMerge "BigSwitch: Fix tenant_id for shared net requests"
Jenkins [Thu, 27 Feb 2014 00:16:38 +0000 (00:16 +0000)]
Merge "BigSwitch: Fix tenant_id for shared net requests"

10 years agoTypo/grammar fixes for the example neutron config file
Jeremy Hanmer [Wed, 26 Feb 2014 23:59:51 +0000 (15:59 -0800)]
Typo/grammar fixes for the example neutron config file

Change-Id: I12d21ef2a5bff5a8cdd08fea42b413b062479926

10 years agoMerge "l2-population : send flooding entries when the last port goes down"
Jenkins [Wed, 26 Feb 2014 23:58:02 +0000 (23:58 +0000)]
Merge "l2-population : send flooding entries when the last port goes down"

10 years agoMerge "stats table needs columns to be bigint"
Jenkins [Wed, 26 Feb 2014 23:21:16 +0000 (23:21 +0000)]
Merge "stats table needs columns to be bigint"

10 years agoMerge "Sync oslo cache with oslo-incubator"
Jenkins [Wed, 26 Feb 2014 23:20:59 +0000 (23:20 +0000)]
Merge "Sync oslo cache with oslo-incubator"

10 years agoMerge "Support Port Binding Extension in Cisco N1kv plugin"
Jenkins [Wed, 26 Feb 2014 23:19:52 +0000 (23:19 +0000)]
Merge "Support Port Binding Extension in Cisco N1kv plugin"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 26 Feb 2014 23:17:21 +0000 (23:17 +0000)]
Merge "Imported Translations from Transifex"

10 years agoNSX: Pass NSX uuid when plugging l2 gw attachment
Salvatore Orlando [Wed, 26 Feb 2014 22:38:24 +0000 (14:38 -0800)]
NSX: Pass NSX uuid when plugging l2 gw attachment

The code passed the neutron network identifier.
This is no longer valid as identifiers on the backend are not
anymore the same as neutron identifiers.

Also, this would have hardly worked with networks on extended
logical switches.

Closes-Bug: 1285399
Change-Id: I6fe4d22d5b8d8b7dc3eb1cb3f47ad52ac1a2b565

10 years agostats table needs columns to be bigint
Stephen Gran [Mon, 24 Feb 2014 20:18:49 +0000 (20:18 +0000)]
stats table needs columns to be bigint

Bandwidth measurements trivially overrun 32bit counters.  Change storage
type to BigInteger from Integer.

Closes-Bug: #1284314
Change-Id: I20db25f374de66b8443ff50bac979bff634d8a14
Signed-off-by: Stephen Gran <stephen.gran@guardian.co.uk>
10 years agoRemove import extension dep from db migration
Mark McClain [Wed, 26 Feb 2014 18:24:55 +0000 (13:24 -0500)]
Remove import extension dep from db migration

Change-Id: Ic8907a9960807b30d8b89df0ee29e42b26a7675a
Closes-bug:1285294

10 years agoFix get_vif_port_by_id to only return relevant ports
Vincent Untz [Sun, 23 Feb 2014 16:57:05 +0000 (17:57 +0100)]
Fix get_vif_port_by_id to only return relevant ports

This is returning any port, even if it's not on the switch that we're
looking at. As a side-effect, this means that we can actually manipulate
these ports while we really shouldn't.

Co-Authored-By: Rossella Sblendido <rsblendido@suse.com>
Change-Id: Ia4f4e93237c1c2ea6cb4b6c2f5adf78d6b34c7bf
Closes-Bug: #1283765

10 years agoFix NSX migration path
Salvatore Orlando [Wed, 26 Feb 2014 11:06:38 +0000 (03:06 -0800)]
Fix NSX migration path

The migration path for the NSX plugin was not working correctly,
as two migrations (extra route and network gateways) were
skipped.
Therefore installations were partially relying on automatic
schema generation.

This patch fixes the migration path, as well as an attribute
whose name in the migration and the DB model differed.

Closes-Bug: 1285095

Change-Id: I9e4db294e618d1419d86e07cfb5505dcc01b54ca

10 years agoAdd user-supplied arguments in log_handler
Shuangtai Tian [Wed, 26 Feb 2014 11:11:38 +0000 (19:11 +0800)]
Add user-supplied arguments in log_handler

Sync from Oslo, change-id: I91289cc4a60f5dab89bca852e6f52b4b83831e47

When using PublishErrorsHandler, it will missing user-supplied
arguments. For example, do LOG.info("blabla %s", "foo"), the
payload only contains "blabla %s", but we expect it like "blabla foo".

Change-Id: I9e5515da31a04b82d49e406bc6b246f940fb73fc

10 years agoMerge "NSX: Fix newly created port's status should be DOWN"
Jenkins [Wed, 26 Feb 2014 09:10:44 +0000 (09:10 +0000)]
Merge "NSX: Fix newly created port's status should be DOWN"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 26 Feb 2014 06:29:30 +0000 (06:29 +0000)]
Imported Translations from Transifex

Change-Id: I69ef916bdf23529a175aa94b761f6f29f00b71d8

10 years agoMerge "Fixes Tempest XML test failures for Cisco N1kv plugin"
Jenkins [Wed, 26 Feb 2014 02:15:38 +0000 (02:15 +0000)]
Merge "Fixes Tempest XML test failures for Cisco N1kv plugin"

10 years agoNSX: Fix newly created port's status should be DOWN
Aaron Rosen [Wed, 12 Feb 2014 22:25:31 +0000 (14:25 -0800)]
NSX: Fix newly created port's status should be DOWN

Previously when creating a port in neutron using the nsx plugin
the port status returned would be ACTIVE even if this was not the
case. Now, DOWN is returned which will be updated by the backend
when the port goes ACTIVE.

Change-Id: I600fb1292ae79146cb14c7e23170262973878de0
Closes-bug: #1279551

10 years agoMerge "Fix wrap target in iptables_manager"
Jenkins [Tue, 25 Feb 2014 18:52:57 +0000 (18:52 +0000)]
Merge "Fix wrap target in iptables_manager"

10 years agoRename/refactoring of NVP api client to NSX
armando-migliaccio [Wed, 12 Feb 2014 21:39:48 +0000 (13:39 -0800)]
Rename/refactoring of NVP api client to NSX

Partial-implements blueprint nicira-plugin-renaming

Change-Id: I7d3bc088762f53473892480b2e238fe60c2c0b74

10 years agoMerge "Rename DB models and related resources for VMware NSX plugin"
Jenkins [Tue, 25 Feb 2014 18:43:40 +0000 (18:43 +0000)]
Merge "Rename DB models and related resources for VMware NSX plugin"

10 years agoMerge "Lower log level of errors due to user requests to INFO"
Jenkins [Tue, 25 Feb 2014 18:43:21 +0000 (18:43 +0000)]
Merge "Lower log level of errors due to user requests to INFO"

10 years agoMerge "NSX: Fix status sync with correct mappings"
Jenkins [Tue, 25 Feb 2014 17:17:22 +0000 (17:17 +0000)]
Merge "NSX: Fix status sync with correct mappings"

10 years agoMerge "Reassign IP to vlan interface when deleting a VLAN bridge"
Jenkins [Tue, 25 Feb 2014 15:42:11 +0000 (15:42 +0000)]
Merge "Reassign IP to vlan interface when deleting a VLAN bridge"

10 years agoRename DB models and related resources for VMware NSX plugin
armando-migliaccio [Wed, 12 Feb 2014 01:35:30 +0000 (17:35 -0800)]
Rename DB models and related resources for VMware NSX plugin

This patch also introduces a DB migration to update the
affected tables, and the enum type for those DB engines that
require it.

Additions made to existing migrations are needed to ensure
that green deployments using the new plugin name will apply
the migrations correctly.

Partial-implements blueprint nicira-plugin-renaming

Change-Id: Ie0fdb51dfa399c44b749fa8345f334a2c8c29151

10 years agoLower log level of errors due to user requests to INFO
Akihiro Motoki [Wed, 19 Feb 2014 19:21:55 +0000 (04:21 +0900)]
Lower log level of errors due to user requests to INFO

Errors due to bad client requests (e.g., NotFound, BadRequest)
are logged as exception/trace level and it is annoying
from the point of operators' view.
This commit changes the log level for errors due to
user requests (HTTP 4xx errors) to INFO.

Closes-Bug: #1282394
Change-Id: Ic5646333db88ce856f9366e914cf961890d30501

10 years agoInclude proper Content-Type in the HTTP response headers
sridhargaddam [Mon, 24 Feb 2014 15:21:31 +0000 (20:51 +0530)]
Include proper Content-Type in the HTTP response headers

Neutron namespace proxy handler and metadata agent were not setting the
Content-Type in its response. Both of them were returning only the response
data which is obtained from the nova-metadata-service. Since they were returning
only the response data, the Content-Type returned to the clients has the default
one which is - "text/html". Ideally this should be set to the data type which is
present in the HTTP Response. The fix now includes the Content-Type which is
returned by nova-metadata-service

Closes-Bug: #1243878
Change-Id: If68f0b508fbea4ecd1eb0e58d602b5ba6ccbe263

10 years agoLBaaS: check for associations before deleting health monitor
Oleg Bondarev [Thu, 24 Oct 2013 12:53:55 +0000 (16:53 +0400)]
LBaaS: check for associations before deleting health monitor

Need to prohibit health monitor deletion if it has associations with
pools. Given that pools may belong to different lbaas drivers the process
of monitor deletion becomes complex and unreliable since association
deletion may fail on any single driver.

DocImpact

Closes-Bug: #1243129
Change-Id: I27c20e7a5be8433f90569534ecf838e33027cb00

10 years agol2-population/lb/vxlan : ip neigh add command failed
mathieu-rohon [Thu, 20 Feb 2014 16:39:00 +0000 (17:39 +0100)]
l2-population/lb/vxlan : ip neigh add command failed

we were using ip neigh add command which must be replaced by
ip neigh replace, to avoid error when creating a VM with an ip
previously used by a deleted VM

Change-Id: I2405096d5925ae37efd5f8abcc02b99cf0c9f5d3
Closes-Bug: #1282662

10 years agol2-population : send flooding entries when the last port goes down
mathieu-rohon [Thu, 20 Feb 2014 09:39:43 +0000 (10:39 +0100)]
l2-population : send flooding entries when the last port goes down

Delete port used to call update_port_down to calculate
its fdb entries during delete_port_precommit. But during
the pre-commit, the port is still up, so update_port_down
acts as if there was still one port on the agent, and
doesn't add flooding entry in its fdb_entries.

Closes bug #1282141

Change-Id: Icedd02f33d999200505950beb9169ae3634e551b

10 years agoMerge "ML2 binding:profile port attribute"
Jenkins [Tue, 25 Feb 2014 08:26:01 +0000 (08:26 +0000)]
Merge "ML2 binding:profile port attribute"

10 years agotests/service: consolidate setUp/tearDown logic
Isaku Yamahata [Mon, 3 Feb 2014 06:44:02 +0000 (15:44 +0900)]
tests/service: consolidate setUp/tearDown logic

Consolidate the duplicate code for extension api tests.
This will be also used by servicevm extensions later.

At the same time, a bug in test_extension_firewall.py is also fixed.
double call of super().setUp().

Closes-bug: #1275654
Change-Id: I72f185ef6e5af55729ced51fc0b72fae799d46ac

10 years agoEnsure ovsdb-client is stopped when OVS agent dies
Terry Wilson [Fri, 24 Jan 2014 19:04:18 +0000 (13:04 -0600)]
Ensure ovsdb-client is stopped when OVS agent dies

If the OVS agent is killed, the interpreter is killed before any cleanup
is done. This patch adds a signal handler for SIGTERM that exits
normally so that the existing cleanup is done and the ovsdb-client
process is terminated.

Change-Id: Ie4f8ff434098100f4699124403d58caa784084cf

10 years agoNSX: Fix status sync with correct mappings
Salvatore Orlando [Mon, 24 Feb 2014 18:44:46 +0000 (10:44 -0800)]
NSX: Fix status sync with correct mappings

The code that syncs router status to the neutron_db was using the nsx
router id instead of the neutron router id thus synchronize_router
would never update the database.

Also, the switch synchronization routine was not fetching the
appropriate neutron id tag thus causing switch synchronization to
be skipped.

This patch also fixes the error in the unit tests which allowed for
the bug to be introduced.

Co-Authored-By: Salvatore Orlando <salv.orlando@gmail.com>
Closes-bug: 1283856

Change-Id: I26342ecea6ad546b224b7fca1e55f754b4883363

10 years agoSupport Port Binding Extension in Cisco N1kv plugin
Abhishek Raut [Fri, 24 Jan 2014 01:37:49 +0000 (17:37 -0800)]
Support Port Binding Extension in Cisco N1kv plugin

Change-Id: I9bcacb2b1f1bb1500b9176a49736aac128938de8
Closes-Bug: #1272128