]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Stop using portbindings_db in BSN ML2 driver"
Jenkins [Wed, 2 Apr 2014 10:06:32 +0000 (10:06 +0000)]
Merge "Stop using portbindings_db in BSN ML2 driver"

10 years agoMerge "Removing vim header lines"
Jenkins [Wed, 2 Apr 2014 08:57:02 +0000 (08:57 +0000)]
Merge "Removing vim header lines"

10 years agoMerge "NSX plugin: return 400 for invalid gw certificate"
Jenkins [Wed, 2 Apr 2014 08:56:01 +0000 (08:56 +0000)]
Merge "NSX plugin: return 400 for invalid gw certificate"

10 years agoMerge "Log configuration values for OFA agent"
Jenkins [Wed, 2 Apr 2014 05:45:18 +0000 (05:45 +0000)]
Merge "Log configuration values for OFA agent"

10 years agoUse a temp dir for CONF.state_path
Joe Gordon [Tue, 1 Apr 2014 22:06:36 +0000 (15:06 -0700)]
Use a temp dir for CONF.state_path

external_pids will defaults to $state_path(/var/lib/neutron)/external/pids
which isn't accessible when running unit tests so use a tempdir for
CONF.state_path. This bug arose when oslo.config 1.3.0 came out which
fixed bug #1282250 (I4324bda6f3de3cdf05f8eb3cf16052c04018dec8) and
caused this issue.

Change-Id: I253c5ea85c51eff94399da0b9462d10a9c509a0f
Closes-Bug: #1301027

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 1 Apr 2014 18:13:39 +0000 (18:13 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Move test_ovs_lib to tests/unit/agent/linux"
Jenkins [Tue, 1 Apr 2014 16:33:29 +0000 (16:33 +0000)]
Merge "Move test_ovs_lib to tests/unit/agent/linux"

10 years agoMerge "Fix function parsing the kernel version"
Jenkins [Tue, 1 Apr 2014 16:27:45 +0000 (16:27 +0000)]
Merge "Fix function parsing the kernel version"

10 years agoStop using portbindings_db in BSN ML2 driver
Kevin Benton [Tue, 1 Apr 2014 08:05:29 +0000 (01:05 -0700)]
Stop using portbindings_db in BSN ML2 driver

Avoids using the portbindings_db in the Big Switch
ML2 driver since ML2 has deprecated that database for
its own version that tracks the same information.

Also eliminates unnecessary 'binding_host' field since
it is now always the same as as the 'portbinding:host_id'
field.

Closes-Bug: #1300628
Change-Id: I17d47cb446cdd2e989c3e0d01b797a81309faaa7

10 years agoMerge "Add missing DB migrations for BSN ML2 plugin"
Jenkins [Tue, 1 Apr 2014 15:34:05 +0000 (15:34 +0000)]
Merge "Add missing DB migrations for BSN ML2 plugin"

10 years agoRemoving vim header lines
Mohammad Banikazemi [Mon, 31 Mar 2014 17:01:47 +0000 (13:01 -0400)]
Removing vim header lines

Simply removes the vim header line and the empty line
following it (when present) for files in the api, db, and
extenssions base directories. In one single _init_ file in
this patchset, all comment lines are removed.

Change-Id: I81b7168dc2ad74b8c30a87e50a531e157851499e
Partial-Bug: 1229324

10 years agoFix function parsing the kernel version
Simon Pasquier [Tue, 1 Apr 2014 13:55:55 +0000 (15:55 +0200)]
Fix function parsing the kernel version

Change-Id: Id56efb476144a18cd9eb7279bc0f602760a86173
Closes-Bug: #1300808

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Tue, 1 Apr 2014 14:00:43 +0000 (14:00 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Add unit test for add_vxlan in test_linux_ip_lib"
Jenkins [Tue, 1 Apr 2014 12:21:55 +0000 (12:21 +0000)]
Merge "Add unit test for add_vxlan in test_linux_ip_lib"

10 years agoUpdated from global requirements
OpenStack Jenkins [Tue, 1 Apr 2014 11:51:30 +0000 (11:51 +0000)]
Updated from global requirements

Change-Id: I920146bc6ea4eb490f42e1293552536f62949316

10 years agoMerge "Open Juno development"
Jenkins [Tue, 1 Apr 2014 11:47:30 +0000 (11:47 +0000)]
Merge "Open Juno development"

10 years agoMerge "Invoke _process_l3_create within plugin session"
Jenkins [Tue, 1 Apr 2014 11:47:19 +0000 (11:47 +0000)]
Merge "Invoke _process_l3_create within plugin session"

10 years agoBigSwitch: Semaphore on port status update
Kevin Benton [Tue, 1 Apr 2014 06:32:41 +0000 (23:32 -0700)]
BigSwitch: Semaphore on port status update

Adds a semaphore to the _set_port_status
function used by the Big Switch ML2 driver and
plugin. Without it, the async threads are
susceptible to deadlocking and causing the
known eventlet/mysql timeout exception.

Closes-Bug: #1300607
Change-Id: Ie89213a0bef37f9e7a30945df39c0f1b87a33b82

10 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 1 Apr 2014 06:30:53 +0000 (06:30 +0000)]
Imported Translations from Transifex

Change-Id: I58a1436d1e987e24423eba5d5b7c501fd86c9da9

10 years agoAdd missing DB migrations for BSN ML2 plugin
Kevin Benton [Tue, 1 Apr 2014 02:58:31 +0000 (19:58 -0700)]
Add missing DB migrations for BSN ML2 plugin

Adds missing database migrations for the Big Switch
ML2 driver and plugin.

Closes-Bug: #1298459
Change-Id: I6a46a53e069353501d85c4c8400f98514d6f0162

10 years agoMerge "Add Icehouse no-op migration"
Jenkins [Mon, 31 Mar 2014 22:58:16 +0000 (22:58 +0000)]
Merge "Add Icehouse no-op migration"

10 years agoMerge "Cancelling thread start while unit tests running"
Jenkins [Mon, 31 Mar 2014 20:31:00 +0000 (20:31 +0000)]
Merge "Cancelling thread start while unit tests running"

10 years agoMerge "Synced rpc and gettextutils modules from oslo-incubator"
Jenkins [Mon, 31 Mar 2014 19:30:57 +0000 (19:30 +0000)]
Merge "Synced rpc and gettextutils modules from oslo-incubator"

10 years agoMerge "Delete duplicate external devices in router namespace"
Jenkins [Mon, 31 Mar 2014 17:56:11 +0000 (17:56 +0000)]
Merge "Delete duplicate external devices in router namespace"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 31 Mar 2014 15:02:24 +0000 (15:02 +0000)]
Merge "Imported Translations from Transifex"

10 years agoAdd Icehouse no-op migration
Mark McClain [Fri, 28 Mar 2014 14:31:38 +0000 (10:31 -0400)]
Add Icehouse no-op migration

This migration marks the database migration timeline milestone for
Icehouse.

Change-Id: I8be0322843e506c07e83dc4ba1c135f36a6e2505

10 years agoMerge "Delete subnet fails if assoc port has IPs from another subnet"
Jenkins [Mon, 31 Mar 2014 08:43:23 +0000 (08:43 +0000)]
Merge "Delete subnet fails if assoc port has IPs from another subnet"

10 years agoMerge "Add missing parameters for port creation"
Jenkins [Mon, 31 Mar 2014 08:11:15 +0000 (08:11 +0000)]
Merge "Add missing parameters for port creation"

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

Change-Id: I3039f6c62ac35200b47f9e73760f9ef33dd5efee

10 years agoMerge "UT: do not hide an original error in test resource ctxtmgr"
Jenkins [Mon, 31 Mar 2014 06:32:15 +0000 (06:32 +0000)]
Merge "UT: do not hide an original error in test resource ctxtmgr"

10 years agoInvoke _process_l3_create within plugin session
Hemanth Ravi [Mon, 31 Mar 2014 00:48:21 +0000 (17:48 -0700)]
Invoke _process_l3_create within plugin session

_process_l3_create should be invoked with a plugin session, else
externalnetworks table is not populated for networks with
router:external=True. Added the missing plugin session.

Change-Id: I09c49dea9474f91a70aef829c1596fbb9089d6cf
Closes-Bug: #1299946

10 years agoMerge "Disable XML tests on Py26"
Jenkins [Sun, 30 Mar 2014 18:54:13 +0000 (18:54 +0000)]
Merge "Disable XML tests on Py26"

10 years agoMerge "Fix namespace exist() method"
Jenkins [Sat, 29 Mar 2014 20:05:52 +0000 (20:05 +0000)]
Merge "Fix namespace exist() method"

10 years agoAdd missing parameters for port creation
Sourabh Patwardhan [Mon, 10 Mar 2014 21:27:26 +0000 (14:27 -0700)]
Add missing parameters for port creation

Recent API changes in N1KV controller require parameters such as
subnet id and IP address to handle port creation successfully.
Without these mandatory paramters, the REST call fails.
This patch addresses that by passing in the missing parameters
in the REST body.

Change-Id: I4cec6868051f492b9d1245ab201ff6c1a0837848
Closes-Bug: #1290561

10 years agoMove test_ovs_lib to tests/unit/agent/linux
Ryan Petrello [Fri, 28 Mar 2014 20:57:36 +0000 (13:57 -0700)]
Move test_ovs_lib to tests/unit/agent/linux

Fixes bug 1295846

Change-Id: Ifd3576e9b549361a4baf9cfc2b9301bb45789474

10 years agoMerge "Fix segment allocation tables in Cisco N1kv plugin"
Jenkins [Fri, 28 Mar 2014 20:37:46 +0000 (20:37 +0000)]
Merge "Fix segment allocation tables in Cisco N1kv plugin"

10 years agoMerge "Migrate data from cap_port_filter to vif_details"
Jenkins [Fri, 28 Mar 2014 17:41:28 +0000 (17:41 +0000)]
Merge "Migrate data from cap_port_filter to vif_details"

10 years agoCancelling thread start while unit tests running
Evgeny Fedoruk [Tue, 18 Mar 2014 17:55:11 +0000 (10:55 -0700)]
Cancelling thread start while unit tests running

This change modifies the Radware driver and its unit testing code
to not start operations completion thread while unit tests are running.

The driver initialization changed not to start the operations completion thread,
the thread is started only when operation completion item is inserted into the queue
for the first time.
The operation completion functionality was moved to a new function which
is called by the operations completion thread run() function.
The run() function still have the functionality of popping operation completion
items out of the queue and push failed items back.

Unit testing code mocks the operation completion items queue
by calling the operations completion hanler new function when item
is added.

Start() and join() functions of the thread were mocked to do nothing.

All sleep() entrances were removed from the unit testing code.
All unnecessary mock_reset() calls were removed.

Change-Id: I72380bf223be690831aba1fc29c3dca910245516
Closes-Bug: #1245208

10 years agoMerge "Include cisco plugin in migration plugins with ovs"
Jenkins [Fri, 28 Mar 2014 16:13:43 +0000 (16:13 +0000)]
Merge "Include cisco plugin in migration plugins with ovs"

10 years agoDelete duplicate external devices in router namespace
Carl Baldwin [Thu, 27 Mar 2014 22:21:53 +0000 (22:21 +0000)]
Delete duplicate external devices in router namespace

When a router's gateway is removed during L3-agent restart, the agent
will fail to delete the old external device.  This device should be
identified and removed as soon as possible.

Change-Id: Ifd3e6ca009242138bea4a098e3fde258aeaa391e
Closes-Bug: #1298658

10 years agoMerge "BigSwitch: Move attr ref after error check"
Jenkins [Fri, 28 Mar 2014 11:07:06 +0000 (11:07 +0000)]
Merge "BigSwitch: Move attr ref after error check"

10 years agoUT: do not hide an original error in test resource ctxtmgr
Akihiro Motoki [Fri, 21 Mar 2014 23:17:20 +0000 (08:17 +0900)]
UT: do not hide an original error in test resource ctxtmgr

In unit tests, resource contextmanagers such as network(), subnet()
try to delete themselves after returning from yield even if an
exception occurs. However when an exception occurs, there is a case
where deletion fails. In this case original exception will be hidden
and it makes difficult to debug test failures.

Before each test starts, resources like database entries will be
recreated, so there is no need to try to delete resources even
when an exception occurs. This commit removes try-finally clause
from resource contextmanagers to make original errors visible.

Closes-Bug: #1295887
Change-Id: Ia844d2aa2c9fc036e643068c5284f64798963ee3

10 years agoMerge "Big Switch Plugin: No REST port delete on net del"
Jenkins [Fri, 28 Mar 2014 01:02:51 +0000 (01:02 +0000)]
Merge "Big Switch Plugin: No REST port delete on net del"

10 years agoBigSwitch: Move attr ref after error check
Kevin Benton [Fri, 28 Mar 2014 00:20:43 +0000 (17:20 -0700)]
BigSwitch: Move attr ref after error check

Change in Big Switch server manager module:
Moves an attribute reference to a line after
the error check that validates the object is
not None.

Closes-Bug: #1298699
Change-Id: I5f9abf3b456d5066e90c05bc6b3aa5adcecb7943

10 years agoMerge "Prevent cross plugging router ports from other tenants"
Jenkins [Thu, 27 Mar 2014 23:19:56 +0000 (23:19 +0000)]
Merge "Prevent cross plugging router ports from other tenants"

10 years agoMerge "Make dnsmasq aware of all names"
Jenkins [Thu, 27 Mar 2014 21:18:50 +0000 (21:18 +0000)]
Merge "Make dnsmasq aware of all names"

10 years agoFix namespace exist() method
Eugene Nikanorov [Wed, 19 Mar 2014 14:00:35 +0000 (18:00 +0400)]
Fix namespace exist() method

Fix namespace exist() method for it shall not be called with a root.
Also, don't run it under the namespace so garbage_collect_namespace
method can run without rootwrap and not withi a ns.

As a result of fixing namespace listing the patch also fixes the
regression introduced (bug/1294603) to loadbalancer agent respawning
haproxy due to inability to list namespaces properly.

Change-Id: I0dc4d01b0c1c04887ec6ad5766ec7c6c96903faa
Closes-Bug: #1297594
Closes-Bug: #1294603

10 years agoMerge "nec plugin: allow to delete resource with ERROR status"
Jenkins [Thu, 27 Mar 2014 16:54:05 +0000 (16:54 +0000)]
Merge "nec plugin: allow to delete resource with ERROR status"

10 years agoMerge "VPNaaS support for VPN service admin state change and reporting"
Jenkins [Thu, 27 Mar 2014 16:53:48 +0000 (16:53 +0000)]
Merge "VPNaaS support for VPN service admin state change and reporting"

10 years agoMerge "Correct OVS VXLAN version check"
Jenkins [Thu, 27 Mar 2014 16:28:46 +0000 (16:28 +0000)]
Merge "Correct OVS VXLAN version check"

10 years agoMerge "Import request_id middleware bug fix from oslo"
Jenkins [Thu, 27 Mar 2014 16:28:36 +0000 (16:28 +0000)]
Merge "Import request_id middleware bug fix from oslo"

10 years agoMake dnsmasq aware of all names
Yves-Gwenael Bourhis [Mon, 21 Oct 2013 14:14:06 +0000 (16:14 +0200)]
Make dnsmasq aware of all names

Each dnsmasq instance on a network is not aware of other dnsmasq's leases.

When dnsmasq is launched with --no-hosts and is not provided an --addn-hosts
file, it can resolve only the hosts to which it gives a dhcp lease and no more.
i.e.:
If dnsmasq service n°1 gives a lease to instance n°1, and dnsmasq service n°2
gives a lease to instance n°2, both VM instances and dnsmasq services being on
the same network: instance n°1 can not resolve instance n°2, because instance
n°1 queries dnsmasq n°1, and since it did not give the lease to instance n°2,
it can not resolve it (it is not aware of its existence). Same issue if
instance n°2 tries to resolve instance n°1.

The solution is to provide dnsmasq with an --addn-hosts file of all hosts on
the network. With an --addn-hosts file, each dnsmasq instance is aware of all
the hosts on the network even if they do not give the lease for a host,
therefore each dnsmasq instance can resolve any host on their network even if
they did not provide the lease for it themselves.

Change-Id: Ic6d4f7854d250889dded5491e4693fcdce32ed00
Fixes: bug #1242712
10 years agoOpen Juno development
Thierry Carrez [Thu, 27 Mar 2014 15:42:57 +0000 (16:42 +0100)]
Open Juno development

Bump preversion to 2014.2 to formally open Juno development.
The Icehouse release branch (milestone-proposed) will be cut
from the last commit before this one.

Change-Id: I0af1ee46e65149eb19731491242ddc2fdccd7a2e

10 years agoPrevent cross plugging router ports from other tenants
Aaron Rosen [Wed, 26 Mar 2014 23:40:09 +0000 (16:40 -0700)]
Prevent cross plugging router ports from other tenants

Previously, a tenant could plug an interface into another tenant's
router if he knew their router_id by creating a port with the correct
device_id and device_owner. This patch prevents this from occuring
by preventing non-admin users from creating ports with device_owner
network:router_interface with a device_id that matches another tenants router.
In addition, it prevents one from updating a ports device_owner and device_id
so that the device_id won't match another tenants router with device_owner
being network:router_interface.

NOTE: with this change it does open up the possiblity for a tenant to discover
router_id's of another tenant's by guessing them and updating a port till
a conflict occurs. That said, randomly guessing the router id would be hard
and in theory should not matter if exposed. We also need to allow a tenant
to update the device_id on network:router_interface ports as this would be
used for by anyone using a vm as a service router. This issue will be fixed in
another patch upstream as a db migration is required but since this needs
to be backported to all stable branches this is not possible.

NOTE: The only plugins affect by this are the ones that use the l3-agent.

NOTE: **One should perform and audit of the ports that are already
        attached to routers after applying this patch and remove ports
        that a tenant may have cross plugged.**

Change-Id: I8bc6241f537d937e5729072dcc76871bf407cdb3
Closes-bug: #1243327

10 years agoMerge "LBaaS: make device driver decide whether to deploy instance"
Jenkins [Thu, 27 Mar 2014 11:33:25 +0000 (11:33 +0000)]
Merge "LBaaS: make device driver decide whether to deploy instance"

10 years agoAdds OVS_HYBRID_PLUG flag to portbindings
Kevin Benton [Thu, 27 Mar 2014 02:40:12 +0000 (02:40 +0000)]
Adds OVS_HYBRID_PLUG flag to portbindings

Adds a flag to the ML2, openvswitch, and BigSwitch
plugins to inform nova that the OVS hybrid plugging
strategy should be used.

Closes-Bug: #1112912
Change-Id: If004db60e084f4cea095ca9ecccb0537240d4183

10 years agoDisable XML tests on Py26
Mark McClain [Thu, 20 Mar 2014 17:49:13 +0000 (13:49 -0400)]
Disable XML tests on Py26

Unit testing on Py26 takes too long to run.  The code paths are the
same, so we'll temporarily skip tests is the class contains XML
formating since duplicate full stack JSON tests are run.

Change-Id: Ie8eddfe0b6af39f32380ce532e0c26acc0a6596d
Related-Bug: 1295281

10 years agoSubnets should be set as lazy='join'
Aaron Rosen [Wed, 26 Mar 2014 20:52:05 +0000 (13:52 -0700)]
Subnets should be set as lazy='join'

Currently if one does a net-list tons of queries are issued against the
database as the default query mode is 'select' which performs a query when
the field is actually accessed. In this patch I change the the mode to
'joined' so subnets are loaded as the networks are loaded. Usually, there
are only 1 or 2 subnets on a network so loading this data shouldn't hurt.
This patch in my setup with 5000 networks reduces the net-list call from 27
seconds to 7! Woot Woot :)

Change-Id: I10eec4d79b522dfd685d3d2aa93a8d643104bba7
Closes-bug: 1298053

10 years agonec plugin: allow to delete resource with ERROR status
Akihiro Motoki [Sat, 15 Mar 2014 15:16:23 +0000 (00:16 +0900)]
nec plugin: allow to delete resource with ERROR status

Previously if a resource is in ERROR status and there is no
corresponding resource on OpenFlow controller, the resource
cannot be deleted through an API request.
This commit rearrange ERROR status check to allow resource
with ERROR status to be deleted.

Closes-Bug: #1295754
Change-Id: I709f5e2066eb5d12ec0f42dff15797acddc2009e

10 years agoSynced rpc and gettextutils modules from oslo-incubator
Ihar Hrachyshka [Mon, 17 Mar 2014 13:18:28 +0000 (14:18 +0100)]
Synced rpc and gettextutils modules from oslo-incubator

The main reason for sync is to get the following oslo-rpc fixes in Neutron:
* I537015f452eb770acba41fdedfe221628f52a920 (reduces delays when reconnecting
  to Qpid in HA deployments)
* Ia148baa6e1ec632789ac3621c85173c2c16f3918 (fixed HA failover, Qpid part)
* I67923cb024bbd143edc8edccf35b9b400df31eb3 (fixed HA failover, RabbitMQ part)

Latest oslo-incubator commit at the moment of sync:
2eab986ef3c43f8d1e25065e3cbc1307860c25c7

Change-Id: I2f5bb0d195e050f755ecdbf06a6bbed587a04fbe
Closes-Bug: 1281148
Closes-Bug: 1261631

10 years agoImport request_id middleware bug fix from oslo
Akihiro Motoki [Wed, 26 Mar 2014 14:28:49 +0000 (23:28 +0900)]
Import request_id middleware bug fix from oslo

There is a bug in request-id middleware that a subsequent API request will
overwrite a request-id of a previous request when multiple API calls are
processed in parallel in request_id middleware.
This commit imports the fix in oslo.

cherry-picked from oslo-incubator d7bd9dc37ac3d6bc171cd2e290c772633ad20a32
Closes-Bug: #1289696
----
Don't store the request ID value in middleware as class variable

The original version of the request_id middleware generates a request ID during
process_request() and stores the value in a variable, so it can be attached as
header in process_request(). This is pretty dangerous, since subsequent
requests will overwrite this value, and the wrong request ID may be attached to
some responses. This is particularly apparent when requests arrive in parallel.

This change replaces process_request() and process_response() with an override
of __call__(). This allows the generated req_id to be used in the response
header without needing to save it as a class-level variable.
----

Change-Id: Ic20047f604394f1ce4900c3b6a00595223804cba

10 years agoAdd unit test for add_vxlan in test_linux_ip_lib
Sphoorti Joglekar [Fri, 14 Mar 2014 12:52:43 +0000 (18:22 +0530)]
Add unit test for add_vxlan in test_linux_ip_lib

This patch adds unit tests for the add_vxlan function in the test_linux_ip_lib.py
file.

Fixes bug: 1291974

Change-Id: I0238bedab7a3566aff1115a091ada494a01d2e02

10 years agoMigrate data from cap_port_filter to vif_details
Jakub Libosvar [Wed, 26 Mar 2014 08:42:21 +0000 (09:42 +0100)]
Migrate data from cap_port_filter to vif_details

There was introduced a new column vif_details for ml2_port_binding table
and dropped cap_port_filter column. Data was lost during the migration
causing no data in vif_details.

This patch transforms data from cap_port_filter to vif_details column as
a part of db migration. MigrationContext.execute() calls underlaying
methods depending whether migration is online or offline therefore data
are migrated in offline migration too.

Partial-bug: #1235149
Change-Id: Icc5dc6e8221a542f5190d0222ac4d10197d15ac1

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

Change-Id: Ie0d4dc7afb8cb4f73f12ce2115d4c18f83df33c6

10 years agoMerge "Replace a usage of the deprecated root_helper option"
Jenkins [Tue, 25 Mar 2014 23:02:11 +0000 (23:02 +0000)]
Merge "Replace a usage of the deprecated root_helper option"

10 years agoInclude cisco plugin in migration plugins with ovs
Hareesh Puthalath [Thu, 13 Mar 2014 21:06:23 +0000 (22:06 +0100)]
Include cisco plugin in migration plugins with ovs

Currently we have many migration files with missing cisco
plugin in migrate_plugin when ovs is included.This
causes missing tables when cisco plugin is enabled
and migration is run. This fix should automatically
include the cisco plugin if ovs is detected in the
migrate_plugins.

Change-Id: I4dedfbafe9b431e85255d5427766e22eed09ee5e
Closes-Bug: #1292114

10 years agoMerge "ML2 Cisco Nexus MD: Remove workaround for bug 1276395"
Jenkins [Tue, 25 Mar 2014 20:03:31 +0000 (20:03 +0000)]
Merge "ML2 Cisco Nexus MD: Remove workaround for bug 1276395"

10 years agoMerge "Add enable_security_group to BigSwitch and OneConvergence ini files"
Jenkins [Tue, 25 Mar 2014 20:03:21 +0000 (20:03 +0000)]
Merge "Add enable_security_group to BigSwitch and OneConvergence ini files"

10 years agoML2 Cisco Nexus MD: Remove workaround for bug 1276395
Rich Curran [Tue, 25 Mar 2014 14:56:46 +0000 (10:56 -0400)]
ML2 Cisco Nexus MD: Remove workaround for bug 1276395

Before bug 1276395 was merged the delete_port_postcommit() mechanism
drivers did not have access to the bound_segment information that was
in the process of being deleted.
Code was added to the cisco_nexus md to workaround this issue.
This code can now be removed.

Change-Id: If47ef1958bf4de863995b9cfc042abf5bc849e24
Closes-Bug: 1297321

10 years agoReplace a usage of the deprecated root_helper option
Cedric Brandily [Mon, 24 Mar 2014 22:03:15 +0000 (23:03 +0100)]
Replace a usage of the deprecated root_helper option

This change replaces a usage of the deprecated root_helper option
by the usage of get_root_helper result.

Change-Id: Icfc698243784557cbf987a817c13d0b80969e5d3
Closes-Bug: #1297145

10 years agoMerge "Add script to migrate ovs or lb db to ml2 db"
Jenkins [Mon, 24 Mar 2014 23:05:21 +0000 (23:05 +0000)]
Merge "Add script to migrate ovs or lb db to ml2 db"

10 years agoMerge "Add nec plugin to allowed address pairs migration"
Jenkins [Mon, 24 Mar 2014 19:10:29 +0000 (19:10 +0000)]
Merge "Add nec plugin to allowed address pairs migration"

10 years agoMerge "NEC plugin: Rename quantum_id column to neutron_id"
Jenkins [Mon, 24 Mar 2014 18:53:53 +0000 (18:53 +0000)]
Merge "NEC plugin: Rename quantum_id column to neutron_id"

10 years agoAdd script to migrate ovs or lb db to ml2 db
Maru Newby [Wed, 26 Feb 2014 13:09:42 +0000 (13:09 +0000)]
Add script to migrate ovs or lb db to ml2 db

This script migrates an ovs or lb database to work with ml2.
The script's docstring provides details as to how it is intended to
work.

I've tested this manually on a trivial deployment, and would like
to add support for testing the migration with grenade.  However,
that will have to wait until grenade support for neutron has
merged.

DocImpact

Implements: blueprint ml2-deprecated-plugin-migration

Change-Id: I1eb908c866e19f72e61f687d56a0bc391cdb4760

10 years agoMerge "Remove extra space in help string"
Jenkins [Mon, 24 Mar 2014 17:14:48 +0000 (17:14 +0000)]
Merge "Remove extra space in help string"

10 years agoCorrect OVS VXLAN version check
Kyle Mestery [Mon, 24 Mar 2014 03:31:30 +0000 (03:31 +0000)]
Correct OVS VXLAN version check

Update the version checking logic used to determine if the combination of
Linux kernel, OVS userspace, and OVS kernel module can properly support
VXLAN.

Tested on Ubuntu 14.04 without the OVS DKMS module.

Closes-Bug: #1291535

Change-Id: If034164b775989d52c3c449caba6baadb970afd9

10 years agoLBaaS: make device driver decide whether to deploy instance
Oleg Bondarev [Mon, 24 Mar 2014 12:58:55 +0000 (16:58 +0400)]
LBaaS: make device driver decide whether to deploy instance

Currently server throws an error in case agent (device driver)
requests logical config for non-active pool, which is a bug
as it's ok if pool is in pending create/update states.
Also the pool may be already scheduled for delete (pending_delete)
while agent requests it to perform some previous update, which
as also ok and agent just doesn't deploy such config.

This patch moves active pool check from server side to agent side

Closes-Bug: #1295491
Change-Id: Ib088355a0b3efffdcd211a8cfe6942833bb9f895

10 years agoMerge "Log dnsmasq host file generation"
Jenkins [Mon, 24 Mar 2014 14:49:54 +0000 (14:49 +0000)]
Merge "Log dnsmasq host file generation"

10 years agoMerge "Return meaningful error message on pool creation error"
Jenkins [Mon, 24 Mar 2014 10:25:03 +0000 (10:25 +0000)]
Merge "Return meaningful error message on pool creation error"

10 years agoNSX plugin: return 400 for invalid gw certificate
Salvatore Orlando [Sat, 15 Mar 2014 00:43:42 +0000 (17:43 -0700)]
NSX plugin: return 400 for invalid gw certificate

Gateway certificates are validated by the NSX backend.
The code currently treats a failure in certification
validation as a backend failure and therefore returns
a 500 status code.

This patch changes this behaviour by returning a 400
status code and an appropriate error description.
To this aim a handler for 400 errors has been added to
the NSX API client.

Closes-Bug: #1293508

Change-Id: I196f14337e47cd40710a6d8a30bbe1cac5ffe05b

10 years agoMerge "ML2 Cisco Nexus MD: VM migration support"
Jenkins [Mon, 24 Mar 2014 07:36:58 +0000 (07:36 +0000)]
Merge "ML2 Cisco Nexus MD: VM migration support"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 23 Mar 2014 06:29:48 +0000 (06:29 +0000)]
Imported Translations from Transifex

Change-Id: I57165f5a6cdba143c130c97d15f492a0a925fca4

10 years agoMerge "Remove unnecessary call to get_dhcp_port from DeviceManager"
Jenkins [Sun, 23 Mar 2014 00:34:44 +0000 (00:34 +0000)]
Merge "Remove unnecessary call to get_dhcp_port from DeviceManager"

10 years agoMerge "rename ACTIVE_PENDING to ACTIVE_PENDING_STATUSES"
Jenkins [Sun, 23 Mar 2014 00:26:06 +0000 (00:26 +0000)]
Merge "rename ACTIVE_PENDING to ACTIVE_PENDING_STATUSES"

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

10 years agoRemove extra space in help string
Gauvain Pocentek [Fri, 21 Mar 2014 14:23:49 +0000 (15:23 +0100)]
Remove extra space in help string

Extra spaces make the openstack-manuals tests fail with a niceness
error. This patch removes an extra space at the end of a help string.

Change-Id: I29bab90ea5a6f648c4539c7cd20cd9b2b63055c2

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Sat, 22 Mar 2014 10:32:47 +0000 (10:32 +0000)]
Merge "Updated from global requirements"

10 years agoAdd enable_security_group to BigSwitch and OneConvergence ini files
Akihiro Motoki [Sat, 22 Mar 2014 10:13:10 +0000 (19:13 +0900)]
Add enable_security_group to BigSwitch and OneConvergence ini files

It is a follow up patch for https://review.openstack.org/#/c/67281/.

Change-Id: I38463b3879ab2d7469a85ef00426b2b602fa825a
Closes-Bug: #1296000

10 years agoAdd nec plugin to allowed address pairs migration
Akihiro Motoki [Sat, 22 Mar 2014 10:07:08 +0000 (19:07 +0900)]
Add nec plugin to allowed address pairs migration

Change-Id: I2a6488482abacf87fc27fb3211041d81a4c1c047
Closes-Bug: #1295999

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 22 Mar 2014 06:30:25 +0000 (06:30 +0000)]
Imported Translations from Transifex

Change-Id: Ic115e0e1dfa03f2b75348699eaee2727e35f3cf9

10 years agoMerge "Fix bug:range() is not same in py3.x and py2.x"
Jenkins [Sat, 22 Mar 2014 05:22:24 +0000 (05:22 +0000)]
Merge "Fix bug:range() is not same in py3.x and py2.x"

10 years agoMerge "Cisco Nexus: maximum recursion error in ConnectionContext.__del__"
Jenkins [Sat, 22 Mar 2014 03:55:54 +0000 (03:55 +0000)]
Merge "Cisco Nexus: maximum recursion error in ConnectionContext.__del__"

10 years agoMerge "Fix typo in lbaas agent exception message"
Jenkins [Sat, 22 Mar 2014 03:50:26 +0000 (03:50 +0000)]
Merge "Fix typo in lbaas agent exception message"

10 years agoFix segment allocation tables in Cisco N1kv plugin
Abhishek Raut [Thu, 6 Mar 2014 03:02:40 +0000 (19:02 -0800)]
Fix segment allocation tables in Cisco N1kv plugin

The segment allocation table is emptied on deleting any network profile.
This change allows the use of segment range from the network profile table.
By using the network profile UUID as a foreign key in the segment allocations table,
tables are cleaned up only for the segments associated with
the deleted network profile via CASCADE, leaving no inconsistencies.

Change-Id: I507041fac3768a7b688ddcf28c4d97c618bfe3f9
Closes-Bug: #1288407

10 years agoMerge "Added config value help text in ns metadata proxy"
Jenkins [Sat, 22 Mar 2014 02:30:02 +0000 (02:30 +0000)]
Merge "Added config value help text in ns metadata proxy"

10 years agoMerge "Fix duplicate name of NVP LBaaS objs not allowed on vShield Edge"
Jenkins [Sat, 22 Mar 2014 02:24:20 +0000 (02:24 +0000)]
Merge "Fix duplicate name of NVP LBaaS objs not allowed on vShield Edge"

10 years agoMerge "Add enable_security_group option"
Jenkins [Sat, 22 Mar 2014 02:15:52 +0000 (02:15 +0000)]
Merge "Add enable_security_group option"

10 years agoMerge "Avoid creating FixedIntervalLoopingCall in agent UT"
Jenkins [Sat, 22 Mar 2014 02:15:42 +0000 (02:15 +0000)]
Merge "Avoid creating FixedIntervalLoopingCall in agent UT"

10 years agoMerge "NSX: lower the severity of messages about VIF's on external networks"
Jenkins [Sat, 22 Mar 2014 02:15:31 +0000 (02:15 +0000)]
Merge "NSX: lower the severity of messages about VIF's on external networks"

10 years agoMerge "NEC plugin: Allow to add prefix to OFC REST URL"
Jenkins [Sat, 22 Mar 2014 02:09:12 +0000 (02:09 +0000)]
Merge "NEC plugin: Allow to add prefix to OFC REST URL"