]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoEnable hacking H301 check
Matthew Treinish [Mon, 31 Mar 2014 21:17:44 +0000 (17:17 -0400)]
Enable hacking H301 check

This commit enables the H301 hacking rule by removing all the
multiple imports in a single line from neutron.

Partial-Bug: #1291032

Change-Id: I7ba7f82fb36a433d73190eb3d568b6961ccb57c6

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 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 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 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 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 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 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"

10 years agoMerge "NEC plugin: Remove a colon from binding:profile key due to XML problem"
Jenkins [Sat, 22 Mar 2014 02:04:21 +0000 (02:04 +0000)]
Merge "NEC plugin: Remove a colon from binding:profile key due to XML problem"

10 years agoMerge "Log received pool.status"
Jenkins [Sat, 22 Mar 2014 02:04:00 +0000 (02:04 +0000)]
Merge "Log received pool.status"

10 years agoMerge "Use save_and_reraise_exception when reraise exception"
Jenkins [Sat, 22 Mar 2014 02:03:49 +0000 (02:03 +0000)]
Merge "Use save_and_reraise_exception when reraise exception"

10 years agoUpdated from global requirements
OpenStack Jenkins [Fri, 21 Mar 2014 22:28:55 +0000 (22:28 +0000)]
Updated from global requirements

Change-Id: I211336108a37b6396c2b82ee2469873b8a569755

10 years agoNEC plugin: Rename quantum_id column to neutron_id
Akihiro Motoki [Thu, 6 Mar 2014 20:22:16 +0000 (05:22 +0900)]
NEC plugin: Rename quantum_id column to neutron_id

ID mapping tables in NEC plugin had columns named quantum_id.
This commit renames them to neutron following project renaming.

Closes-Bug: #1287432
Change-Id: I0669defba7189d5b8259365d88d67db51a28c764

10 years agoLog received pool.status
Aaron Rosen [Fri, 21 Mar 2014 04:13:48 +0000 (21:13 -0700)]
Log received pool.status

This patch adds a log statement so we can figure out what status the
lbaas-agent is passing in. This way we can figure out what to prevent.

Change-Id: I1a0f809140127ccb9596d83c97add03a853991a3
Closes-bug: #1295491

10 years agoNEC plugin: Allow to add prefix to OFC REST URL
Akihiro Motoki [Wed, 19 Mar 2014 16:36:13 +0000 (01:36 +0900)]
NEC plugin: Allow to add prefix to OFC REST URL

Closes-Bug: #1295802
Change-Id: Ieaa3bb7c601fad98506168de1f8ac191849c6569

10 years agoNEC plugin: Remove a colon from binding:profile key due to XML problem
Akihiro Motoki [Fri, 21 Mar 2014 19:17:14 +0000 (04:17 +0900)]
NEC plugin: Remove a colon from binding:profile key due to XML problem

In XML specification, if a tag name contains a colon, a part before
a colon is interpreted as namespace. If key names in binding:profile
dict contains a colon, Neutron XML serializer sends them as-is.
A colon in key names should be used only if XML namespace are used.
NEC plugin uses a colon in key names and it leads to failures to XML
deserialization. To avoid this problem, this commit removes a colon
and prefix n key names in port binding:profile so that client XML
deserializer decodes XML response successfully.

Change-Id: Ie32a2417bbce03bfc6e8f7907c0b4090fbc9e7b6
Closes-Bug: #1294166

10 years agoMerge "Don't set priority when calling mod_flow"
Jenkins [Fri, 21 Mar 2014 19:33:52 +0000 (19:33 +0000)]
Merge "Don't set priority when calling mod_flow"

10 years agoMerge "Add missing ondelete option to Cisco N1kv tables"
Jenkins [Fri, 21 Mar 2014 19:27:07 +0000 (19:27 +0000)]
Merge "Add missing ondelete option to Cisco N1kv tables"

10 years agoMerge "NSX: Make replication mode configurable"
Jenkins [Fri, 21 Mar 2014 18:52:20 +0000 (18:52 +0000)]
Merge "NSX: Make replication mode configurable"

10 years agorename ACTIVE_PENDING to ACTIVE_PENDING_STATUSES
Aaron Rosen [Fri, 21 Mar 2014 18:23:05 +0000 (11:23 -0700)]
rename ACTIVE_PENDING to ACTIVE_PENDING_STATUSES

Looking at the lbaas code it's not very obvious that constants.ACTIVE_PENDING
is a list of statuses that contain statuses that are ACTIVE or
PENDING. This patch renames ACTIVE_PENDING to ACTIVE_PENDING_STATUSES so
it's obvious that this is a list and not just a string called ACTIVE_PENDING.

Closes-bug: #1295790

Change-Id: I7af96bcc6b145c6ab809c0b032ccb18baad9c98e

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 21 Mar 2014 16:34:50 +0000 (16:34 +0000)]
Merge "Imported Translations from Transifex"

10 years agoVPNaaS support for VPN service admin state change and reporting
Paul Michali [Fri, 14 Mar 2014 15:21:03 +0000 (15:21 +0000)]
VPNaaS support for VPN service admin state change and reporting

For VPN service admin state changes, hook up the API call to the service
driver so that the configuration changes can be applied.

Modify the status reporting, so that the VPN service and IPSec
connection status' match the actual status when admin state down
actions are performed (on both the service and connection).

Change-Id: Ife7176675d20bb3ea529a4d79fa92a61f9550a6a
Closes-Bug: 1291609

10 years agoMerge "Fixes Hyper-V agent security groups enable issue"
Jenkins [Fri, 21 Mar 2014 13:01:33 +0000 (13:01 +0000)]
Merge "Fixes Hyper-V agent security groups enable issue"

10 years agoMerge "cisco: Do not change supported_extension_aliases directly"
Jenkins [Fri, 21 Mar 2014 12:35:00 +0000 (12:35 +0000)]
Merge "cisco: Do not change supported_extension_aliases directly"

10 years agoUse save_and_reraise_exception when reraise exception
Akihiro Motoki [Wed, 12 Feb 2014 14:25:14 +0000 (23:25 +0900)]
Use save_and_reraise_exception when reraise exception

This fixes reraise in pluign codes.

Closes-Bug: #1279813
Change-Id: Iee174d94c0ce69eb01eb86eea1a903eceb7569d5

10 years agoReturn meaningful error message on pool creation error
Eugene Nikanorov [Thu, 20 Mar 2014 14:43:18 +0000 (18:43 +0400)]
Return meaningful error message on pool creation error

Instead of returning exception specific to haproxy (agent-based),
return more generic BackendNotFound exception.
It also could be used later when binding to devices will be
introduced. That exception will indicate scheduling failure, e.g.
inability to find appropriate backend for the resource.
Resource (pool) is then marked with ERROR state with corresponding
error description.

Change-Id: Ic18ff20102b4bb2b97e7b186fcf797133bd3ba3d
Closes-Bug: #1295214

10 years agoDon't set priority when calling mod_flow
Kyle Mestery [Fri, 21 Mar 2014 09:41:31 +0000 (09:41 +0000)]
Don't set priority when calling mod_flow

This commit [1] changed the behavior of modifying flows to not allow priority
to be set on flow modification. The agent code which was calling mod_flow was
not updated to respect this behavior. The unit tests were also not updated in
this regard. I've corrected this behavior now, and added a negative UT case to
catch this in the future.

[1] https://review.openstack.org/#/c/58533/

Closes-Bug: #1295703

Change-Id: I20737637cc84567a5ec19efaad18e7f334007f18

10 years agoMerge "Get rid of additional db contention on fetching VIP"
Jenkins [Fri, 21 Mar 2014 09:29:15 +0000 (09:29 +0000)]
Merge "Get rid of additional db contention on fetching VIP"

10 years agoMerge "Delete duplicate internal devices in router namespace"
Jenkins [Fri, 21 Mar 2014 08:21:23 +0000 (08:21 +0000)]
Merge "Delete duplicate internal devices in router namespace"

10 years agoMerge "Fix usage of save_and_reraise_exception"
Jenkins [Fri, 21 Mar 2014 08:21:14 +0000 (08:21 +0000)]
Merge "Fix usage of save_and_reraise_exception"

10 years agoMerge "Sync excutils from oslo"
Jenkins [Fri, 21 Mar 2014 08:19:14 +0000 (08:19 +0000)]
Merge "Sync excutils from oslo"

10 years agoMerge "Cisco VPN device driver post-merge cleanup"
Jenkins [Fri, 21 Mar 2014 08:16:16 +0000 (08:16 +0000)]
Merge "Cisco VPN device driver post-merge cleanup"

10 years agoAvoid creating FixedIntervalLoopingCall in agent UT
Eugene Nikanorov [Tue, 11 Mar 2014 12:04:49 +0000 (16:04 +0400)]
Avoid creating FixedIntervalLoopingCall in agent UT

Set polling_interval to 0 to avoid creating LoopingCall
in loadbalancer agent tests, dhcp agent tests, linuxbridge agent tests

Change-Id: Ib6edbc11feba402a4c2f19b7d6833b49879ee626
Closes-Bug: #1288079

10 years agoMerge "Fixes the Hyper-V agent individual ports metrics"
Jenkins [Fri, 21 Mar 2014 07:03:31 +0000 (07:03 +0000)]
Merge "Fixes the Hyper-V agent individual ports metrics"