]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoComplete rename to Neutron
Dirk Mueller [Sun, 7 Jul 2013 11:44:48 +0000 (13:44 +0200)]
Complete rename to Neutron

implements blueprint: remove-use-of-quantum

Change-Id: Ide08774b00ad74e4c2b88baa9e48ac65fbe19360

11 years agoMerge "Sync install_venv_common from oslo"
Jenkins [Sun, 7 Jul 2013 04:11:31 +0000 (04:11 +0000)]
Merge "Sync install_venv_common from oslo"

11 years agoRename Quantum to Neutron
Mark McClain [Wed, 3 Jul 2013 23:39:46 +0000 (19:39 -0400)]
Rename Quantum to Neutron

This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19

11 years agoRename quantum to neutron in .gitreview.
Monty Taylor [Sat, 6 Jul 2013 16:24:50 +0000 (12:24 -0400)]
Rename quantum to neutron in .gitreview.

Change-Id: Icd72d32898fe57f12eed19968cf19018f8fc89ad

11 years agoSync install_venv_common from oslo
Monty Taylor [Sat, 6 Jul 2013 02:18:02 +0000 (22:18 -0400)]
Sync install_venv_common from oslo

Change-Id: I4c14c9907d6195ab4f50ab9351ab14e4d93c4ec2

11 years agoMerge "Fix unit test for ryu-agent"
Jenkins [Thu, 4 Jul 2013 12:53:22 +0000 (12:53 +0000)]
Merge "Fix unit test for ryu-agent"

11 years agoMerge "Allow non-root ip in subnet CIDR"
Jenkins [Thu, 4 Jul 2013 12:29:41 +0000 (12:29 +0000)]
Merge "Allow non-root ip in subnet CIDR"

11 years agoFix unit test for ryu-agent
Yoshihiro Kaneko [Thu, 4 Jul 2013 07:47:38 +0000 (16:47 +0900)]
Fix unit test for ryu-agent

Fixes bug #1197670

This patch fixes programming error in the unit test for ryu-agent.
- Change the way of patch to cfg of ryu-agent
- Fix typo
 s/assert_calls/assert_has_calls/

Change-Id: I9a5a17f314eb9c786338463e077cadc32d846dba

11 years agoMerge "Remove unused database table from Cisco plugin"
Jenkins [Thu, 4 Jul 2013 07:53:50 +0000 (07:53 +0000)]
Merge "Remove unused database table from Cisco plugin"

11 years agoRemove unused database table from Cisco plugin
HenryGessau [Wed, 3 Jul 2013 21:05:35 +0000 (17:05 -0400)]
Remove unused database table from Cisco plugin

Fixes: bug #1197053
Change-Id: If0a9198046498cb559353dc9f1b3820b5e01cb7c

11 years agoMerge "Do not mask NotImplementedError exceptions"
Jenkins [Wed, 3 Jul 2013 14:56:53 +0000 (14:56 +0000)]
Merge "Do not mask NotImplementedError exceptions"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 3 Jul 2013 12:11:52 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ic473f0a8aae5786fa5fdf21eccc9653422d04177

11 years agoDo not mask NotImplementedError exceptions
armando-migliaccio [Wed, 3 Jul 2013 00:52:39 +0000 (17:52 -0700)]
Do not mask NotImplementedError exceptions

With this patch we  avoid masking NotImplementedError(s).
Previously, a catch-all clause returned 500, and it makes
sense to distinguish between genuine 500 errors (i.e. a bug),
versus 501 ones.

This opens up the issue of keeping the server behavior
consistent from one release to another, but one might argue
that this was bad design decision in the first place.

Fixes bug 1197200

Change-Id: I2d81cba5ee9e5fbe8e865378381790b5b467d255

11 years agoMerge "Jointly load ExternalNetwork with Network"
Jenkins [Tue, 2 Jul 2013 16:05:47 +0000 (16:05 +0000)]
Merge "Jointly load ExternalNetwork with Network"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 2 Jul 2013 12:11:56 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ibc186825cb89a78fcfcb7124c203f1ec63fcf63c

11 years agoAllow non-root ip in subnet CIDR
Jay S. Bryant [Sun, 9 Jun 2013 13:43:55 +0000 (08:43 -0500)]
Allow non-root ip in subnet CIDR

If a subnet is created using an IP that isn't a root IP
(doesn't end with .0) the code that handles IP checking
for fixed IPs fails.  This fix changes the check for a
valid IP to use the net.network IP address to
avoid problems in subnets created with the non-root CIDR.

(fixes bug 1188845)

Change-Id: I89df64261d0f2741668576e45dc8f026857f20b0

11 years agoMerge "Move NVP DB extensions under dbexts module."
Jenkins [Mon, 1 Jul 2013 19:38:06 +0000 (19:38 +0000)]
Merge "Move NVP DB extensions under dbexts module."

11 years agoJointly load ExternalNetwork with Network
Salvatore Orlando [Tue, 7 May 2013 22:07:17 +0000 (00:07 +0200)]
Jointly load ExternalNetwork with Network

Bug 1177572

This patch leverages the same approach as bug 1174111 for avoiding
loading ExternalNetwork element from db for each network element.
make_network_dict, _extend_network_dict_l3 are refactored accordingly.

Also, this patch sligthly alters the logic of process_l3_network_create
and process_l3_network_update as these methods assumed
_extend_network_dict_l3 was always executed before retuerning.

Finally, calls to get_network and get_networks in plugins which only
extended the response with l3 attributes have been completely removed.

Change-Id: I3b4c28ec0c78f731a534c2b66150d529fd797e72

11 years agoMove NVP DB extensions under dbexts module.
armando-migliaccio [Wed, 12 Jun 2013 22:24:21 +0000 (15:24 -0700)]
Move NVP DB extensions under dbexts module.

Small clean-up to the plugin directory. This is also
more in line with how API extensions have their own
module.

Change-Id: Idae52e30128f4ed9f8f7f5164991952bc3189f53

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 1 Jul 2013 12:11:59 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I2a21a217a7cd00067ca4aed2ae385b387e5a9731

11 years agoMerge "Add support for moving ip/addresss/default gateway"
Jenkins [Mon, 1 Jul 2013 11:31:26 +0000 (11:31 +0000)]
Merge "Add support for moving ip/addresss/default gateway"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 30 Jun 2013 12:11:55 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ia1a1fd6e7536281e7b238b419c02991a1e4dc523

11 years agoMerge "Improve Nicira plugin test coverage"
Jenkins [Sat, 29 Jun 2013 18:41:01 +0000 (18:41 +0000)]
Merge "Improve Nicira plugin test coverage"

11 years agoMerge "Fix logic for handling SNAT rules"
Jenkins [Sat, 29 Jun 2013 16:57:01 +0000 (16:57 +0000)]
Merge "Fix logic for handling SNAT rules"

11 years agoMerge "Remove duplicate _check_provider_update from plugins"
Jenkins [Sat, 29 Jun 2013 16:19:31 +0000 (16:19 +0000)]
Merge "Remove duplicate _check_provider_update from plugins"

11 years agoMerge "Update code to properly use dict returned from get_gateway."
Jenkins [Sat, 29 Jun 2013 16:18:35 +0000 (16:18 +0000)]
Merge "Update code to properly use dict returned from get_gateway."

11 years agoMerge "Nicira plugin: Do not expect a minimum number of SNAT rules"
Jenkins [Sat, 29 Jun 2013 16:16:50 +0000 (16:16 +0000)]
Merge "Nicira plugin: Do not expect a minimum number of SNAT rules"

11 years agoImprove Nicira plugin test coverage
Salvatore Orlando [Sat, 18 May 2013 18:19:50 +0000 (20:19 +0200)]
Improve Nicira plugin test coverage

Blueprint nvp-test-coverage

This patch improves the Nicira plugin test coverage by:
- adding a suite of test cases for nvplib
- removing unused exception handling code
- removing 'vestigial' code in nvp plugin modules

This patches also fixes a few minor glitches with the plugin
and the fake api client.

Change-Id: Ia319f556a815e5061b867a97d834123786218fec

11 years agoFix case with no host_id in BigSwitch plugin
Kevin Benton [Fri, 28 Jun 2013 21:40:11 +0000 (14:40 -0700)]
Fix case with no host_id in BigSwitch plugin

This correctly checks for the case where nova does not
provide the host_id in port creation/updates.

Fixes: bug #1195903
Change-Id: Ic0d714a3977810c6b1144c1e25488f75cc95d0f0

11 years agoMerge "faster quantum-openvswitch-agent periodic reports"
Jenkins [Sat, 29 Jun 2013 06:08:01 +0000 (06:08 +0000)]
Merge "faster quantum-openvswitch-agent periodic reports"

11 years agoMerge "dom0 rootwrap - case insensitive xenapi section"
Jenkins [Sat, 29 Jun 2013 06:06:52 +0000 (06:06 +0000)]
Merge "dom0 rootwrap - case insensitive xenapi section"

11 years agoMerge "Support a timeout argument when instantiating a bigswitch plugin"
Jenkins [Sat, 29 Jun 2013 06:06:44 +0000 (06:06 +0000)]
Merge "Support a timeout argument when instantiating a bigswitch plugin"

11 years agoRemove duplicate _check_provider_update from plugins
Aaron Rosen [Wed, 19 Jun 2013 20:46:06 +0000 (13:46 -0700)]
Remove duplicate _check_provider_update from plugins

This patch removes the duplicated method _check_provider_update
and adds a check for it in the NVP plugin that was missing so that an error
is raised if someone tries to update a provider network.

Fixes bug: 1192702

Change-Id: I84e6767f351122f9e5af0cd4ef24d8eaaeb4ccd5

11 years agoUpdate code to properly use dict returned from get_gateway.
Carl Baldwin [Fri, 28 Jun 2013 03:07:00 +0000 (03:07 +0000)]
Update code to properly use dict returned from get_gateway.

Calling get_gateway was a late addition to my code to add a default
route in the DHCP namespace.  The code did not properly handle the
dict returned from that method.  This changes it to properly extract
the 'gateway' attribute from the dict.

Change-Id: I9823a31feee7ab333c277fc6e78f366408393155
Fixes: Bug #1195543
11 years agoMerge "Deprecate enable_tunneling in the OVS agent"
Jenkins [Sat, 29 Jun 2013 02:29:09 +0000 (02:29 +0000)]
Merge "Deprecate enable_tunneling in the OVS agent"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 28 Jun 2013 23:36:38 +0000 (23:36 +0000)]
Merge "Imported Translations from Transifex"

11 years agoSupport a timeout argument when instantiating a bigswitch plugin
Kanzhe Jiang [Fri, 28 Jun 2013 21:23:46 +0000 (14:23 -0700)]
Support a timeout argument when instantiating a bigswitch plugin

The timeout argument overwrites the timeout value set in the config file.
The change permits any standalone script to interact with the bigswitch controller
through the quantum plugin with customized timeout value without changing the plugin
behavior.

Fixes: bug #1195923
Change-Id: I17954e70d661e7e7d5156c34c08b7c96bb3203ce

11 years agofaster quantum-openvswitch-agent periodic reports
Peter Feiner [Tue, 18 Jun 2013 20:48:30 +0000 (20:48 +0000)]
faster quantum-openvswitch-agent periodic reports

One of two patches that fixes bug #1194438.

Instead of spawning ovs-vsctl for every port on br-int, we just dump the
required columns from the Interfaces table and grab the rows that we need. This
is a big win because the time it takes for ovs-vsctl to connect to the
openvswitch controller is orders of magnitude greater than the time it takes to
parse the rows. In practice, instead of taking roughly 1s per interface, the
agent's periodic task only takes 1s in total.

Change-Id: Idbf32c38e0c4a9c9634c1e4f0e79bd556b720493

11 years agodom0 rootwrap - case insensitive xenapi section
Mate Lakat [Fri, 28 Jun 2013 15:22:04 +0000 (16:22 +0100)]
dom0 rootwrap - case insensitive xenapi section

As per change https://review.openstack.org/33429 the config sections
became lowercase. This patch makes the quantum-rootwrap-xen-dom0
rootwrap to be case insensitive for the xenapi section.

This patch also changes the default config file to use a lowercase
xenapi section.

Fixes bug 1195781

Change-Id: Ic24feb1a9ad6f8823745b1febd4a0edd54e73498

11 years agoMerge "Improve readability for nvplib error messages."
Jenkins [Fri, 28 Jun 2013 16:49:25 +0000 (16:49 +0000)]
Merge "Improve readability for nvplib error messages."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 28 Jun 2013 12:11:54 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Id0d866b54429c147e7b0aef9b3d43e1265086ac7

11 years agoMerge "Ensure that the report state is not a blocking call"
Jenkins [Fri, 28 Jun 2013 12:07:03 +0000 (12:07 +0000)]
Merge "Ensure that the report state is not a blocking call"

11 years agoMerge "Port location tracking for BigSwitch Plugin"
Jenkins [Fri, 28 Jun 2013 11:01:42 +0000 (11:01 +0000)]
Merge "Port location tracking for BigSwitch Plugin"

11 years agoDeprecate enable_tunneling in the OVS agent
Kyle Mestery [Thu, 27 Jun 2013 11:28:51 +0000 (11:28 +0000)]
Deprecate enable_tunneling in the OVS agent

This patch properly deprecates the 'enable_tunneling' option in the OVS agent.
It does this be ignoring it if 'tunnel_types' is set, and if 'enable_tunneling'
is set, it defaults 'tunnel_types' to only GRE.

Fixes bug 1195374

Change-Id: I27fe6b930541a514fc51d3a6669347e52db8cb46

11 years agomove database config items into quantum.conf
Yong Sheng Gong [Wed, 26 Jun 2013 08:46:39 +0000 (16:46 +0800)]
move database config items into quantum.conf

Bug #1194784

This patch syncs all the DB configuration items into
quantum.conf and removes the related items of plugins' config
file to avoid duplication.

sqlite related sqlite_db and sqlite_synchronous are defined
in 'default' section, which I think is a defect. And it seems
quantum does not use sqlite_db item.

Change-Id: Ia47102ced0e4169f45f10b85311f298d8c026d31

11 years agoRemove reference to quantum cli in provider network extension
Aaron Rosen [Thu, 27 Jun 2013 19:00:24 +0000 (12:00 -0700)]
Remove reference to quantum cli in provider network extension

We don't need this info in the doc string as it is already in the admin
guide. If the CLI changes then we'll also have to update the doc string.

Fixes bug 1195429

Change-Id: If27788477c886f6faedbc5fca7856b683a6953f1

11 years agoMerge "Use 0.0.0.0/0 host route as router option"
Jenkins [Thu, 27 Jun 2013 16:59:33 +0000 (16:59 +0000)]
Merge "Use 0.0.0.0/0 host route as router option"

11 years agoFix logic for handling SNAT rules
Salvatore Orlando [Tue, 25 Jun 2013 01:59:26 +0000 (03:59 +0200)]
Fix logic for handling SNAT rules

Bug 1192610

Fixes and simplifies the logic for managing SNAT rules, based
on the assumption that a chain contains SNAT rules for a single
router.
It also fixes another small glitch with SNAT rules not being
removed when a gateway port is destroyed (the glitch did not
affect operations)

Change-Id: Ia95e375459a1f32e93bbe912a268a8ed13859c69

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 27 Jun 2013 12:11:56 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I5f7ebc55923e7d9f5132a93af9d4dfa18ccaa725

11 years agoEnsure that the report state is not a blocking call
Gary Kotton [Mon, 17 Jun 2013 11:37:11 +0000 (11:37 +0000)]
Ensure that the report state is not a blocking call

Fixes bug 1191768

For the dhcp and l3 agents the first state report will be done
via a call. If this succeeds then subsequent calls will be done via
the cast method.

Change-Id: I82a1d92fc84983b7bb46758db0aee3e3eca1d3be

11 years agoMerge "Require greenlet 0.3.2 (or later)"
Jenkins [Wed, 26 Jun 2013 19:46:09 +0000 (19:46 +0000)]
Merge "Require greenlet 0.3.2 (or later)"

11 years agoUse 0.0.0.0/0 host route as router option
Vishvananda Ishaya [Mon, 10 Jun 2013 21:37:26 +0000 (14:37 -0700)]
Use 0.0.0.0/0 host route as router option

There is a currently a hacky way to get the dhcp-agent to hand out a
gateway route using a host route on the subnet. If you pass a route
that has 0.0.0.0/0 as its destination, dnsmasq will pass it as a static
route. Unfortunately it will also pass the router option if the subnet
has a gateway set. This is inconsistent and precludes users from options
that are available in nova-network like using an external gateway.

This patch fixes things by allowing a 0.0.0.0/0 host route to override
the router setting passed by dnsmasq. This prevents the situation
where dnsmasq hands out two default routes.

Change-Id: Ia70223070bfd437f1c2eb48fde94491d7ee61fcb

11 years agoAdd support for moving ip/addresss/default gateway
Tomasz Paszkowski [Wed, 26 Jun 2013 12:40:46 +0000 (08:40 -0400)]
Add support for moving ip/addresss/default gateway

Add support from moving ip/addresss/default gateway from physical interface
which is going to be attached to bridge to bridge device itself.

Fixes: bug #1192122
Change-Id: I8a8bf5edc17a87dcb747626dd1d6817ac48cb20d

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 26 Jun 2013 12:11:55 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I6e296370ed88d24ed249d34e43b475e42c1574fa

11 years agoMerge "Update to use OSLO db"
Jenkins [Wed, 26 Jun 2013 07:36:21 +0000 (07:36 +0000)]
Merge "Update to use OSLO db"

11 years agoPort location tracking for BigSwitch Plugin
Kevin Benton [Mon, 24 Jun 2013 21:44:10 +0000 (14:44 -0700)]
Port location tracking for BigSwitch Plugin

Adds a new table to the Big Switch plugin to keep track of
the nova compute node host IDs that ports reside on.
This table is then used to allow users to override
the VIF type for a compute node based on the host ID.
This allows quantum to control an environment with multiple
VIF types.

Change-Id: I63eb66d970650237aed2d5dc6676a6d097988f8d
Implements: blueprint hostid-vif-override

11 years agoMerge "Do not raise NEW exceptions"
Jenkins [Tue, 25 Jun 2013 15:54:13 +0000 (15:54 +0000)]
Merge "Do not raise NEW exceptions"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 25 Jun 2013 12:11:50 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I336530a54ca7154d0de43eccb87bc5b1c2202097

11 years agoUpdate to use OSLO db
Gary Kotton [Sat, 20 Apr 2013 12:18:02 +0000 (12:18 +0000)]
Update to use OSLO db

This code implements the blueprint oslo-db-support

NOTES:
1. The new section is database (this is backward compatible
   with DATABASE)
2. The sql_* are deprecated. They are also backward compatible.
3. Eventlets DB pool is no longer supported

Change-Id: I6fa7c3817f6a5d8bef48382e0e754b88521f2289

11 years agoDo not raise NEW exceptions
Sergey Vilgelm [Mon, 24 Jun 2013 11:26:50 +0000 (15:26 +0400)]
Do not raise NEW exceptions

Raising NEW exception is bad practice, because we lose TraceBack.
So all places like:

except SomeException as e:
    raise e

should be replaced by

except SomeException:
    raise

If we are doing some other actions before reraising we should
store information about exception then do all actions and then
reraise it. This is caused by eventlet bug. It lost information
about exception if it switch threads.

fixes bug 1191730

Change-Id: Id4aaadde7e69f0bc087cf6d96bb041d53feb131d

11 years agoMerge "replace use of dhcp_lease_time with dhcp_lease_duration"
Jenkins [Tue, 25 Jun 2013 01:41:22 +0000 (01:41 +0000)]
Merge "replace use of dhcp_lease_time with dhcp_lease_duration"

11 years agoConverts 'router' section to lowercase in bigswitch config
Kevin Benton [Mon, 24 Jun 2013 22:06:35 +0000 (15:06 -0700)]
Converts 'router' section to lowercase in bigswitch config

The restproxy.ini file contained an uppercase section
which is converted to lowercase by this patch to match
existing naming conventions.

Change-Id: Ib8eb69406cae3898c4c9f3fd106f8c7ffef06f01
Fixes: bug #1194296
11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 24 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I9b95e89cfaf76537d98ada38fb795fbaf439c996

11 years agoRequire greenlet 0.3.2 (or later)
Dirk Mueller [Thu, 13 Jun 2013 07:57:53 +0000 (09:57 +0200)]
Require greenlet 0.3.2 (or later)

Version 0.3.2 resolves a bug that allowed generic "except
Exception:" clauses to catch GreenletExit exceptions.

bug 1097203

Change-Id: Ifc5a40dd1da8d115ccbe7fa4a948d12ff1c89099

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 23 Jun 2013 12:11:49 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I49837fb8f8771c532c2fd09d67598ad839a2f7a3

11 years agoMerge "Remove single-version-externally-managed in setup.cfg"
Jenkins [Sun, 23 Jun 2013 06:03:32 +0000 (06:03 +0000)]
Merge "Remove single-version-externally-managed in setup.cfg"

11 years agoRemove single-version-externally-managed in setup.cfg
Matt Riedemann [Fri, 21 Jun 2013 20:10:09 +0000 (13:10 -0700)]
Remove single-version-externally-managed in setup.cfg

The single-version-externally-managed flag is no longer
a config option in pbr, it is now the default behaviour
in normal setuptools.

Change-Id: I5173d78680afca534b28cefa155636d9d695b1d9

11 years agoAdds support for router rules to Big Switch plugin
Kevin Benton [Thu, 6 Jun 2013 21:40:45 +0000 (14:40 -0700)]
Adds support for router rules to Big Switch plugin

Implements: blueprint bsn-router-rules

Adds bigswitch plugin extension which adds 'rules' dictionary to router objects.
Adds validation code and database components to store router rules
Adds configuration option to plugin to set default router rules and max router rules
Adds unit tests to test all router rule functionality
Adds database migration for router rules tables

The Big Switch controller's Virtual Router implementation supports "routing rules"
which are of the form:
<source, destination, next-hop, action>
This extension aims to expose this abstraction via the Big Switch Quantum plugin.

These rules are applied at the router level, allowing tenants to control
communication between networks at a high level without requiring security policies.
(e.g. prevent servers in a publicly accessible subnet from communicating with
database servers).

Change-Id: I37a2740dca93b0a8b5111764458d39f1c2b885ce

11 years agoMerge "Always include tenant_id in port delete request"
Jenkins [Fri, 21 Jun 2013 15:38:12 +0000 (15:38 +0000)]
Merge "Always include tenant_id in port delete request"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 21 Jun 2013 15:34:32 +0000 (15:34 +0000)]
Merge "Imported Translations from Transifex"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 21 Jun 2013 12:11:54 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: If16f987872d2ccc00d7efe486b721d4702864220

11 years agoFix haproxy plugin_driver.update_health_monitor() signature
Oleg Bondarev [Thu, 13 Jun 2013 12:28:38 +0000 (16:28 +0400)]
Fix haproxy plugin_driver.update_health_monitor() signature

- add old_health_monitor parameter to the method
- the method signature in abstract lbaas driver was also changed
  to accept pool_id rather than an assoc object as driver only needs pool_id

Fixes bug 1190577

Change-Id: Ie199f46e089a16214ed649a3169e985a726e5d99

11 years agoMerge "Adds default route to DHCP namespace for upstream name resolution."
Jenkins [Thu, 20 Jun 2013 23:39:54 +0000 (23:39 +0000)]
Merge "Adds default route to DHCP namespace for upstream name resolution."

11 years agoMerge "Fix single-version-externally-mananged typo in setup.cfg"
Jenkins [Thu, 20 Jun 2013 20:01:11 +0000 (20:01 +0000)]
Merge "Fix single-version-externally-mananged typo in setup.cfg"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 20 Jun 2013 16:34:47 +0000 (16:34 +0000)]
Merge "Imported Translations from Transifex"

11 years agoFix single-version-externally-mananged typo in setup.cfg
Matt Riedemann [Thu, 20 Jun 2013 15:33:06 +0000 (08:33 -0700)]
Fix single-version-externally-mananged typo in setup.cfg

Corrects the typo in setup.cfg to use single-version-externally-managed
for pbr.

Fixes bug 1192987

Change-Id: I039b51897ec180148e5095349e4567759f2711a5

11 years agoMerge "Fix IP spoofing filter blocking all packets."
Jenkins [Thu, 20 Jun 2013 12:59:15 +0000 (12:59 +0000)]
Merge "Fix IP spoofing filter blocking all packets."

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 20 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I5981d9309ebfec257a82b579828af96c359fb85d

11 years agoreplace use of dhcp_lease_time with dhcp_lease_duration
Darren Birkett [Wed, 19 Jun 2013 12:37:02 +0000 (12:37 +0000)]
replace use of dhcp_lease_time with dhcp_lease_duration

Having 2 separate dhcp lease period flags (dhcp_lease_duration
used by the quantum db plugin, and dhcp_lease_time used by the
dnsmasq dhcp agent) means that you could potentially have different
lease periods being set, and used by different parts of the codebase.

It seems to me there is no real need to have 2 separate flags, so this
commit basically replaces references to dhcp_lease_time (which is used
by the dnsmasq dhcpagent) with dhcp_lease_duration. This way, there
is only one flag to set, and both the quantum db plugin and dnsmasq
dhcp agent will use the same lease period.

Change-Id: Ia99dfa9284b6e737144f61a80c59cd898c0949bb
Fixes: bug #1192550
11 years agoNicira plugin: Do not expect a minimum number of SNAT rules
Salvatore Orlando [Wed, 19 Jun 2013 22:51:29 +0000 (00:51 +0200)]
Nicira plugin: Do not expect a minimum number of SNAT rules

Bug 1192392

The code was assuming a SNAT rule for each subnet was always present
when clearing a gateway. If the SNAT rule was removed for some other
reason from the NVP backend, this would have led to the failure of
the whole operation; however, a failure won't have been necessary
in this case, as the final effect of the operation is to remove
the rules anyway.

Also, this patch ensures a quantum router is put in ERROR state if
it is not found on the NVP backend.

Change-Id: Iac1a61342b490d0d971b884e1aa8d9567b15cac0

11 years agoMake sure exceptions during policy checks are logged.
armando-migliaccio [Mon, 17 Jun 2013 20:33:46 +0000 (13:33 -0700)]
Make sure exceptions during policy checks are logged.

If the invocation of f bombs out, the policy check fails (i.e. returns
False), however it does not log the root cause, which makes very
difficult to understand why this is happening.

Fixes bug #1191948

Change-Id: Ic40053f3965b71199baf9fe3902e8ffc9745076f

11 years agoAdds default route to DHCP namespace for upstream name resolution.
Carl Baldwin [Fri, 31 May 2013 20:44:14 +0000 (20:44 +0000)]
Adds default route to DHCP namespace for upstream name resolution.

Any time the DHCP server is updated this code will maintain a default
route in the DHCP namespace using the gateway_ip attribute of the
first DHCP-enabled IPV4 subnet in the list of subnets where gateway_ip
is not None.  This strategy uses the same gateway ip that the DHCP
server hands to the VMs on the network.

Change-Id: I0807550a848e1b610c7775d215643ad9c83629ed
Fixes: Bug #1181378
11 years agoMerge "Fix TestNecAgentMain not to call sys.exit()"
Jenkins [Wed, 19 Jun 2013 14:25:33 +0000 (14:25 +0000)]
Merge "Fix TestNecAgentMain not to call sys.exit()"

11 years agoMerge "Reference default_servicetype group in lowercase"
Jenkins [Wed, 19 Jun 2013 13:36:26 +0000 (13:36 +0000)]
Merge "Reference default_servicetype group in lowercase"

11 years agoMerge "Allow use of lowercase section names in conf files"
Jenkins [Wed, 19 Jun 2013 13:35:29 +0000 (13:35 +0000)]
Merge "Allow use of lowercase section names in conf files"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 19 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ic05603ef37a6be3f5482f5b268958eedf4a6eaa1

11 years agoFix TestNecAgentMain not to call sys.exit()
Roman Bogorodskiy [Tue, 18 Jun 2013 17:12:27 +0000 (13:12 -0400)]
Fix TestNecAgentMain not to call sys.exit()

test_main() was calling sys.exit() killing test running
and not allowing tests to complete in a proper way.

Drop explicit sys.exit() call from net agent's main() and
fix outdated mocks in test_main().

Fixes bug #1192270

Change-Id: Iea8d5508f73eb9144e452de3305f2dec4c2a319c

11 years agoAlways include tenant_id in port delete request
Kevin Benton [Tue, 18 Jun 2013 19:10:07 +0000 (12:10 -0700)]
Always include tenant_id in port delete request

Quantum does not include the tenant_id in port objects for floating IP addresses.
However, the Big Switch backend requires the tenant_id in the port removal requests.
This looks up the correct tenant_id whenever it is missing in the port removal.

Change-Id: I7580ed2f545ad2d92b831b65dfbb34541bf465aa
Fixes: bug #1190020
11 years agoReference default_servicetype group in lowercase
Mark McLoughlin [Tue, 18 Jun 2013 10:44:06 +0000 (11:44 +0100)]
Reference default_servicetype group in lowercase

Now that we require oslo-config-1.2.0, we can start referencing group
names as lowercase. Let's start with the default_servicetype group.

We do this simply by changing the case of the group name passed to
register_opt():

  -cfg.CONF.register_opts(..., 'DEFAULT_SERVICETYPE')
  +cfg.CONF.register_opts(..., 'default_servicetype')

and this means that all options in the group now need to be referenced
using the lowercase group name i.e.

  -svc_defs = cfg.CONF.DEFAULT_SERVICETYPE.service_definition
  +svc_defs = cfg.CONF.default_servicetype.service_definition

Note however, users can still use the uppercase section name for
backwards compatibility.

When we last attempted to do this, oslo.config-1.2.0 wasn't actually
being installed correctly so add a unit test which verifies that both
uppercase and lowercase section names work.

Change-Id: I9357397f39d8f7d0d4f445b78aae5665c7ece3d4

11 years agoAllow use of lowercase section names in conf files
Mark McLoughlin [Tue, 18 Jun 2013 10:44:06 +0000 (11:44 +0100)]
Allow use of lowercase section names in conf files

Fixes bug #1189889

oslo.config-1.2.0 normalizes section names in config files to lowercase.
This means that simply by upgrading to oslo.config-1.2.0, users will now
be able to do e.g.

  [default_servicetype]
  description = ...
  service_definition = ...

Change the default config files to make it clear we recommend the use of
lowercase section names.

Note, the use of an alpha tarball of oslo.config requires pbr>=0.5.15
but we already require >=0.5.16.

DocImpact

Change-Id: Ia47fb3d168da71d3221b25979f8c9257d70dd64d

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 18 Jun 2013 12:11:53 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I7566406d89c2eda65be77306033f3034e3cb9abd

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 17 Jun 2013 12:11:55 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: I2574deaf76efd729c53b7a68632bbd62d629155d

11 years agoFix IP spoofing filter blocking all packets.
Anton Frolov [Fri, 14 Jun 2013 17:01:50 +0000 (21:01 +0400)]
Fix IP spoofing filter blocking all packets.

Implement IP spoofing filter by adding yet another chain to iptables
with RETURN rule for each of IP addresses assigned to port and DROP
rule at the end of the chain.

Fixes: bug #1190613
Change-Id: I2e7a0f8dd4c3519c57d28e87a44735a3482624b1

11 years agoCorrect log message in l3_rpc_agent_api
Akihiro MOTOKI [Sun, 16 Jun 2013 07:45:56 +0000 (16:45 +0900)]
Correct log message in l3_rpc_agent_api

Fixes bug #1191623

Change-Id: Ib692a62d6f557ab9a50da1d888e291e3e24871fb

11 years agoMerge "Require pbr 0.5.16 or newer"
Jenkins [Mon, 17 Jun 2013 02:26:52 +0000 (02:26 +0000)]
Merge "Require pbr 0.5.16 or newer"

11 years agoRequire pbr 0.5.16 or newer
Jordan Tardif [Sun, 16 Jun 2013 22:01:19 +0000 (15:01 -0700)]
Require pbr 0.5.16 or newer

Use a version of pbr greater then 0.5.15. Earlier versions have problems
when alpha tarballs are used as dependencies.

Fixes bug 1191155

Change-Id: I889358ae746761b282c5933c53bce10017be4c57

11 years agoMerge "Update to the latest stevedore"
Jenkins [Sun, 16 Jun 2013 14:01:11 +0000 (14:01 +0000)]
Merge "Update to the latest stevedore"

11 years agoUpdate to the latest stevedore
Gary Kotton [Sun, 16 Jun 2013 13:03:56 +0000 (13:03 +0000)]
Update to the latest stevedore

Use a version of stevedore that does not try to
install distribute.

The requirements change is in https://review.openstack.org/#/c/32738/

Change-Id: If39d886cb68044871617600650ef8546635143bc

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 16 Jun 2013 12:11:51 +0000 (12:11 +0000)]
Imported Translations from Transifex

Change-Id: Ia89635fa01778f8d4ae8695fce2e6dbd264ebd37

11 years agoMerge "set default for gw conn info in nvp_networkgw extension"
Jenkins [Sun, 16 Jun 2013 10:18:48 +0000 (10:18 +0000)]
Merge "set default for gw conn info in nvp_networkgw extension"