]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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

11 years agoMerge "Validate protocol when creating VIP."
Jenkins [Mon, 18 Mar 2013 21:21:57 +0000 (21:21 +0000)]
Merge "Validate protocol when creating VIP."

11 years agoMerge "Improve test coverage for quantum wsgi module"
Jenkins [Mon, 18 Mar 2013 20:15:54 +0000 (20:15 +0000)]
Merge "Improve test coverage for quantum wsgi module"

11 years agoValidate protocol when creating VIP.
Ryan O'Hara [Tue, 12 Mar 2013 18:01:23 +0000 (13:01 -0500)]
Validate protocol when creating VIP.

Fixes: bug #1123114
When creating a VIP, check that the protocol matches the protocol
for the associated pool. If not, raise an exception.

Change-Id: Iba318eda935ccc89dbe8244e00f36ebdfcce65e0

11 years agoAllow tests in TestDhcpAgentEventHandler run independently
Alessio Ababilov [Mon, 18 Mar 2013 16:48:30 +0000 (18:48 +0200)]
Allow tests in TestDhcpAgentEventHandler run independently

Tests in TestDhcpAgentEventHandler depend on dhcp_confs
option that is defined in quantum.agent.linux.dhcp. We have
to register the option in order to allow independent testing.

This problem is similar to bug #1125951.

Fixes: bug #1156696
Change-Id: I323908c6f70697e056294b1817ff32ce5d32b32c

11 years agoMerge "Synchronize QuantumManager.get_instance() method"
Jenkins [Mon, 18 Mar 2013 15:09:33 +0000 (15:09 +0000)]
Merge "Synchronize QuantumManager.get_instance() method"

11 years agoMerge "Adds delete-orphan to database deletion."
Jenkins [Mon, 18 Mar 2013 06:30:20 +0000 (06:30 +0000)]
Merge "Adds delete-orphan to database deletion."

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

Change-Id: I2dd89260a302227b422c87261298632035576af8

11 years agoSynchronize QuantumManager.get_instance() method
Eugene Nikanorov [Sat, 16 Mar 2013 13:53:39 +0000 (17:53 +0400)]
Synchronize QuantumManager.get_instance() method

fixes bug 1155667

Change-Id: Ib6316b332fbd08c5b39e9820e5dc45f1846817cd

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

Change-Id: Ifd288e967c4d23010336823765e6c6b95d43f732

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 16 Mar 2013 00:05:47 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: I45176c72238699536fe8cab84ca5f74cd0be65ec

11 years agoMerge "Pin SQLAlchemy to 0.7.x"
Jenkins [Fri, 15 Mar 2013 19:27:01 +0000 (19:27 +0000)]
Merge "Pin SQLAlchemy to 0.7.x"

11 years agoMerge "Set fake rpc backend impl for TestLinuxBridgeAgent"
Jenkins [Fri, 15 Mar 2013 14:25:34 +0000 (14:25 +0000)]
Merge "Set fake rpc backend impl for TestLinuxBridgeAgent"

11 years agoMerge "Registers root_helper option for test_iptables_firewall"
Jenkins [Fri, 15 Mar 2013 14:17:16 +0000 (14:17 +0000)]
Merge "Registers root_helper option for test_iptables_firewall"

11 years agoPin SQLAlchemy to 0.7.x
Dirk Mueller [Tue, 12 Mar 2013 22:08:27 +0000 (23:08 +0100)]
Pin SQLAlchemy to 0.7.x

0.7.10 has been released and is compatible with 0.7.x. Instead
of pinning to 0.7.9, simply pin to 0.7.x to avoid SQLAlchemy 0.8

Unfortuantely '<0.8' matches '0.8.0b2', which is what we don't want.
Therefore pinning it to '<=0.7.99' instead.

This matches a corresponding change in openstack/requirements

Fixes: Bug #1153983
Change-Id: Icf680a933c6092cce52706fd9616a0d208164d1e

11 years agoImprove test coverage for quantum wsgi module
Tatyana Leontovich [Tue, 29 Jan 2013 14:29:13 +0000 (16:29 +0200)]
Improve test coverage for quantum wsgi module

OpenStack quantum.wsgi package includes a lot of classes not covered
with unit tests. This change adds such unit tests.

Fixes: bug #1136027
Change-Id: I16dd35389bf82f2818b74d1fb4cf7f7a6bebce28

11 years agoAdds delete-orphan to database deletion.
Senhua Huang [Fri, 15 Mar 2013 02:05:38 +0000 (19:05 -0700)]
Adds delete-orphan to database deletion.

Change-Id: I3570c812c042365e68eef3b5463899afa85eb9fd
Fixes: bug #1096549
11 years agoMerge "Do not disable propagate on root logger"
Jenkins [Fri, 15 Mar 2013 01:11:34 +0000 (01:11 +0000)]
Merge "Do not disable propagate on root logger"

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

Change-Id: I0d2ce31853d49efa61c271f3c1f4cdc51a0d0283

11 years agoDo not disable propagate on root logger
Salvatore Orlando [Thu, 14 Mar 2013 01:48:46 +0000 (02:48 +0100)]
Do not disable propagate on root logger

Bug 1154895

Change-Id: I7aedb82d11b6b0094f0d874e87b7c35209981e25

11 years agoRegisters root_helper option for test_iptables_firewall
Zhongyue Luo [Tue, 5 Mar 2013 09:44:23 +0000 (17:44 +0800)]
Registers root_helper option for test_iptables_firewall

Fixes bug #1146478

Change-Id: I908a142d9463719e7b3c94aa1d699d329c9259de

11 years agoResolves ryu plugin unittest errors
Zhongyue Luo [Thu, 7 Mar 2013 08:11:31 +0000 (16:11 +0800)]
Resolves ryu plugin unittest errors

Removed obsolete DATABASE value tests in ryu/test_defaults.py
Added fake_ryu client in test_ryu_security_group.py
Imported quantum.plugins.ryu.db.models_v2 in test_ryu_plugin.py

Fixes bug #1151642

Change-Id: I60e5aee90da9fa32bd285e6f6bbd95cd7ee1ce2c

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

Change-Id: Ie5b1b38bd3d38b9795d25e1193f20181e933a70d

11 years agoSync latest Oslo components for updated copyright.
Mark McClain [Wed, 13 Mar 2013 22:27:31 +0000 (18:27 -0400)]
Sync latest Oslo components for updated copyright.

fixes bug 1154837

This resolves the issue by updating with the latest Oslo changes. These
changes correct the copyright attribution missing from an earlier Oslo
change.

Change-Id: Ic04197bf4bf026b1b48920a5a99397e6183f5ff3

11 years agoMerge "drop rfc.sh"
Jenkins [Wed, 13 Mar 2013 22:01:03 +0000 (22:01 +0000)]
Merge "drop rfc.sh"

11 years agodrop rfc.sh
Mark McClain [Wed, 13 Mar 2013 20:01:55 +0000 (16:01 -0400)]
drop rfc.sh

fixes bug 1154763

git-review has long replaced rfc.sh, so this can be removed.

Change-Id: Icccbaa1ab393834370790ffb93f431b3435586be

11 years agoReplace "OpenStack LLC" with "OpenStack Foundation"
Gary Kotton [Wed, 13 Mar 2013 15:26:12 +0000 (15:26 +0000)]
Replace "OpenStack LLC" with "OpenStack Foundation"

fixes bug 1154702

Change-Id: I78b1d2c9975a1a4f32b0785cce45f1e471783d8c

11 years agosync Oslo Grizzly stable branch with Quantum
Mark McClain [Wed, 13 Mar 2013 15:07:10 +0000 (11:07 -0400)]
sync Oslo Grizzly stable branch with Quantum

fixes bug 1154393

Change-Id: I3442ff3da05447926b3e5882299ec7a92b9e38e3

11 years agoMerge "Switch to final 1.1.0 oslo.config release"
Jenkins [Wed, 13 Mar 2013 12:45:34 +0000 (12:45 +0000)]
Merge "Switch to final 1.1.0 oslo.config release"

11 years agoMerge "First havana commit."
Jenkins [Wed, 13 Mar 2013 07:03:38 +0000 (07:03 +0000)]
Merge "First havana commit."

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 13 Mar 2013 06:16:43 +0000 (06:16 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFirst havana commit.
Dan Wendlandt [Wed, 13 Mar 2013 05:36:35 +0000 (22:36 -0700)]
First havana commit.

This commit indicates that the master branch has moved on to
representing the "havana" release.  The previous commit will be use to
start the milestone-proposed branch for grizzly.

All future changes for grizzly must first be merged
into master, and then back-ported to a grizzly milestone-proposed branch
(or once grizzly is released, the stable/grizzly branch).

Change-Id: Ic2fadf815fd13d8c3d0afbc6493f8cd3ea6545d2

11 years agoMerge "Ensure port get works when NVP mapping not stored in Quantum DB"
Jenkins [Wed, 13 Mar 2013 05:22:04 +0000 (05:22 +0000)]
Merge "Ensure port get works when NVP mapping not stored in Quantum DB"

11 years agoMerge "port_security migration does not migrate data"
Jenkins [Wed, 13 Mar 2013 04:44:10 +0000 (04:44 +0000)]
Merge "port_security migration does not migrate data"

11 years agoMerge "remove references to netstack in setup.py"
Jenkins [Wed, 13 Mar 2013 04:05:17 +0000 (04:05 +0000)]
Merge "remove references to netstack in setup.py"

11 years agoEnsure port get works when NVP mapping not stored in Quantum DB
Salvatore Orlando [Mon, 11 Mar 2013 12:55:51 +0000 (13:55 +0100)]
Ensure port get works when NVP mapping not stored in Quantum DB

Bug 1153616

If the entry for the mapping between a quantum and a NVP port identifier
is not found in the Quantum DB, search the port on NVP, and, if found,
add the mapping entry.
This ensures upgraded folsom databases keep working with Grizzly code.

Change-Id: I74943e8271f522dcd21c1c34b0159dd61bb66e76

11 years agoremove references to netstack in setup.py
Dan Wendlandt [Wed, 13 Mar 2013 01:08:35 +0000 (18:08 -0700)]
remove references to netstack in setup.py

bug 1154388

Change-Id: I1265b93edaa997405909e6e3dc408f365f2043e9

11 years agoMerge "Add l3 db migration for plugins which did not support in folsom"
Jenkins [Wed, 13 Mar 2013 00:08:27 +0000 (00:08 +0000)]
Merge "Add l3 db migration for plugins which did not support in folsom"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 13 Mar 2013 00:04:44 +0000 (00:04 +0000)]
Imported Translations from Transifex

Change-Id: Ifaa2da10298d2022dc4639e44be1cc6815c4661a

11 years agoport_security migration does not migrate data
Aaron Rosen [Sun, 10 Mar 2013 21:09:28 +0000 (14:09 -0700)]
port_security migration does not migrate data

The port security migration previously created the correct table structure but
it did not migrate the old data into this table. This patch adds code that
copies the id fields from networks and ports into portsecuritybindings
and networksecuritybindings tables.

One thing to note is that in grizzly when a port is created on a network that
has port_security_enabled=True, the port will also be created with
port_security_enabled=True. But since ports in NVP were not previously
created with the mac/ip security address pairs we have to set existing ports
and networks port_security_enabled value to be False. One could easily
write a script to set these values to True after applying this migration.

Fixes bug 1153366

Change-Id: I8a1ccab3e432c23c475816111d388df7f81b8e4a

11 years agoMerge "Fix detection of deleted networks in DHCP agent."
Jenkins [Tue, 12 Mar 2013 23:13:15 +0000 (23:13 +0000)]
Merge "Fix detection of deleted networks in DHCP agent."

11 years agoMerge "Adds Grizzly migration revision"
Jenkins [Tue, 12 Mar 2013 20:59:38 +0000 (20:59 +0000)]
Merge "Adds Grizzly migration revision"

11 years agoAdds Grizzly migration revision
Mark McClain [Tue, 12 Mar 2013 18:49:03 +0000 (14:49 -0400)]
Adds Grizzly migration revision

fixes bug 1154255

This change adds a no-op migration called grizzly.  Deployers can reference
the symbolic name when updating their databases from Folsom.

Change-Id: I442586f1efdb52b7ec8b318077ace52f570b3ae4

11 years agoMerge "Updates latest OSLO changes"
Jenkins [Tue, 12 Mar 2013 17:47:46 +0000 (17:47 +0000)]
Merge "Updates latest OSLO changes"

11 years agoSwitch to final 1.1.0 oslo.config release
Mark McLoughlin [Tue, 12 Mar 2013 16:35:47 +0000 (16:35 +0000)]
Switch to final 1.1.0 oslo.config release

Fixes bug #1128256

oslo.config has now been released to PyPI in time for Grizzly RC1 so
we can switch to using it directly.

Change-Id: I655f831718ae5f4e25e941ee206fe195214a9a91

11 years agoMerge "Update oslo rpc libraries"
Jenkins [Tue, 12 Mar 2013 14:29:04 +0000 (14:29 +0000)]
Merge "Update oslo rpc libraries"

11 years agoFix detection of deleted networks in DHCP agent.
Roman Podolyaka [Tue, 5 Mar 2013 16:53:51 +0000 (18:53 +0200)]
Fix detection of deleted networks in DHCP agent.

The DHCP-agent uses an in-memory networks cache to find out which networks must
be deleted and which ones must be updated. In a case of agent restart the networks
cache is empty and it's not possible to cleanup DHCP-processes serving networks
which were deleted while the DHCP-agent was down. The proposed fix fills the networks
cache when the agent starts using a list of networks which have existing config files.

Fixes: bug #1135948
Change-Id: I27758389755cd19bca9fdbeda9cc1a123370f527

11 years agoAdd l3 db migration for plugins which did not support in folsom
Salvatore Orlando [Mon, 11 Mar 2013 18:33:01 +0000 (19:33 +0100)]
Add l3 db migration for plugins which did not support in folsom

Bug 1153585

Several plugins added l3 support in the grizzly release. This means that
when upgrading from the folsom data model, the relevant data model changes
should be applied.
In order to do so this patch refactors the initial migration in order
to be able to reuse the upgrade_l3 and downgrade_l3 routines.

Change-Id: I876f6d637665e10fb09d2084bb8a545ce469fbf3

11 years agoUpdates latest OSLO changes
Gary Kotton [Mon, 11 Mar 2013 06:45:02 +0000 (06:45 +0000)]
Updates latest OSLO changes

Change-Id: Ief4a24a620b798bf8ece393e90c292c8121ae280

11 years agoSet fake rpc backend impl for TestLinuxBridgeAgent
Eugene Nikanorov [Tue, 12 Mar 2013 06:59:45 +0000 (10:59 +0400)]
Set fake rpc backend impl for TestLinuxBridgeAgent

Fixes bug 1153845

Change-Id: I692bfc16dbd52dacd2a9418f0bd63c3143a25025

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

Change-Id: Ibd8c4ae41892acf2dba87869ac0ab28f4515ba60

11 years agoUpdate oslo rpc libraries
Michael J Fork [Mon, 11 Mar 2013 13:26:59 +0000 (13:26 +0000)]
Update oslo rpc libraries

Update oslo rpc libraries to capture changes, primarly motivated
by secret=True flag on password config options.

Added bin/quantum-rpc-zmq-receiver

Change-Id: I40d3ef1a85901e5b9eab803cc67cdad3cbb0719a

11 years agoMerge "Solve branch in migration path"
Jenkins [Mon, 11 Mar 2013 20:29:23 +0000 (20:29 +0000)]
Merge "Solve branch in migration path"

11 years agoSets default MySql engine to InnoDB
Gary Kotton [Mon, 11 Mar 2013 13:46:41 +0000 (13:46 +0000)]
Sets default MySql engine to InnoDB

Fixes bug 1153594

Change-Id: I4a3de87a99ca2d49b6a74d7104daf47f8f421a80

11 years agoSolve branch in migration path
Salvatore Orlando [Mon, 11 Mar 2013 13:03:01 +0000 (14:03 +0100)]
Solve branch in migration path

Bug #1153578

Also, change a comment line in another migration where the 'revises' line
was incosistent with the id of the actual down_revision

Change-Id: I8effd70ba553330f9023605a2bfa92bd3d73bd4e

11 years agoMerge "Update tox.ini to support RHEL 6.x."
Jenkins [Mon, 11 Mar 2013 08:22:17 +0000 (08:22 +0000)]
Merge "Update tox.ini to support RHEL 6.x."

11 years agoMerge "missing - in --config-file"
Jenkins [Mon, 11 Mar 2013 02:52:37 +0000 (02:52 +0000)]
Merge "missing - in --config-file"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 11 Mar 2013 02:27:46 +0000 (02:27 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fixes Hyper-V agent issue with mixed network types"
Jenkins [Mon, 11 Mar 2013 01:41:23 +0000 (01:41 +0000)]
Merge "Fixes Hyper-V agent issue with mixed network types"

11 years agoFixes Hyper-V agent issue with mixed network types
Alessandro Pilotti [Sun, 10 Mar 2013 15:53:36 +0000 (17:53 +0200)]
Fixes Hyper-V agent issue with mixed network types

Fixes bug: 1153274

Due to a bug in setting up external ports the Hyper-V agent fails to work in
scenarios with VLAN and flat networks.

Furthermore, a warning message on Hyper-V 2012 indicates that external
port settings are ignored. As a result the agent can be simplified by
avoiding vswitch external ports configurations.

Change-Id: I860d22f427cb10dbeac422c1db2b3bcf9e84150f

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

Change-Id: I4ab820d1465af7b33a1e68217ad66f1594de39fa

11 years agomissing - in --config-file
Aaron Rosen [Sun, 10 Mar 2013 21:44:59 +0000 (14:44 -0700)]
missing - in --config-file

Fixes bug 1153374

Change-Id: I6ec9ee3e074a37fb550f8527b44db906136d78f9

11 years agoMerge "Fix typo"
Jenkins [Sun, 10 Mar 2013 18:58:47 +0000 (18:58 +0000)]
Merge "Fix typo"

11 years agoFix typo
Gary Kotton [Sun, 10 Mar 2013 07:35:29 +0000 (07:35 +0000)]
Fix typo

Fixes bug 1153132

Change-Id: I66d8bb16cbecc5072d20d2a9b8db8ebf598bf291

11 years agoLog the configuration options for metadata-proxy and agent.
gongysh [Mon, 4 Mar 2013 13:21:04 +0000 (21:21 +0800)]
Log the configuration options for metadata-proxy and agent.

Bug #1144370

Change-Id: I35ac570dd55006d0133736588f0302d6f70294de

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 10 Mar 2013 00:05:53 +0000 (00:05 +0000)]
Imported Translations from Transifex

Change-Id: Id200d6035d1716b5c81aee27d3290e2240259224

11 years agoMerge "NVP plugin: return 409 if wrong router interface info on remove"
Jenkins [Sat, 9 Mar 2013 15:31:09 +0000 (15:31 +0000)]
Merge "NVP plugin: return 409 if wrong router interface info on remove"

11 years agoMerge "Ensure metadata access network does not prevent router deletion"
Jenkins [Sat, 9 Mar 2013 15:27:27 +0000 (15:27 +0000)]
Merge "Ensure metadata access network does not prevent router deletion"

11 years agoMerge "Disable secgroup extension when Noop Firewall driver is used"
Jenkins [Sat, 9 Mar 2013 08:34:21 +0000 (08:34 +0000)]
Merge "Disable secgroup extension when Noop Firewall driver is used"

11 years agoMerge "Do not delete subnets with IPs on router interfaces"
Jenkins [Sat, 9 Mar 2013 08:30:12 +0000 (08:30 +0000)]
Merge "Do not delete subnets with IPs on router interfaces"

11 years agoMerge "Filter out router ports without IPs when gathering router sync data"
Jenkins [Sat, 9 Mar 2013 04:47:10 +0000 (04:47 +0000)]
Merge "Filter out router ports without IPs when gathering router sync data"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 9 Mar 2013 03:49:04 +0000 (03:49 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Update to Quantum Client 2.2.0"
Jenkins [Sat, 9 Mar 2013 00:47:01 +0000 (00:47 +0000)]
Merge "Update to Quantum Client 2.2.0"

11 years agoNVP plugin: return 409 if wrong router interface info on remove
Salvatore Orlando [Sat, 9 Mar 2013 00:30:39 +0000 (01:30 +0100)]
NVP plugin: return 409 if wrong router interface info on remove

Bug 1152167

Raise an exception causing a 409 error to be returned if port_id or
subnet_id specified in request body do not exist before further
processing the operation (which will cause a 500 error to be
returned to the user)

Change-Id: I347dd86da87ce5b1e57e139e4c21d4533a456cbc

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

Change-Id: I04aea4ba6c5ac4c3324d0642f19e7279c340c7f6

11 years agoEnsure metadata access network does not prevent router deletion
Salvatore Orlando [Thu, 7 Mar 2013 12:51:15 +0000 (13:51 +0100)]
Ensure metadata access network does not prevent router deletion

Bug 1152136

This patch checks if a metadata access network is still present when
removing a router in the NVP plugin. If yes, the network is detached
from the router and then destroyed, thus ensuring a safe completion of
the operation as well as removal of metadata access network resources.

Change-Id: Id8be6ec50ab4536f4ae9916dadaed56644597c7c

11 years agoFilter out router ports without IPs when gathering router sync data
Salvatore Orlando [Thu, 7 Mar 2013 11:32:32 +0000 (12:32 +0100)]
Filter out router ports without IPs when gathering router sync data

Bug 1152050

Change-Id: Idd11d5f953129471c09f44b4f7c75dc9899d6783

11 years agoDo not delete subnets with IPs on router interfaces
Salvatore Orlando [Fri, 8 Mar 2013 17:10:38 +0000 (18:10 +0100)]
Do not delete subnets with IPs on router interfaces

Bug 1152171

This patch simply causes a 409 to be returned when attempting to
delete a subnet which has IPs on ports whose device_owner is
network:router_interface

This does not address a similar problem that arises when the ips for
a port owned by a router_interface are updated. This problem is hidden
when updating a port which has been assigned the gateway_ip by an
exception in the IP recycling process. However, it will hit when the
port was explicitly added to the router, since it will have an ip
different from the subnet's gateway ip.

Change-Id: I38dfd2639acd03db8d3f1f933495a456a4a8724f

11 years agoUpdate to Quantum Client 2.2.0
Aaron Rosen [Fri, 8 Mar 2013 18:02:31 +0000 (10:02 -0800)]
Update to Quantum Client 2.2.0

This patch updates tools/pip-requires to use the python-quantumclient 2.2
It also limits the version to <3.0.0 to prevent breaking something accidently
when 3.0.0 is released.

Fixes bug 1152695

Change-Id: Iec52ffe91793567c7707843a80a282bd51eb0c76

11 years agoAdd explicit egress rules to nvp security profile
Aaron Rosen [Wed, 6 Mar 2013 20:21:08 +0000 (12:21 -0800)]
Add explicit egress rules to nvp security profile

The following commit  7e26074b changed the previous behavior of quantum
security groups by explicitly adding egress rules to the security profile.
When these rules are removed the vm is no longer able to send traffic out.

This patch adds these rules for NVP. One thing to note in the patch
is that now a bunk rule of IPv4 127.0.0.1/32 is added to each security
profile. The reason for this is by default NVP security profiles allow
all egress traffic until a rule is added and then it just lets traffic
matching those rules out. Adding this bunk rule achieves this behavior
that quantum now uses.

Fixes bug 1150378

Change-Id: I005880fcf39d539ae99be428d75c43cc0b39a7b6

11 years agoUpdate tox.ini to support RHEL 6.x.
Dan Prince [Thu, 7 Mar 2013 17:41:30 +0000 (12:41 -0500)]
Update tox.ini to support RHEL 6.x.

In order to support running unit tests on RHEL 6.x we need to patch
eventlet with contrib/redhat-eventlet.patch. We already
have support for this in the tools/install_venv_common.py but we
need to make a couple changes to allow tox to consume this:

1) Sync in the latest intall_venv_common.py from oslo. This changes
 patch to use the -N option (ignore already applied patches) and
 makes it safe to call the patching function more than once.

2) Add a new patch_tox_venv.py script in tools.

3) Update tox.ini to call patch_tox_venv.py before it runs tests and
 coverage.

NOTE: This will hopefully go away eventually once this patch lands:

 https://bitbucket.org/eventlet/eventlet/issue/89/add-a-timeout-argument-to-subprocesspopen#comment-3342969

Change-Id: I3e2b07c3f718e4aede5c5f231ff0cdb7721ec885

11 years agoFix exception typo
Gary Kotton [Fri, 8 Mar 2013 09:51:41 +0000 (09:51 +0000)]
Fix exception typo

Fixes bug 1152525

Change-Id: I24b5340b791a7408fbd2c7a371971445a24333b7

11 years agoMerge "Wrap quota controller with resource.Resource"
Jenkins [Fri, 8 Mar 2013 09:45:03 +0000 (09:45 +0000)]
Merge "Wrap quota controller with resource.Resource"

11 years agoMerge "Enable handling the report_state RPC call in Brocade Plugin"
Jenkins [Fri, 8 Mar 2013 09:32:24 +0000 (09:32 +0000)]
Merge "Enable handling the report_state RPC call in Brocade Plugin"

11 years agoDisable secgroup extension when Noop Firewall driver is used
Akihiro MOTOKI [Wed, 13 Feb 2013 13:42:29 +0000 (22:42 +0900)]
Disable secgroup extension when Noop Firewall driver is used

When Noop Firewall driver is used, Quantum security group actually does
nothing in OVS and Linux Bridge plugin. It would be better to disable
security group extension for such case to avoid confusion.
By this we can determine whether quantum security group is enabled
by checking the extension list.
This commit changes OVS/LB/NEC/Ryu plugins with agent firewall_driver
based security group implementation.

Fixes bug #1124117

Change-Id: I2182289c1e27987b686f1adb7d6e2ad4e154caa2

11 years agoWrap quota controller with resource.Resource
He Jie Xu [Tue, 5 Feb 2013 11:05:53 +0000 (19:05 +0800)]
Wrap quota controller with resource.Resource

Fixes bug 1116137

Currently the format of error message returned by quota extension was
different with quantum other resource. Other resource will return as
json(eg, '{"QuantumError": "error message"}'). But quota extension only
return messages without any format.
'quantum.api.v2.resource.Resource' provider error messages processing.
So wrap quota controller with it.

By the way, fix some small stuff:
* Use specific exception 'QuotaTenantNotFound' instead of generic exception.
* Correct error message.
* Use attribute mapping checking the request body.

Change-Id: I71261198aa79e9ed8e0ae672de32552abdbf45c1

11 years agoMerge "Allow probe-create to specify device_owner."
Jenkins [Fri, 8 Mar 2013 07:31:58 +0000 (07:31 +0000)]
Merge "Allow probe-create to specify device_owner."

11 years agoAllow probe-create to specify device_owner.
Zhesen [Thu, 17 Jan 2013 01:57:57 +0000 (17:57 -0800)]
Allow probe-create to specify device_owner.

The device owner of the probe port can be
specified by the --device-owner option.

There are two values for device-owner option,
network or compute.

The probe port will be created with the network
as the device owner by default.

Fixes: bug #1102726
Change-Id: I72d62e2fe7b8f7a5eb4411bc9052efa82fb4fdf5

11 years agoMerge "Create quantum client for each api request in metadata agent"
Jenkins [Fri, 8 Mar 2013 02:59:16 +0000 (02:59 +0000)]
Merge "Create quantum client for each api request in metadata agent"

11 years agoMerge "add ns-metadata-proxy rootwrap filters to dhcp.filters"
Jenkins [Fri, 8 Mar 2013 01:59:15 +0000 (01:59 +0000)]
Merge "add ns-metadata-proxy rootwrap filters to dhcp.filters"

11 years agoEnable handling the report_state RPC call in Brocade Plugin
Shiv Haris [Wed, 6 Mar 2013 23:25:49 +0000 (15:25 -0800)]
Enable handling the report_state RPC call in Brocade Plugin

Fixes: bug #1150294
Change-Id: I4f641af48140a108e7c707446cda52509d567c8d

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

Change-Id: I434136d9dab5344b72eec2e7e319b756c88bc80e

11 years agoCreate quantum client for each api request in metadata agent
Nachi Ueno [Wed, 6 Mar 2013 04:52:22 +0000 (20:52 -0800)]
Create quantum client for each api request in metadata agent

Fixes bug 1148017

Change-Id: I6f9263f01d17dcc44a4deb42cdaa348164ac4819

11 years agoLock tables for update on allocation/deletion
Ante Karamatic [Thu, 7 Feb 2013 11:33:49 +0000 (12:33 +0100)]
Lock tables for update on allocation/deletion

Allocating, creating and deleting port might happen
in parallel and we need to make sure we don't
assign same IP to multiple different requests.

Added treatment for vlan tags and tunnel ID's

Fixes: bug #1110807
Change-Id: Idbb04d3ce6eacd308b05536f1942a35a0792199e

11 years agoNVP plugin: configure metadata network only if overlapping IPs are enabled
Salvatore Orlando [Thu, 7 Mar 2013 13:19:16 +0000 (14:19 +0100)]
NVP plugin: configure metadata network only if overlapping IPs are enabled

Bug 1152144

This patch also add a warning emitted in the logs at startup if the
configuration is not correct.

Change-Id: Idbf10c64f068a71ef1ed9c29a6a0c4e736bb975d

11 years agoMerge "isolated network metadata does not work with nvp plugin"
Jenkins [Thu, 7 Mar 2013 09:34:12 +0000 (09:34 +0000)]
Merge "isolated network metadata does not work with nvp plugin"

11 years agoMerge "Show default configuration Quotas"
Jenkins [Thu, 7 Mar 2013 09:29:17 +0000 (09:29 +0000)]
Merge "Show default configuration Quotas"

11 years agoMerge "Notify creation or deletion of dhcp port for security group"
Jenkins [Thu, 7 Mar 2013 07:23:41 +0000 (07:23 +0000)]
Merge "Notify creation or deletion of dhcp port for security group"

11 years agoShow default configuration Quotas
Gary Kotton [Mon, 4 Mar 2013 10:21:28 +0000 (10:21 +0000)]
Show default configuration Quotas

Fixes bug 1144076

The patch set shows the defualt quotas that exist in
the configuration file. This is if the DB_QUOTA_DRIVER
is not configured. In this case the user is required
to update the configuration file and restart the service.

Change-Id: I5517c0215e8cfa71453ee38c34d8249e74346fdf

11 years agoadd ns-metadata-proxy rootwrap filters to dhcp.filters
Dan Wendlandt [Thu, 7 Mar 2013 01:40:52 +0000 (17:40 -0800)]
add ns-metadata-proxy rootwrap filters to dhcp.filters

bug 1150628

now that dhcp-agent also uses ns-metadata-proxy, we need to make sure
those rootwrap filters are installed in scenarios where dhcp-agent is
installed by l3-agent is not.

Change-Id: I141b2291aceb93d650258ff1df1ef0122ce8da90