]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoEnable automatic validation of many HACKING rules.
Maru Newby [Fri, 5 Apr 2013 23:08:40 +0000 (23:08 +0000)]
Enable automatic validation of many HACKING rules.

 * Add hacking to the tox build - a set of flake8 plugins that
   perform automatic validation of many HACKING.rst rules.
 * This patch configures hacking in the tox build and performs
   the mechanical cleanup required to allow the checks to pass.
 * See https://pypi.python.org/pypi/hacking

Change-Id: Ie9b3eb5627a9b6dd181f79225abae422e6cf3777

11 years agoShorten the path of the nicira nvp plugin.
Maru Newby [Fri, 5 Apr 2013 16:59:58 +0000 (16:59 +0000)]
Shorten the path of the nicira nvp plugin.

 * s+[/.]nicira_nvp_plugin++
 * Backwards compatibility is maintained by importing the
   nicira package as nicira_nvp_plugin in the plugins package.
 * It may be necessary to remove stale .pyc/.pyo files under the
   nicira path after applying this patch.
 * DocImpact
 * Addresses bug 1166307

Change-Id: I241a2a75106398506b01bcb7a6ddbaafa1b7bd30

11 years agoMerge "Switch to flake8 from pep8."
Jenkins [Fri, 5 Apr 2013 01:44:53 +0000 (01:44 +0000)]
Merge "Switch to flake8 from pep8."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 5 Apr 2013 00:06:32 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ie9108ffeaa267ad932105b0e6d1f770f35896d17

11 years agoMerge "Add expected IDs to router.interface.* notifications"
Jenkins [Thu, 4 Apr 2013 20:08:57 +0000 (20:08 +0000)]
Merge "Add expected IDs to router.interface.* notifications"

11 years agoAdd expected IDs to router.interface.* notifications
Eoghan Glynn [Tue, 26 Mar 2013 16:27:05 +0000 (16:27 +0000)]
Add expected IDs to router.interface.* notifications

Fixes bug 1160431

The router.interface.{create|delete} notifications are intended to be
consumed by ceilometer, but did not include the router or tenant IDs
in the RPC message payload. Ceilometer requires both these data for
metering purposes.

The missing UUIDs are now provided in the notifications.

Change-Id: I1ca6e1d5377100a0549293e0bdff0182711c750f

11 years agoSwitch to flake8 from pep8.
Maru Newby [Thu, 4 Apr 2013 04:10:23 +0000 (04:10 +0000)]
Switch to flake8 from pep8.

 * flake8 supports more checks than pep8 (e.g. detection of
   unused imports and variables), and has an extension mechanism.
   A plugin to support automatic HACKING validation is planned.
 * See: http://flake8.readthedocs.org/

Change-Id: I8c9314c606802109a4d01908dbc74ecb792ad0ac

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 4 Apr 2013 00:06:11 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I664f6de7988fc4987601df5a693347b131544e2f

11 years agoRevert "Use wrappers instead of direct calls to ip route."
Aaron Rosen [Wed, 3 Apr 2013 22:13:20 +0000 (15:13 -0700)]
Revert "Use wrappers instead of direct calls to ip route."

This commit somehow broken floating ips with the l3 agent so we should revert
it till we figure out why.

This reverts commit f80f06a71de6e235c71e0333448cf59e44745c45.

Change-Id: Ic93eec0d95ad20baf53cc97476fcdff1b308ae91

11 years agoAdd missing security group quota settings to quantum.conf
Aaron Rosen [Wed, 3 Apr 2013 21:15:24 +0000 (14:15 -0700)]
Add missing security group quota settings to quantum.conf

Fixes bug 1164154

Change-Id: I32d1952fcc11559cc01c0dbde11de558b2a0b1fb

11 years agoMerge "Use wrappers instead of direct calls to ip route."
Jenkins [Wed, 3 Apr 2013 16:50:19 +0000 (16:50 +0000)]
Merge "Use wrappers instead of direct calls to ip route."

11 years agoUse wrappers instead of direct calls to ip route.
Roman Podolyaka [Wed, 20 Mar 2013 16:50:50 +0000 (18:50 +0200)]
Use wrappers instead of direct calls to ip route.

 - extract the logic of ip route wrapper into a separate
   class to drop dependency on a specific network device
 - add route wrapper to IPWrapper class
 - use IPWrapper instead of direct calls to ip route in l3 agent
 - update tests

Fixes bug 1133133.

Change-Id: Ic7174b0676d1a565909bb5f6f950376cf8fae8d2

11 years agoMerge "Add RabbitMQ and QPID HA support flags to quantum.conf"
Jenkins [Wed, 3 Apr 2013 07:25:11 +0000 (07:25 +0000)]
Merge "Add RabbitMQ and QPID HA support flags to quantum.conf"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 3 Apr 2013 00:06:55 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I8b0c8543dc7c88f017814ba1401512aabe418964

11 years agoMerge "Fix lb-vip does not get route to default gw"
Jenkins [Tue, 2 Apr 2013 19:42:54 +0000 (19:42 +0000)]
Merge "Fix lb-vip does not get route to default gw"

11 years agoAdd RabbitMQ and QPID HA support flags to quantum.conf
EmilienM [Tue, 26 Mar 2013 13:43:12 +0000 (14:43 +0100)]
Add RabbitMQ and QPID HA support flags to quantum.conf

Since Quantum supports HA queues with RabbitMQ (https://review.openstack.org/#/c/13760/),
quantum.conf should provide new flags for explain how to configure multiple RabbitMQ servers and enable HA.

New flags :
rabbit_hosts=$rabbit_host:$rabbit_port
rabbit_ha_queues=false
qpid_hosts = localhost:5672

Fix Bug #1160369

Change-Id: I35903b1b7b66fde8d70ac7e8076e0def2a1f2d04

11 years agoblueprint cisco-single-config
Rich Curran [Tue, 5 Feb 2013 20:55:28 +0000 (15:55 -0500)]
blueprint cisco-single-config

Scope: Unification of all the various plugin files for the Cisco plugin into a single file.

Use Cases: Quantum with the Cisco plugin.

Implementation Overview: All the config values contained in the various files in
etc/quantum/plugins/cisco will be unified into a single file
etc/quantum/plugins/cisco/cisco_plugin.ini. The plugins needs to be modified to
read from a single file instead of multiple.
Added quantum.openstack.common.cfg support.

Change-Id: I9ef356eccfe330c3733f441b96400d03c3d7d1df

11 years agoFix unit tests for RHEL
Gary Kotton [Tue, 2 Apr 2013 15:52:37 +0000 (15:52 +0000)]
Fix unit tests for RHEL

Fixes bug 1158609
Fixes bug 1158612

Change-Id: I5ee6214a935cfa663c96b1ba6893f265890c4202

11 years agoMerge "Return unicode for object in json and xml serializer"
Jenkins [Tue, 2 Apr 2013 15:50:19 +0000 (15:50 +0000)]
Merge "Return unicode for object in json and xml serializer"

11 years agoUpdate Ryu plugin README
Yoshihiro Kaneko [Tue, 2 Apr 2013 08:51:44 +0000 (17:51 +0900)]
Update Ryu plugin README

Fixes bug #1163181

Update Ryu plugin README file to refer to the new URL that describe
how to configure the plugin.

Change-Id: I84486f022bddd28a534e971e1132c70f10ad7c04

11 years agoMerge "Enable authZ checks for member actions"
Jenkins [Tue, 2 Apr 2013 07:14:06 +0000 (07:14 +0000)]
Merge "Enable authZ checks for member actions"

11 years agoFix lb-vip does not get route to default gw
Aaron Rosen [Mon, 1 Apr 2013 22:26:12 +0000 (15:26 -0700)]
Fix lb-vip does not get route to default gw

Previously when creating a lb-vip it would be created without
a default gw. This patch fixes that and adds unit tests to check
that route add is called if the subnet has a gateway_ip.

Fixes bug 1162626

Change-Id: I155749fa6d9c843fca87a73f3cf85720aac26cfa

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 2 Apr 2013 00:06:16 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I7db9bfb2a9fee9b03d396f5dac4cf4b13a18a51c

11 years agoMerge "Fix for Cisco plugin physical device config error"
Jenkins [Mon, 1 Apr 2013 11:42:46 +0000 (11:42 +0000)]
Merge "Fix for Cisco plugin physical device config error"

11 years agoMerge "Prevents a portinfo deletion in vm migration with NEC plugin."
Jenkins [Mon, 1 Apr 2013 10:31:18 +0000 (10:31 +0000)]
Merge "Prevents a portinfo deletion in vm migration with NEC plugin."

11 years agoReturn unicode for object in json and xml serializer
He Jie Xu [Tue, 26 Mar 2013 23:42:20 +0000 (07:42 +0800)]
Return unicode for object in json and xml serializer

Fix bug 1160644
Fix bug 1119790

When try to serialize an exception object as json, it failed
with 'ValueError: Circular reference detected' that is same error
as bug 119790. So this patch fixes bug 119790 too.

Change-Id: I0da2616f4ec59da31be054b8be2f7a140f59d63a

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 1 Apr 2013 00:06:20 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Iafc49bb95a4eb8cf5a0afebfb8c4ab5de68ff46f

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 31 Mar 2013 19:30:53 +0000 (19:30 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Pass metadata port to metadata proxy"
Jenkins [Sun, 31 Mar 2013 11:53:11 +0000 (11:53 +0000)]
Merge "Pass metadata port to metadata proxy"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 31 Mar 2013 00:03:58 +0000 (00:03 +0000)]
Imported Translations from Transifex

Change-Id: I2a97391674edce23e5c98dceae8c7cc6a2bbe5d0

11 years agoPass metadata port to metadata proxy
mouad benchchaoui [Sat, 30 Mar 2013 10:56:44 +0000 (11:56 +0100)]
Pass metadata port to metadata proxy

Make the l3 agent pass the port used by the metadata service to the router namespace proxy when
creating it and add also new tests for this.

Fixes LP# 1160955
Change-Id: Iec8a5238345b26e70b0aa1dc96a896e26af34722

11 years agoEnable authZ checks for member actions
Salvatore Orlando [Tue, 19 Mar 2013 18:54:58 +0000 (19:54 +0100)]
Enable authZ checks for member actions

Blueprint make-authz-orthogonal

This implements work item #1 of the blueprint.
This patch enables authZ checks for 'member actions' in the base
controller and removes explicit checks from l3_db.
This patch also addresses a small glitch in the policy engine which
was assuming the request always had a body.

Change-Id: I7e0f386eedcfff24ea1fee7294bbadd6c5ec781c

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 30 Mar 2013 00:06:12 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I483efcd9ae8a7e6950a036693462a20216360567

11 years agoFix for Cisco plugin physical device config error
Arvind Somya [Fri, 29 Mar 2013 17:06:17 +0000 (13:06 -0400)]
Fix for Cisco plugin physical device config error

This patch fixes a bug with the Cisco plugin where subsequent vlan id's
would overwrite the existing trunking config on a switch interface.

Change-Id: I5e97c00062f687838e60e5dc9470f4a62289676b
Fixes: Bug #1161946
11 years agoPrevents a portinfo deletion in vm migration with NEC plugin.
Ryota MIBU [Thu, 28 Mar 2013 06:38:13 +0000 (15:38 +0900)]
Prevents a portinfo deletion in vm migration with NEC plugin.

Fixes: Bug 1160193
This patch prevents a portinfo deletion at the end of the migration sequence
by ignoring port_removed message from the source host.

Change-Id: I96932587b9d660aa01f8fcae0b0426c849d6c483

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 29 Mar 2013 06:14:20 +0000 (06:14 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Add lbaas_agent files to setup.py"
Jenkins [Fri, 29 Mar 2013 06:11:54 +0000 (06:11 +0000)]
Merge "Add lbaas_agent files to setup.py"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 29 Mar 2013 00:06:20 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I6cab2a9e472620a01a5e1ca13f9a88abcb316a52

11 years agoAdd lbaas_agent files to setup.py
Terry Wilson [Thu, 28 Mar 2013 19:33:00 +0000 (14:33 -0500)]
Add lbaas_agent files to setup.py

Fixes bug 1161572
Change-Id: I2399c6621cabe9ef89a0a1805b7c3a6b1d89ed5b

11 years agoMerge "Add VIRTUAL_ENV key to enviroment passed to patch_tox_env"
Jenkins [Thu, 28 Mar 2013 23:47:59 +0000 (23:47 +0000)]
Merge "Add VIRTUAL_ENV key to enviroment passed to patch_tox_env"

11 years agoAdd VIRTUAL_ENV key to enviroment passed to patch_tox_env
Salvatore Orlando [Thu, 28 Mar 2013 14:17:21 +0000 (15:17 +0100)]
Add VIRTUAL_ENV key to enviroment passed to patch_tox_env

Bug 1161413

Change-Id: I873d90c148c2adf15319faeb6290743eda2d52aa

11 years agoSupport for SSL in wsgi.Server
Davanum Srinivas [Fri, 22 Mar 2013 14:31:35 +0000 (10:31 -0400)]
Support for SSL in wsgi.Server

SSL are entirely optional. Support for SSL as well using code from glance. We
have some new options for configuring the SSL support. There are tests for
accessing a sample app w/o ipv6 or ssl, one with just ssl and one with
ipv6 and ssl

Fixes LP# 1101342

DocImpact

Change-Id: I824acef4130d27828dcf199736b3ca668d6202d7

11 years agoMerge "Enable exception format checking when testing."
Jenkins [Thu, 28 Mar 2013 08:24:46 +0000 (08:24 +0000)]
Merge "Enable exception format checking when testing."

11 years agoMerge "Change the quantum-ns-metadata-proxy log file name."
Jenkins [Thu, 28 Mar 2013 07:28:42 +0000 (07:28 +0000)]
Merge "Change the quantum-ns-metadata-proxy log file name."

11 years agoChange the quantum-ns-metadata-proxy log file name.
Brian Haley [Wed, 27 Mar 2013 21:44:34 +0000 (17:44 -0400)]
Change the quantum-ns-metadata-proxy log file name.

Add a '-' before the router_id/network_id for easier parsing
when starting the ns metadata proxy.

Fixes bug 1161124

Change-Id: I408111d1343ecac297f6277e8067d3fa34bb8cb7

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 28 Mar 2013 00:06:24 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I54fa9f8450b48ae19090b3241f081b499439548e

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 27 Mar 2013 17:52:16 +0000 (17:52 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Mark 'sql_connection' config option as secret"
Jenkins [Wed, 27 Mar 2013 17:52:13 +0000 (17:52 +0000)]
Merge "Mark 'sql_connection' config option as secret"

11 years agoMerge "Create a fake netconf client for Cisco nexus unit tests"
Jenkins [Wed, 27 Mar 2013 17:46:27 +0000 (17:46 +0000)]
Merge "Create a fake netconf client for Cisco nexus unit tests"

11 years agoMark 'sql_connection' config option as secret
Roman Podolyaka [Wed, 27 Mar 2013 05:59:39 +0000 (07:59 +0200)]
Mark 'sql_connection' config option as secret

Fixes bug 1160680.

Change-Id: I42b16d006f162cb41090fa34677d6ad054b6a55a

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 27 Mar 2013 00:06:31 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I07f9138424a97ee6ca8a6f758e567ace2df0e65e

11 years agoMerge "Fix kwargs for NECDBException."
Jenkins [Tue, 26 Mar 2013 19:22:58 +0000 (19:22 +0000)]
Merge "Fix kwargs for NECDBException."

11 years agoMerge "Fix kwargs for FloatingIPPortAlreadyAssociated."
Jenkins [Tue, 26 Mar 2013 19:20:59 +0000 (19:20 +0000)]
Merge "Fix kwargs for FloatingIPPortAlreadyAssociated."

11 years agoCreate a fake netconf client for Cisco nexus unit tests
Dane LeBlanc [Mon, 25 Mar 2013 22:43:52 +0000 (18:43 -0400)]
Create a fake netconf client for Cisco nexus unit tests

Fixes bug 1159560

Change-Id: Idb0578a16d3944052a0302415c6c0d96e87cc485

11 years agoMerge "Add metadata support for nvp plugin without namespaces"
Jenkins [Tue, 26 Mar 2013 10:34:17 +0000 (10:34 +0000)]
Merge "Add metadata support for nvp plugin without namespaces"

11 years agoAdd metadata support for nvp plugin without namespaces
Aaron Rosen [Fri, 15 Mar 2013 21:45:42 +0000 (14:45 -0700)]
Add metadata support for nvp plugin without namespaces

If using a host that does not support namespaces the nvp plugin did not have
a way to leverage metadata unless using enable_isolated_metadata which
requires a subnet to not have a gateway. This patch changes the metadata
configuration for the NVP plugin by adding a flag metadata which can be
set to access_network (which was previously enable_metadata_access_network)
or dhcp_host_route. When set to dhcp_host_route when the dhcp agent creates
it's port a host_route is added towards the dhcp server's ip for the
destination 169.254.169.254/32 only if the subnet has as gatway_ip.
In order for a host to leverage metadata via dhcp_route_route it requires
the host's dhcp client to support host routes (code 121).

Fixes bug 1155786

Change-Id: I2ff52adc3dfebcdd6d9c05d5dc79aa65ae100c74

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 26 Mar 2013 00:06:34 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Iffc293cf3e061eb6edf9d32fc792bb47ddb9ac22

11 years agoMerge "Ensure DB pooling code works with newer eventlet versions"
Jenkins [Mon, 25 Mar 2013 20:30:58 +0000 (20:30 +0000)]
Merge "Ensure DB pooling code works with newer eventlet versions"

11 years agoEnable exception format checking when testing.
Dan Prince [Mon, 25 Mar 2013 17:47:50 +0000 (13:47 -0400)]
Enable exception format checking when testing.

Updates our new exception base class to enable exception
format checking. This should help enforce that we pass
the correct kwargs to exceptions when testing.

Change-Id: I9ac62e289c0de3931861473912bb6c98b57d4126

11 years agoFix kwargs for NECDBException.
Dan Prince [Mon, 25 Mar 2013 17:46:15 +0000 (13:46 -0400)]
Fix kwargs for NECDBException.

Updates the NEC plugin to use the correct kwargs when raising
NECDBException.

Fixes LP Bug #1159925.

Change-Id: I1e96d4ec65c1bc98d90d2eb9867fe39bbd505cdc

11 years agoFix kwargs for FloatingIPPortAlreadyAssociated.
Dan Prince [Mon, 25 Mar 2013 17:43:14 +0000 (13:43 -0400)]
Fix kwargs for FloatingIPPortAlreadyAssociated.

Updates the NVP plugin to use the correct kwargs when raising
l3.FloatingIPPortAlreadyAssociated.

Fixes LP Bug #1159922.

Change-Id: If89feea5e40976ccb4286f96f5348c54f84950ce

11 years agoAdjust exception message in l3 agent
Salvatore Orlando [Mon, 25 Mar 2013 15:51:24 +0000 (16:51 +0100)]
Adjust exception message in l3 agent

Bug 1159856

Change-Id: I8d30fd50d46677fc112fe4d8406b849cbb8ef225

11 years agoMerge "Update latest OSLO"
Jenkins [Mon, 25 Mar 2013 15:44:17 +0000 (15:44 +0000)]
Merge "Update latest OSLO"

11 years agoFixes report state failed with qpid rpc backend
He Jie Xu [Mon, 25 Mar 2013 08:18:21 +0000 (16:18 +0800)]
Fixes report state failed with qpid rpc backend

Fixes bug 1159616

Change-Id: Ie63dd41169fdb2f7a1814aed38ab126b69b46fe9

11 years agoMerge "netns: ip netns exec <name> kill doesn't make sense"
Jenkins [Mon, 25 Mar 2013 07:54:29 +0000 (07:54 +0000)]
Merge "netns: ip netns exec <name> kill doesn't make sense"

11 years agonetns: ip netns exec <name> kill doesn't make sense
Isaku Yamahata [Mon, 18 Mar 2013 21:56:15 +0000 (06:56 +0900)]
netns: ip netns exec <name> kill doesn't make sense

It seems confusing netns with pidns.
Although 'ip netns exec' doesn't make sense,
'ip netns exec <netns> kill <pid>' itself success as expected.
But as side effects, dentry of /proc/<pid>/ns/net becomes young,
which increases the possibility to fail to delete netns. That's not good.

Fixes: Bug #1158589
Change-Id: I9aa717ccb86d8bf00bb1e707d39bfb65d043532b
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
11 years agoUpdate latest OSLO
Gary Kotton [Mon, 25 Mar 2013 05:59:32 +0000 (05:59 +0000)]
Update latest OSLO

Includes fix for bug 1158179

Change-Id: Ifd8cde2903dcd013903e95a30c2ed422e89bcd0f

11 years agoMerge "Raise VipExists exception in case Vip is created or updated for a pool that...
Jenkins [Mon, 25 Mar 2013 05:04:18 +0000 (05:04 +0000)]
Merge "Raise VipExists exception in case Vip is created or updated for a pool that already has a Vip"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 25 Mar 2013 03:45:15 +0000 (03:45 +0000)]
Merge "Imported Translations from Transifex"

11 years agoRevert back to 'call' for agent reports
Gary Kotton [Fri, 22 Mar 2013 15:40:38 +0000 (15:40 +0000)]
Revert back to 'call' for agent reports

Fixes bug 1159581

The logic of the agents is based on RPC call()
since the agent needs to catch an exception over RPC.

Change-Id: I6d408216ebdfd130bab2555e61febd02b521985d

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 25 Mar 2013 00:06:02 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ifd232d5588da1882e4d0a6e946e8d55738153bff

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sun, 24 Mar 2013 22:48:26 +0000 (22:48 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "use the fact that empty sequences are false"
Jenkins [Sun, 24 Mar 2013 22:43:07 +0000 (22:43 +0000)]
Merge "use the fact that empty sequences are false"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 23 Mar 2013 00:06:17 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Id29411bf2856fccc27a9c208dc9cd0d5ce2318ae

11 years agoFixing the syntax error in the XML Serializer
Arvind Somya [Thu, 21 Mar 2013 19:18:20 +0000 (12:18 -0700)]
Fixing the syntax error in the XML Serializer

This commit fixes the syntax error in the XML Serializer.
Modified wsgi test to exercise this bit of code as well

Fixes: Bug #1158468
Change-Id: I1bff589a46ff4884e131d7cf60551e2f400acb67

11 years agoRaise VipExists exception in case Vip is created or updated
Eugene Nikanorov [Thu, 21 Mar 2013 13:19:30 +0000 (17:19 +0400)]
Raise VipExists exception in case Vip is created or updated
for a pool that already has a Vip

fixes bug 1158049

Change-Id: I258a31f5d54c040ed478ab241b0e90f2bd0f69b3

11 years agoMerge "Fix issues with db pooling"
Jenkins [Fri, 22 Mar 2013 05:42:04 +0000 (05:42 +0000)]
Merge "Fix issues with db pooling"

11 years agoMerge "adding parameter to configure QueuePool in SQLAlchemy"
Jenkins [Fri, 22 Mar 2013 03:53:04 +0000 (03:53 +0000)]
Merge "adding parameter to configure QueuePool in SQLAlchemy"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 22 Mar 2013 01:02:04 +0000 (01:02 +0000)]
Merge "Imported Translations from Transifex"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 22 Mar 2013 00:06:24 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: Ib20d6e551d180d84c4246a9e9684f09d5a018312

11 years agoNVP metadata access - create elevated context once
Salvatore Orlando [Thu, 14 Mar 2013 10:25:52 +0000 (11:25 +0100)]
NVP metadata access - create elevated context once

Bug 1155051

This is a follow-up patch which fixes a problem with elevated
context not being passed to subroutines.

Change-Id: Ic270d8e48075b6b58117970ab870c3fb3962d93b

11 years agoFix race condition in dhcp agent
Aaron Rosen [Thu, 21 Mar 2013 01:19:04 +0000 (18:19 -0700)]
Fix race condition in dhcp agent

This patch fixes a race condition that can happen in the dhcp agent when
a subnet is created and then a host route is then immediately added to that
subnet following a subnet.update.end notification. The race condition occurs
in refresh_dhcp_helper() where self.enable_dhcp_helper() gets called twice
since the first call had not completed self.cache.put(network). This same race
condition can also occur in the other events so lockutils.synchronized() is
added to synchronize those code segments as well.

Fixes bug 1155748

Change-Id: I2ff52adc3dfebddd6d9c15d5dc79aa65be107179

11 years agoadding parameter to configure QueuePool in SQLAlchemy
Christian Berendt [Thu, 21 Mar 2013 11:06:33 +0000 (12:06 +0100)]
adding parameter to configure QueuePool in SQLAlchemy

This patch introduces the parameter sqlalchemy_pool_size.
The parameter is used to configure the QueuePool, created
in configure_db(). At the moment the configuration of the
pool is only possible when using eventlet's db_pool for
MySQL (sql_dbpool_enable = True).

Change-Id: I64dec2863c1ee88215ef9b28054ba3bfaafa3b32
fixes: bug #1158235

11 years agoFix issues with db pooling
Gary Kotton [Thu, 21 Mar 2013 17:01:31 +0000 (17:01 +0000)]
Fix issues with db pooling

Fixes bug 1157045

In addition to this a cast is used instead of a call for the
report update.

Change-Id: I1b0ea5b18b3d75dc3d047975b234275420af189c

11 years agouse the fact that empty sequences are false
shu,xinxin [Thu, 21 Mar 2013 10:48:00 +0000 (18:48 +0800)]
use the fact that empty sequences are false

fixed bug #1156473

Change-Id: I43470eb884107111cbea958868f4cf8241c8d6e6

11 years agoEnsure that lockfile are defined in a common place
Gary Kotton [Thu, 21 Mar 2013 04:19:05 +0000 (04:19 +0000)]
Ensure that lockfile are defined in a common place

Fixes bug 1158146

Change-Id: I0e986eb16a7ec5b9972a37af583f697ba3624a80

11 years agoMerge "NVP metadata access - create elevated context once"
Jenkins [Thu, 21 Mar 2013 04:21:03 +0000 (04:21 +0000)]
Merge "NVP metadata access - create elevated context once"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 21 Mar 2013 01:14:26 +0000 (01:14 +0000)]
Merge "Imported Translations from Transifex"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 21 Mar 2013 00:06:08 +0000 (00:06 +0000)]
Imported Translations from Transifex

Change-Id: I7e5b222e5b8609631f955dc552412ff0023dff46

11 years agoFix typo in policy.json and checks in nicira plugin
Salvatore Orlando [Fri, 15 Mar 2013 00:31:31 +0000 (01:31 +0100)]
Fix typo in policy.json and checks in nicira plugin

Bug 1155379

This patch removes extra colons from policy.json.
Also, it fixes some checks in the nicira plugin which were not
passing correctly the target resource for the policy engine.

Change-Id: I89a1d170818173eaa90b50158289a06455febadc

11 years agoMerge "Fix DB query returning ready devices in LoadBalancerCallbacks"
Jenkins [Wed, 20 Mar 2013 18:46:49 +0000 (18:46 +0000)]
Merge "Fix DB query returning ready devices in LoadBalancerCallbacks"

11 years agoFix DB query returning ready devices in LoadBalancerCallbacks
Eugene Nikanorov [Tue, 19 Mar 2013 09:13:37 +0000 (13:13 +0400)]
Fix DB query returning ready devices in LoadBalancerCallbacks

fixes bug 1156782

Change-Id: I6efdb32955c1b1f8f3dec7b3b1581e97ea0af4d8

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 20 Mar 2013 00:05:55 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: I27566fdd84cb400628a4aa2a95fd1026e8606072

11 years agoMerge "Add bulking support for Cisco plugin"
Jenkins [Wed, 20 Mar 2013 00:00:17 +0000 (00:00 +0000)]
Merge "Add bulking support for Cisco plugin"

11 years agoLoad all the necessary database tables when running cisco plugin
Baodong (Robert) Li [Tue, 19 Mar 2013 17:06:03 +0000 (10:06 -0700)]
Load all the necessary database tables when running cisco plugin

In Cisco plugin, Remove redundant/unnecessary calls to configure_db().
Make sure that all the database models are loaded before calling
configure_db()

fixes bug #1155121

Change-Id: I27d5dda512140f0553b311b35678c82f729fa854

11 years agoFix haproxy cfg unit test
Oleg Bondarev [Tue, 19 Mar 2013 11:07:04 +0000 (15:07 +0400)]
Fix haproxy cfg unit test

Check if an option was already registered by one of the previous tests

Fixes bug 1157094

Change-Id: Ieaa6e4b3647fb64ce1928b8564e4a41e68c97e74

11 years agoMerge "Set fake rpc implementation in test_lb_quantum_agent"
Jenkins [Tue, 19 Mar 2013 08:25:50 +0000 (08:25 +0000)]
Merge "Set fake rpc implementation in test_lb_quantum_agent"

11 years agoMerge "fix mis-placed paren in log statement for l3-scheduler"
Jenkins [Tue, 19 Mar 2013 07:40:25 +0000 (07:40 +0000)]
Merge "fix mis-placed paren in log statement for l3-scheduler"

11 years agoMerge "Add scheduling support for the Brocade plugin"
Jenkins [Tue, 19 Mar 2013 05:08:41 +0000 (05:08 +0000)]
Merge "Add scheduling support for the Brocade plugin"

11 years agofix mis-placed paren in log statement for l3-scheduler
Dan Wendlandt [Tue, 19 Mar 2013 04:09:55 +0000 (21:09 -0700)]
fix mis-placed paren in log statement for l3-scheduler

bug 1156978

Change-Id: I47c843616e86a92de2bc20683b865f881517a98d