]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "support 'send_arp_for_ha' option in l3_agent"
Jenkins [Thu, 1 Nov 2012 16:07:26 +0000 (16:07 +0000)]
Merge "support 'send_arp_for_ha' option in l3_agent"

11 years agoMerge "Use openstack common log to do logging."
Jenkins [Thu, 1 Nov 2012 15:05:41 +0000 (15:05 +0000)]
Merge "Use openstack common log to do logging."

11 years agoUse openstack common log to do logging.
gongysh [Tue, 30 Oct 2012 15:21:46 +0000 (23:21 +0800)]
Use openstack common log to do logging.

Bug #1073194

We use openstack common log to do logging. At the same time, we will use
quantum logger as our top logger, so that all sub loggers will be set
according to quantum.conf

Change-Id: I5adf72e6031ad437e05c3521864a83757b3e7887

11 years agoPut gw_port into router dict result.
gongysh [Wed, 31 Oct 2012 14:01:35 +0000 (22:01 +0800)]
Put gw_port into router dict result.

Bug #1069782

We put gw_port into router dict result so that client can get more
information for the result router.

Change-Id: I54cec8a71441a9370c7ba95767a92190bf1c9c21

11 years agosupport 'send_arp_for_ha' option in l3_agent
justin ljj [Mon, 27 Aug 2012 08:27:23 +0000 (16:27 +0800)]
support 'send_arp_for_ha' option in l3_agent

Fixes bug 1042046

Sending gratuitous ARPs when a external router or a floating
IP was added in order to facilitate HA.

I am using iputils-arping package to send ARP packets. You will need
to install iputils-arping on Ubuntu and iputils on Fedora/RHEL/CentOS.
Arping locates in /usr/bin/arping on Ubuntu and locates in /sbin/arping
on Fedora/RHEL/CentOS.

Change-Id: I125dbc57b90027dc5e99ff0a5d6877843a0b02a5

11 years agopin sqlalchemy to 0.7
Gary Kotton [Sat, 27 Oct 2012 03:05:35 +0000 (03:05 +0000)]
pin sqlalchemy to 0.7

The sqlalchemy package 0.8.0b1 released on October 30, 2012
removed SQLSoup

(http://docs.sqlalchemy.org/en/latest/changelog/migration_08.html#sqlsoup)

Ensure that the SqlSoup import is still supported. A number of quantum agents
make use of this code to access the database.

Fixes bug 1073555

Change-Id: I78b27716c6e3eb05d874314f0bc544a917fd5853

11 years agoRemove unused metaplugin agents
Nachi Ueno [Tue, 30 Oct 2012 22:30:21 +0000 (22:30 +0000)]
Remove unused metaplugin agents

Fixes bug 1038840

Change-Id: I891247ebd4e58b950c9254d267a06aadc4602d18

11 years agoMerge "Support external network in probe-create."
Jenkins [Tue, 30 Oct 2012 08:42:10 +0000 (08:42 +0000)]
Merge "Support external network in probe-create."

11 years agoMerge "Get subnets of router interfaces with an elevated context."
Jenkins [Tue, 30 Oct 2012 04:44:41 +0000 (04:44 +0000)]
Merge "Get subnets of router interfaces with an elevated context."

11 years agoMerge "Chmod agent/linux/iptables_manager.py"
Jenkins [Tue, 30 Oct 2012 03:07:51 +0000 (03:07 +0000)]
Merge "Chmod agent/linux/iptables_manager.py"

11 years agoMerge "Fix exception when port status is updated with linux bridge plugin"
Jenkins [Tue, 30 Oct 2012 03:07:09 +0000 (03:07 +0000)]
Merge "Fix exception when port status is updated with linux bridge plugin"

11 years agoGet subnets of router interfaces with an elevated context.
Akihiro MOTOKI [Mon, 29 Oct 2012 13:37:37 +0000 (22:37 +0900)]
Get subnets of router interfaces with an elevated context.

Fixes bug 1057558

A router may have interfaces owned by other tenants (by admin operations).
An elevated context is required to get subnet information for such interfaces.

Change-Id: Iaf24c842c2c1e3c52573e7f9831d5f6d8fc01885

11 years agoSupport external network in probe-create.
Nachi Ueno [Mon, 29 Oct 2012 20:05:48 +0000 (13:05 -0700)]
Support external network in probe-create.

Fixes bug #1070960

Change-Id: Ic0d3c56a26fe44359a772f40a7c7d92086a49a28

11 years agoremove unused modules for linuxbridge/ovs plugin agent
Jiajun Liu [Mon, 29 Oct 2012 10:26:43 +0000 (18:26 +0800)]
remove unused modules for linuxbridge/ovs plugin agent

fixes bug 1072635.

Since linuxbridge/ovs plugin agent can not access database any more.
remove unused sqlsouq module.

Change-Id: I0bf02798e2b6e63e1f3690bf0920132ba5dd7e65

11 years agoChmod agent/linux/iptables_manager.py
Zhongyue Luo [Mon, 29 Oct 2012 05:52:43 +0000 (13:52 +0800)]
Chmod agent/linux/iptables_manager.py

Change file mode bits of iptables_manager.py to 644

Change-Id: I63ab56c44f2e142a80830141e7fe12189a33d49f

11 years agoMerge "Make create_floatingip support transaction"
Jenkins [Sun, 28 Oct 2012 20:09:15 +0000 (20:09 +0000)]
Merge "Make create_floatingip support transaction"

11 years agoMerge "Update policies"
Jenkins [Sun, 28 Oct 2012 10:36:05 +0000 (10:36 +0000)]
Merge "Update policies"

11 years agoMerge "Quantum Security Groups API"
Jenkins [Sat, 27 Oct 2012 01:18:26 +0000 (01:18 +0000)]
Merge "Quantum Security Groups API"

11 years agoMerge "Remove database access from agents"
Jenkins [Fri, 26 Oct 2012 22:18:25 +0000 (22:18 +0000)]
Merge "Remove database access from agents"

11 years agoQuantum Security Groups API
Aaron Rosen [Wed, 10 Oct 2012 00:10:27 +0000 (17:10 -0700)]
Quantum Security Groups API

Implements blueprint quantum-security-groups API

In addition the the convention that if a URI has a '-' in it, it's
replaced with a '_'. For example: POST security-groups will convert
the body to {'security_group':  ..}

Change-Id: I2c5219ed1d44a43ce1bf03d49df9f5c1af23352b

11 years agoMerge "use object directly instead of the foreigh key to update master db object."
Jenkins [Fri, 26 Oct 2012 13:18:26 +0000 (13:18 +0000)]
Merge "use object directly instead of the foreigh key to update master db object."

11 years agoMake create_floatingip support transaction
Nachi Ueno [Thu, 25 Oct 2012 21:14:48 +0000 (21:14 +0000)]
Make create_floatingip support transaction

Fixes bug #1064748
Also added unit test

Change-Id: I82b2031af0a87a92ace9a8b86f89772beaca5e8f

11 years agoMerge "Fix database clear when table does not exist"
Jenkins [Thu, 25 Oct 2012 17:48:25 +0000 (17:48 +0000)]
Merge "Fix database clear when table does not exist"

11 years agoUpdate policies
Kevin L. Mitchell [Fri, 12 Oct 2012 19:35:42 +0000 (14:35 -0500)]
Update policies

Merge in update openstack-common policy code.

Updates Quantum-specific policy glue code to eliminate deprecated
openstack-common policy interfaces.  Also cleans up policy code
to allow for returning fine-grained policy values.

Change-Id: I2951a0de3751bd2ec868e7a661070fed624e4af2

11 years agoNotify about router and floating IP usages
Julien Danjou [Wed, 24 Oct 2012 13:11:24 +0000 (15:11 +0200)]
Notify about router and floating IP usages

This fixes the Quantum side of bug #1070009

Change-Id: I07c41814a3acfb2749d503fe1bc64ab7707535ee
Signed-off-by: Julien Danjou <julien@danjou.info>
11 years agoFix exception when port status is updated with linux bridge plugin
Gary Kotton [Thu, 25 Oct 2012 03:30:24 +0000 (03:30 +0000)]
Fix exception when port status is updated with linux bridge plugin

Fixes bug 1072713

Change-Id: I3466e747764fc379d413d9493cf80ea35552179f

11 years agoMerge "Call iptables without absolute path."
Jenkins [Thu, 25 Oct 2012 01:31:01 +0000 (01:31 +0000)]
Merge "Call iptables without absolute path."

11 years agoMerge "Add MTU support to Linux bridge."
Jenkins [Wed, 24 Oct 2012 20:53:29 +0000 (20:53 +0000)]
Merge "Add MTU support to Linux bridge."

11 years agoMerge "Add unit tests for the ovs quantum agent."
Jenkins [Wed, 24 Oct 2012 19:52:22 +0000 (19:52 +0000)]
Merge "Add unit tests for the ovs quantum agent."

11 years agoCall iptables without absolute path.
Akihiro MOTOKI [Wed, 24 Oct 2012 13:14:06 +0000 (22:14 +0900)]
Call iptables without absolute path.

Fixes bug 1069966

rootwrap expects the command name is not absolute. We need to call
the command without path to make rootwrap work well.

Change-Id: I6120103908d10ca257d177a320294de06a89c646

11 years agoDelete the child object via setting the parent's attribute to None.
gongysh [Wed, 24 Oct 2012 08:13:09 +0000 (16:13 +0800)]
Delete the child object via setting the parent's attribute to None.

Bug #1070335

We should not operate the foreigh key attribute of parent attribute
directly.

Change-Id: I98dc8eae78fdf67f0e7189e73afba77c6affcc0e

11 years agoAdd unit tests for the ovs quantum agent.
Maru Newby [Tue, 23 Oct 2012 22:25:54 +0000 (22:25 +0000)]
Add unit tests for the ovs quantum agent.

 * Supporting the quantum dhcp agent on XenServer/XCP requires
   modifying the ovs agent.  As no unit tests exist at present for
   the ovs agent, this change adds enough test coverage to help
   ensure that the modifications to support xen will not break
   existing functionality.
 * Supports blueprint xenapi-ovs

Change-Id: Ib99414ec02e8910cbb0ce377b1a1e73acd057794

11 years agoMerge "Update default base database to be V2"
Jenkins [Tue, 23 Oct 2012 20:18:48 +0000 (20:18 +0000)]
Merge "Update default base database to be V2"

11 years agoAdd MTU support to Linux bridge.
Jonathan LaCour [Tue, 23 Oct 2012 19:22:19 +0000 (19:22 +0000)]
Add MTU support to Linux bridge.

Fixes bug 1030932

Added MTU parity to Linux bridge interface driver.

Change-Id: I020b009a32f9317d3bb1224ad03dda291c715e96

11 years agoCorrect Intended Audience
justin Lund [Tue, 23 Oct 2012 19:16:09 +0000 (15:16 -0400)]
Correct Intended Audience

Correcting the Initial Audience from Developers to
System Administrators.

Change-Id: I96fd07d657b9049e035ec33ecddcab8bb09552e3

11 years agoAdd OpenStack trove classifier for PyPI
justin Lund [Tue, 23 Oct 2012 18:29:29 +0000 (14:29 -0400)]
Add OpenStack trove classifier for PyPI

Add trove classifier to have the client listed among the
other OpenStack-related projets on PyPI.

Change-Id: Ic07fa4b3717a41fdd74c7447d65037dee7ea7fb7

11 years agoMerge "add test for create subnet with default gateway and conflict allocation pool"
Jenkins [Tue, 23 Oct 2012 16:35:15 +0000 (16:35 +0000)]
Merge "add test for create subnet with default gateway and conflict allocation pool"

11 years agoMerge "IP subnet validation fixes"
Jenkins [Tue, 23 Oct 2012 15:27:03 +0000 (15:27 +0000)]
Merge "IP subnet validation fixes"

11 years agouse object directly instead of the foreigh key to update master db object.
gongysh [Tue, 23 Oct 2012 14:40:26 +0000 (22:40 +0800)]
use object directly instead of the foreigh key to update master db object.

Bug #1064235

Change-Id: I74fe3e758681c40590de87c82fd093224d329f51

11 years agoMerge "Merge OVSVethInterfaceDriver into OVSInterfaceDriver"
Jenkins [Tue, 23 Oct 2012 14:21:22 +0000 (14:21 +0000)]
Merge "Merge OVSVethInterfaceDriver into OVSInterfaceDriver"

11 years agoRemove database access from agents
Gary Kotton [Mon, 15 Oct 2012 07:05:38 +0000 (07:05 +0000)]
Remove database access from agents

A flag on the agent and plugin would indicate that the agent could access
the database directly instead of using the RPC interface. This has been
removed.

Change-Id: I2f596a020f971e850f2c92b6597412523d006154

11 years agoFix database clear when table does not exist
Gary Kotton [Sat, 20 Oct 2012 01:41:29 +0000 (01:41 +0000)]
Fix database clear when table does not exist

Problem occurs when running individual tests.

Change-Id: I5223cf0d66aa5bffeb304dda19c784e31a54a7c0

11 years agoIP subnet validation fixes
Jeremy Hanmer [Thu, 18 Oct 2012 23:26:41 +0000 (16:26 -0700)]
IP subnet validation fixes

Fixes bug #1067959

Assure prefix length is included in CIDR definition.

Change-Id: I32bb3dd1e5bffb409b3adee03015e21cce71caea

11 years agoUpdate default base database to be V2
Gary Kotton [Fri, 19 Oct 2012 04:16:23 +0000 (04:16 +0000)]
Update default base database to be V2

Fixes bug 1070353

Change-Id: Ie9271dd1ef2597ba74a0fea51ecf151ae2e8f7dd

11 years agoUpdate common.
Michael Still [Thu, 18 Oct 2012 18:43:37 +0000 (11:43 -0700)]
Update common.

policy.py and setup.py are not updated as they cause test failures.
I will investigate them separately.

Change-Id: Ie46626e67ce5c32baf0eda9f63afb33611d5015a

11 years agoadd test for create subnet with default gateway and conflict allocation pool
He Jie Xu [Sat, 13 Oct 2012 10:00:20 +0000 (18:00 +0800)]
add test for create subnet with default gateway and conflict allocation pool

Create subnet with default gateway and conflict allocation pool should return
status code 409:
$ quantum subnet-create net1 --allocation-pool start=10.0.0.1,end=10.0.0.5 \
10.0.0.0/24
Found overlapping allocation pools:{u'start': u'10.0.0.1',
u'end': u'10.0.0.5'} 10.0.0.1 for subnet 10.0.0.0/24.

Change-Id: I8608314ad7899a752eea239dbe224e25c00a375b

11 years agoMerge "correct nvplib to update device_id"
Jenkins [Fri, 12 Oct 2012 17:10:09 +0000 (17:10 +0000)]
Merge "correct nvplib to update device_id"

11 years agoMerge OVSVethInterfaceDriver into OVSInterfaceDriver
Akihiro MOTOKI [Fri, 28 Sep 2012 13:05:50 +0000 (22:05 +0900)]
Merge OVSVethInterfaceDriver into OVSInterfaceDriver

Fixes bug 1049385

Due to some issues using OVS internal interfaces across namespaces
with OpenFlow controllers (bug 1048681), a patch introduced the
OVSVethInterfaceDriver in addition to the base OVSInterfaceDriver.
However, OVSVethInterfaceDriver is just a variation of OVSInterfaceDriver
and the difference is how to create an interface (OVS internal vs veth).
This patch merge OVSVethInterfaceDriver into OVSInterfaceDriver
by introducing a new flag 'ovs_use_veth' (which defaults to False).

Change-Id: Ie8b01e6776bf703f72a9e2a471b24e126f6e2322

11 years agoLogging indicates when service starts and terminates
Gary Kotton [Mon, 8 Oct 2012 02:44:50 +0000 (02:44 +0000)]
Logging indicates when service starts and terminates

Fixes bug 1064070

The patch adds a log entry indication that the service has started. In
addition to this if there is an "exit" statement in the code, then the
log message will indicate that the service has been terminated.

Change-Id: Idb6cff4b85d26331df2c6e14aa0680e82b4e2cd7

11 years agoEnsures port is not created when database exception occurs
Gary Kotton [Mon, 8 Oct 2012 04:18:11 +0000 (04:18 +0000)]
Ensures port is not created when database exception occurs

Fixes bug 1064261

The port creation code did not correctly treat a database error. That is,
if there was an exception the port would be created and an error returned
to the client.

Change-Id: I6cf36d1c641b46716afb16f228b8daa631099a5d

11 years agoMerge "Improve unit test times"
Jenkins [Mon, 8 Oct 2012 07:31:54 +0000 (07:31 +0000)]
Merge "Improve unit test times"

11 years agoMerge "Update vif driver of Ryu plugin"
Jenkins [Mon, 8 Oct 2012 01:25:19 +0000 (01:25 +0000)]
Merge "Update vif driver of Ryu plugin"

11 years agoMerge "Add control_exchange option to common/config.py"
Jenkins [Mon, 8 Oct 2012 00:50:46 +0000 (00:50 +0000)]
Merge "Add control_exchange option to common/config.py"

11 years agoMerge "tests/unit/ryu/test_ryu_db: db failure"
Jenkins [Mon, 8 Oct 2012 00:27:33 +0000 (00:27 +0000)]
Merge "tests/unit/ryu/test_ryu_db: db failure"

11 years agoMerge "get_network in nvp plugin didn't return subnet information"
Jenkins [Sun, 7 Oct 2012 22:33:47 +0000 (22:33 +0000)]
Merge "get_network in nvp plugin didn't return subnet information"

11 years agoImprove unit test times
Gary Kotton [Sat, 6 Oct 2012 02:56:11 +0000 (02:56 +0000)]
Improve unit test times

Revert the change using a temporary file for the database.
The sqlalchemy version is updated to >=0.7.8 (this includes
fixes for memory leaks).

Change-Id: Ib5d128edfef0f8e0afebaf408f7834fa3de2481a

11 years agoAdd control_exchange option to common/config.py
Mark McClain [Fri, 5 Oct 2012 19:51:19 +0000 (15:51 -0400)]
Add control_exchange option to common/config.py

fixes bug 1062517

Follows the instructions in the openstack/common/rpc/__init__.py and
defines a control_exchange option.

Change-Id: I92c50e1aea44954b2c9d62db1df536b9044b6951

11 years agoTreat invalid namespace call
Gary Kotton [Fri, 5 Oct 2012 10:07:13 +0000 (06:07 -0400)]
Treat invalid namespace call

Fixes bug 1060559

Change-Id: I29250100416b87f55781fb7e97339f6d3761513f

11 years agoget_network in nvp plugin didn't return subnet information
Aaron Rosen [Thu, 4 Oct 2012 23:18:58 +0000 (16:18 -0700)]
get_network in nvp plugin didn't return subnet information

Adds unit test for show network which checks for subnet.

Fixes bug 1061781

Change-Id: I459a1f11a9e4294c31d002c8dbcfde873e43c800

11 years agotests/unit/ryu/test_ryu_db: db failure
Isaku Yamahata [Tue, 18 Sep 2012 14:55:14 +0000 (23:55 +0900)]
tests/unit/ryu/test_ryu_db: db failure

Fixes bug 1061408

The unit test of test_ryu_db fails when it is specified to run as follows.

$ ./run_tests.sh quantum.tests.unit.ryu.test_ryu_db
RyuDBTest
    test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)ERROR

======================================================================
ERROR: test_ofp_server (quantum.tests.unit.ryu.test_ryu_db.RyuDBTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/quantum/tests/unit/ryu/test_ryu_db.py", line 30, in setUp
    options = {"sql_connection": cfg.CONF.DATABASE.sql_connection}
  File "/quantum/openstack/common/cfg.py", line 1039, in __getattr__
    return self._get(name)
  File "/quantum/openstack/common/cfg.py", line 1361, in _get
    value = self._substitute(self._do_get(name, group))
  File "/quantum/openstack/common/cfg.py", line 1377, in _do_get
    info = self._get_opt_info(name, group)
  File "/quantum/openstack/common/cfg.py", line 1470, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: DATABASE

----------------------------------------------------------------------
Ran 1 test in 0.001s

Change-Id: Ie639914c64e6fba10112a58efa7f363615d0c9fd

11 years agocorrect nvplib to update device_id
Aaron Rosen [Thu, 4 Oct 2012 04:52:43 +0000 (21:52 -0700)]
correct nvplib to update device_id

Fixes bug 1061391

Change-Id: Ide8efdfb12dd0f403d7e4f468b1c9f3cc024f9a9

11 years agoMerge "Add quantum-usage-audit"
Jenkins [Tue, 2 Oct 2012 18:54:11 +0000 (18:54 +0000)]
Merge "Add quantum-usage-audit"

11 years agoUpdate rpc and notifier libs from openstack.common
Doug Hellmann [Tue, 2 Oct 2012 16:34:30 +0000 (12:34 -0400)]
Update rpc and notifier libs from openstack.common

Bring in the latest versions of the rpc and notifications
libraries to fix broken imports in the current version
of master.

Change-Id: I6f545df4622eabdf2f7bf4e9cf155db20bd2c4c1
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
11 years agoAdd quantum-usage-audit
Julien Danjou [Tue, 2 Oct 2012 11:21:41 +0000 (13:21 +0200)]
Add quantum-usage-audit

This adds a program aiming to send "$resource.exists" notifications regularly
via a cronjob. We will use this in Ceilometer to meter resources usage.

Change-Id: I718c67bfb54b74afb3af262bb08cbfd71531188a
Signed-off-by: Julien Danjou <julien@danjou.info>
11 years agoFix filters default value in get_networks
Julien Danjou [Tue, 2 Oct 2012 13:37:49 +0000 (15:37 +0200)]
Fix filters default value in get_networks

With that change, if get_networks() is called without fields set to
something, _filter_nets_l3 fails because it tries to call "filters.get()"
where filters is None.

This fixes bug #1060047

Change-Id: Ia0787e7a278a3562af5409861762f067d71f2cf6
Signed-off-by: Julien Danjou <julien@danjou.info>
11 years agoMerge "Support for several HA RabbitMQ servers."
Jenkins [Tue, 2 Oct 2012 13:25:07 +0000 (13:25 +0000)]
Merge "Support for several HA RabbitMQ servers."

11 years agol3_nat_agent was renamed to l3_agent
Somik Behera [Tue, 2 Oct 2012 05:33:12 +0000 (22:33 -0700)]
l3_nat_agent was renamed to l3_agent
and this was missed.

This broke quantum-l3-agent when setup.py was
used to install but  did not affect package installs.

This change fixes the issue.

Change-Id: I820d26fba5d2774262577ed4fbae81dc7362e93e

11 years agoUpdate vif driver of Ryu plugin
Yoshihiro Kaneko [Mon, 1 Oct 2012 06:56:50 +0000 (15:56 +0900)]
Update vif driver of Ryu plugin

Fixes bug 1059393

This patch allows Ryu plugin to be compatible with Nova Security Groups.

Change-Id: Ief1039f4b73af2e815fed429cd717e64888565c9

11 years agoSupport for several HA RabbitMQ servers.
Emilien Macchi [Thu, 27 Sep 2012 14:20:29 +0000 (16:20 +0200)]
Support for several HA RabbitMQ servers.

Change-Id: I37f73867ff469133c39bf5f1a7fd48f48b0704d4

11 years agoCorrect the error message in the Class NoNetworkAvailable
ivan-zhu [Fri, 28 Sep 2012 14:36:23 +0000 (22:36 +0800)]
Correct the error message in the Class NoNetworkAvailable

Bug #1052294

Change "No virtual network is available." to "No tenant
network is available for allocation."

Change-Id: I8e2b40df1afa46522666d51218b82a4deef2ff64

11 years agoMerge "clean notification options in quantum.conf."
Jenkins [Thu, 27 Sep 2012 07:46:11 +0000 (07:46 +0000)]
Merge "clean notification options in quantum.conf."

11 years agoMerge "Fix flag name for l3 agent external network id"
Jenkins [Thu, 27 Sep 2012 07:39:42 +0000 (07:39 +0000)]
Merge "Fix flag name for l3 agent external network id"

11 years agoFix flag name for l3 agent external network id
Takaaki Suzuki [Tue, 25 Sep 2012 06:32:33 +0000 (15:32 +0900)]
Fix flag name for l3 agent external network id

Bug #1056720

Change-Id: I744da7e1584d5230a23c4fc8b6fc258814babfa9

11 years agoclean notification options in quantum.conf.
gongysh [Wed, 26 Sep 2012 08:48:18 +0000 (16:48 +0800)]
clean notification options in quantum.conf.

Bug #1056637

Change-Id: I9d9002d3dfbbfa94224bc6ed9dc1a7f5207fb563

11 years agoAdd log setting options into quantum.conf.
gongysh [Wed, 26 Sep 2012 04:17:09 +0000 (12:17 +0800)]
Add log setting options into quantum.conf.

Bug #1056584

This will improve the user experiences.

Change-Id: Iaafd4eeb4fc23c5473276b3cf0e5ccffe2150ec2

11 years agoWarn about use of overlapping ips in config file
Salvatore Orlando [Tue, 25 Sep 2012 17:51:59 +0000 (10:51 -0700)]
Warn about use of overlapping ips in config file

Fix bug 1055822

Add an explicity user in the configuration file regarding consequences of
enabling overlapping IPs when Quantum is used with nova security groups
and/or metadata.

Change-Id: Ifa67216fc7479a7858c0653422bf5baab58fb350

12 years agoDo global CIDR check if overlapping IPs disabled.
Salvatore Orlando [Mon, 24 Sep 2012 23:20:35 +0000 (16:20 -0700)]
Do global CIDR check if overlapping IPs disabled.

Fix bug 1055822

This patch adds a global configuration option for enabling or disabling
overlapping IPs for subnets in different networks.
If they are disabled, the validation of the CIDR against overlapping
ones should be performed globally and not just among subnets defined for
the current network.

Change-Id: If6a562324f0a5c3982591be8030c4628ec9007b6

12 years agoFix rootwrap filter for dnsmasq when no namespace is used
Gary Kotton [Mon, 24 Sep 2012 12:31:27 +0000 (12:31 +0000)]
Fix rootwrap filter for dnsmasq when no namespace is used

Fixes bug 1055384

Change-Id: I98381299f28da0e4c443efd4c22ba551022e0288

12 years agoAdd common popen support to the cisco plugin
Gary Kotton [Mon, 24 Sep 2012 05:11:20 +0000 (05:11 +0000)]
Add common popen support to the cisco plugin

Fixes bug 1055290

Change-Id: I5c90b3f23288101c34ac94470476676d5d9c141e

12 years agoMerge "Uses a common subprocess popen function"
Jenkins [Sun, 23 Sep 2012 22:16:51 +0000 (22:16 +0000)]
Merge "Uses a common subprocess popen function"

12 years agoUse sqlite db on file for unit tests
Salvatore Orlando [Sat, 22 Sep 2012 00:06:47 +0000 (17:06 -0700)]
Use sqlite db on file for unit tests

bug 1054387

So far unit tests were executed using an in-memory database.
Memory was not being freed thus causing oom frequently due to
the increased number of unit tests.
Since sqlite in memory db do not work very well anyway with nose,
we are moving to file-based databases; slower, but safer.

Also, this patch removes a bunch of unit tests which do not add
anything to code coverage or number or test cases exercised.

Change-Id: Ib853727a5268643fbe8a99f6ebd0fc10aca6a43a

12 years agoUses a common subprocess popen function
Gary Kotton [Sun, 23 Sep 2012 08:34:33 +0000 (08:34 +0000)]
Uses a common subprocess popen function

Fixes bug 1053381

Change-Id: I8a89ba8d4f03094fcc581981044582c95d1300bb

12 years agoMerge "Remove a function that is not used"
Jenkins [Sat, 22 Sep 2012 19:07:35 +0000 (19:07 +0000)]
Merge "Remove a function that is not used"

12 years agoremove default value of local_ip in OVS agent
Mark McClain [Mon, 17 Sep 2012 21:28:00 +0000 (17:28 -0400)]
remove default value of local_ip in OVS agent

fixes bug 1051744

Remove the default value for local_ip in the OVS agent config.

Change-Id: Ie23ba8510c0cf5c17443c805e0befce6eccb253c

12 years agoMerge "Fix OVS and LB plugins' VLAN allocation table synchronization"
Jenkins [Fri, 21 Sep 2012 14:13:50 +0000 (14:13 +0000)]
Merge "Fix OVS and LB plugins' VLAN allocation table synchronization"

12 years agoRemove a function that is not used
Gary Kotton [Thu, 20 Sep 2012 13:09:45 +0000 (13:09 +0000)]
Remove a function that is not used

Fixes bug 1053393

Change-Id: I7b7ae48d9e7bf34ce280a3aec53f1ec11fcd1158

12 years agoMerge "l3-agent: move check if ext-net bridge exists within daemon loop"
Jenkins [Fri, 21 Sep 2012 09:56:49 +0000 (09:56 +0000)]
Merge "l3-agent: move check if ext-net bridge exists within daemon loop"

12 years agoMerge "all rootwrap filter for 'route', used by l3-agent"
Jenkins [Fri, 21 Sep 2012 09:50:04 +0000 (09:50 +0000)]
Merge "all rootwrap filter for 'route', used by l3-agent"

12 years agoMerge "ZMQ fixes for Quantum from openstack-common"
Jenkins [Fri, 21 Sep 2012 09:49:57 +0000 (09:49 +0000)]
Merge "ZMQ fixes for Quantum from openstack-common"

12 years agoall rootwrap filter for 'route', used by l3-agent
Dan Wendlandt [Fri, 21 Sep 2012 08:49:04 +0000 (01:49 -0700)]
all rootwrap filter for 'route', used by l3-agent

bug 1053889

Change-Id: If35f1f48464cd0bb795af4e9e82f5d7a9867b0aa

12 years agoMerge "Add catch-call try/catch within rpc_loop in ovs plugin agent"
Jenkins [Fri, 21 Sep 2012 08:10:12 +0000 (08:10 +0000)]
Merge "Add catch-call try/catch within rpc_loop in ovs plugin agent"

12 years agol3-agent: move check if ext-net bridge exists within daemon loop
Dan Wendlandt [Fri, 21 Sep 2012 06:52:52 +0000 (23:52 -0700)]
l3-agent: move check if ext-net bridge exists within daemon loop

bug 1052522

the l3 agent checked if the external network bridge exists in its
constructor, raising an uncaught exception if it did not.  this does not
make much sense when running the l3-agent as a deamon, especially since
it can be the case that the l3-agent starts before open vswitch.

Change-Id: Ie1717b2c02c9f0bc0caf34a6fdb0dc3a930123c0

12 years agoMerge "Fix deadlock of Metaplugin"
Jenkins [Fri, 21 Sep 2012 05:29:38 +0000 (05:29 +0000)]
Merge "Fix deadlock of Metaplugin"

12 years agoAdd catch-call try/catch within rpc_loop in ovs plugin agent
Dan Wendlandt [Fri, 21 Sep 2012 04:49:51 +0000 (21:49 -0700)]
Add catch-call try/catch within rpc_loop in ovs plugin agent

related to bug 1050512

when running in db-mode, the ovs plugin agent will catch any unexpected
exceptions generated during processing.  However, in rpc-mode, this
does not happen, meaning a small error, even a transient one, causes the
agent to exit completely.  Thic change adds a try-catch block to the
rcp_loop(), causing the agent to log any unexpected exception, wait for
the polling period, then retry the loop after resetting all state.

Change-Id: I76eae1800831e59c5078c4be8fa5ca22298bfb0a

12 years agoFix OVS and LB plugins' VLAN allocation table synchronization
Bob Kukura [Thu, 20 Sep 2012 20:03:14 +0000 (16:03 -0400)]
Fix OVS and LB plugins' VLAN allocation table synchronization

In both the openvswitch and linuxbridge plugins, if previous entries
for a physical network have been completely removed from the
network_vlan_ranges configuration variable, allocation table records
for unallocated VLANs on that physical network are now removed from
the DB at startup. The test_ovs_db and test_lb_db unit tests have also
been extended to cover this case. Fixes bug 1052289.

Test assertions that were added to the test_ovs_db unit test in
https://review.openstack.org/#/c/11388 have been added to the
test_lb_db unit test. Fixes bug 1045596.

Change-Id: I04e924603eaf0df717414c2aaa83fd203b791308

12 years agoZMQ fixes for Quantum from openstack-common
Eric Windisch [Thu, 20 Sep 2012 22:50:32 +0000 (18:50 -0400)]
ZMQ fixes for Quantum from openstack-common

Change Ifdeff8ae: Support declare_topic_consumer in impl_zmq
Change Ifc132519: fanout subscriptions in impl_zmq

Change-Id: Ic51fd09c302e767316d72fb38892e3761ef36de9

12 years agoMerge "Fix for flat network creation in Cisco plugin"
Jenkins [Thu, 20 Sep 2012 16:57:26 +0000 (16:57 +0000)]
Merge "Fix for flat network creation in Cisco plugin"

12 years agoRestore SIGPIPE default action for subprocesses
Thierry Carrez [Thu, 20 Sep 2012 12:42:53 +0000 (14:42 +0200)]
Restore SIGPIPE default action for subprocesses

Python ignores SIGPIPE on startup, because it prefers to check every
write and raise an IOError exception rather than taking the signal. Most
Unix subprocesses don't expect to work this way. This patch (adapted
from Colin Watson's post at http://tinyurl.com/2a7mzh5) sets SIGPIPE
back to the default action for quantum.agent.linux.utils.execute,
quantum.common.utils.execute and quantum-rootwrap created subprocesses.

Fixes bug 1053364

Change-Id: Ib805f1f8846c245b75a5ea64278c840b823c1fb2

12 years agoFix for flat network creation in Cisco plugin
Sumit Naiksatam [Wed, 19 Sep 2012 20:20:12 +0000 (13:20 -0700)]
Fix for flat network creation in Cisco plugin

Bug #1053154

Checks for the validity of the VLAN ID needed to be performed. In cases where
segmentation ID is not greater than zero, the Nexus sub-plugin does not
need to be invoked for that network.

Change-Id: I813d569c0c3d26c08554bf3599633b700a98c739

12 years agoMerge "Removes test desription that is no longer valid"
Jenkins [Wed, 19 Sep 2012 18:01:47 +0000 (18:01 +0000)]
Merge "Removes test desription that is no longer valid"