]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Allowed Addresspairs: Removing check for overlap with fixed ips"
Jenkins [Mon, 26 May 2014 10:05:23 +0000 (10:05 +0000)]
Merge "Allowed Addresspairs: Removing check for overlap with fixed ips"

10 years agoMerge "Reorg table ml2_port_bindings when db migration"
Jenkins [Mon, 26 May 2014 09:10:03 +0000 (09:10 +0000)]
Merge "Reorg table ml2_port_bindings when db migration"

10 years agoMerge "Cisco APIC ML2 mechanism driver, part 2"
Jenkins [Mon, 26 May 2014 04:47:43 +0000 (04:47 +0000)]
Merge "Cisco APIC ML2 mechanism driver, part 2"

10 years agoMerge "Fix non-existent 'assert' calls to mocks"
Jenkins [Mon, 26 May 2014 04:47:31 +0000 (04:47 +0000)]
Merge "Fix non-existent 'assert' calls to mocks"

10 years agoMerge "Remove all mostly untranslated PO files"
Jenkins [Sun, 25 May 2014 08:34:33 +0000 (08:34 +0000)]
Merge "Remove all mostly untranslated PO files"

10 years agoMerge "Extraroute extension support for nuage plugin"
Jenkins [Sat, 24 May 2014 21:36:06 +0000 (21:36 +0000)]
Merge "Extraroute extension support for nuage plugin"

10 years agoMerge "Metadata agent caches networks for routers"
Jenkins [Fri, 23 May 2014 13:14:45 +0000 (13:14 +0000)]
Merge "Metadata agent caches networks for routers"

10 years agoExtraroute extension support for nuage plugin
ronak [Thu, 15 May 2014 14:38:43 +0000 (07:38 -0700)]
Extraroute extension support for nuage plugin

Nuage's VSP supports adding static-route to L3 Domain
which fits nicely with extraroute extension supported
by openstack's neutron. This set of change enables that.

Change-Id: Icd4d95b9077056c33c7509fe45966ff2a04cd923
Implements: blueprint extraroute-ext-support-for-nuage-plugin

10 years agoCisco APIC ML2 mechanism driver, part 2
Arvind Somya [Thu, 13 Feb 2014 17:57:50 +0000 (09:57 -0800)]
Cisco APIC ML2 mechanism driver, part 2

    This set of changes introduces a mechanism driver for the
    Cisco APIC. This is the second and final part of a 2 part commit.
    Please see the blueprint for more information.

    The review is submitted in two parts:
    - Part 1 (Posted earlier, required for Part 2)
        o APIC REST Client
        o APIC data model and migration script
        o APIC configurations
    - Part 2 (this commit)
        o APIC mechanism driver
        o APIC manager

    Partially implements: blueprint ml2-cisco-apic-mechanism-driver

Change-Id: I5ed3ac133146635083e2d0093057b43b64f347fe

10 years agoMerge "NSX: allow net-migration only in combined mode"
Jenkins [Thu, 22 May 2014 19:51:20 +0000 (19:51 +0000)]
Merge "NSX: allow net-migration only in combined mode"

10 years agoMerge "Common decorator for caching methods"
Jenkins [Thu, 22 May 2014 19:27:35 +0000 (19:27 +0000)]
Merge "Common decorator for caching methods"

10 years agoRemove all mostly untranslated PO files
Andreas Jaeger [Thu, 22 May 2014 16:48:04 +0000 (18:48 +0200)]
Remove all mostly untranslated PO files

We now only import PO files that are at least 75 % translated,
so we can delete now all other PO files. The patch only
removes the mostly untranslated files. Once a file becomes mostly
translated, the bot will import it again.

This removes all languages besides en_US.

Change-Id: If1700477e01b8ccf515c140597f47caf2b81c803
Closes-Bug: #1317794

10 years agoMerge "Metaclass Python 3.x Compatibility"
Jenkins [Thu, 22 May 2014 15:42:59 +0000 (15:42 +0000)]
Merge "Metaclass Python 3.x Compatibility"

10 years agoMerge "NSX: get rid of the last Nicira/NVP bits"
Jenkins [Thu, 22 May 2014 15:25:04 +0000 (15:25 +0000)]
Merge "NSX: get rid of the last Nicira/NVP bits"

10 years agoMerge "Do not defer IPTables apply in firewall path"
Jenkins [Thu, 22 May 2014 14:39:47 +0000 (14:39 +0000)]
Merge "Do not defer IPTables apply in firewall path"

10 years agoNSX: get rid of the last Nicira/NVP bits
armando-migliaccio [Tue, 20 May 2014 21:21:36 +0000 (14:21 -0700)]
NSX: get rid of the last Nicira/NVP bits

These were kept for bw compatibility in Icehouse, but
these are removed in Juno.

The king is dead, long live the king!

DocImpact
Blueprint: nicira-plugin-renaming

Change-Id: I49d19fec90ba191ed5b895fac8a884070f52119e

10 years agoMetadata agent caches networks for routers
Jakub Libosvar [Thu, 30 Jan 2014 14:27:02 +0000 (15:27 +0100)]
Metadata agent caches networks for routers

During cloud-init there are several calls that asks neutron API for the
same data which will not be most likely changed. Specifically router's
networks are cached.

Closes-bug: #1276440
Change-Id: Ic5eedb8057c7f4934eed08869ebf55c91e6edfc9

10 years agoCommon decorator for caching methods
Jakub Libosvar [Tue, 11 Feb 2014 14:59:06 +0000 (15:59 +0100)]
Common decorator for caching methods

Decorator caches methods' results, the key is composed from function
name and its parameters. Implementation of cache itself should be in
object implementing decorated method. Cache backend should be taken
from oslo-incubator.

Related-Bug: #1276440
Change-Id: Ibe3f1b2eb10b9601ad76ec24b7f0e3551b4013e2

10 years agoMerge "NSX: Do not extend fault map for network gateway ext"
Jenkins [Wed, 21 May 2014 23:16:47 +0000 (23:16 +0000)]
Merge "NSX: Do not extend fault map for network gateway ext"

10 years agoMerge "NSX: Do a single query for all gateway devices"
Jenkins [Wed, 21 May 2014 23:16:39 +0000 (23:16 +0000)]
Merge "NSX: Do a single query for all gateway devices"

10 years agoMake pid file locking non-blocking
Ryan Moe [Fri, 2 May 2014 20:08:45 +0000 (13:08 -0700)]
Make pid file locking non-blocking

fcntl.flock will block indefinitely if another process holds an exclusive
lock. A non-blocking flock operation will raise an error when a lock already
exists so we can fail immediately.

Closes-bug: 1315507
Change-Id: Icf97b1f8643157719b3d28ac2c0c1576a5069697

10 years agoAllowed Addresspairs: Removing check for overlap with fixed ips
Praveen Yalagandula [Tue, 20 May 2014 21:10:12 +0000 (21:10 +0000)]
Allowed Addresspairs: Removing check for overlap with fixed ips

Current code does not allow assigning a fixed ip to a port when that ip
overlaps with one of the addresses in the allowed-addresspairs list.
This is an unnecessary check as the overlap does not have any negative
effect. Further, such a check actually makes it hard to use this
API. For example, if a fixed IP 10.10.1.1 exists on a port and we
want to allow addresses in 10.10.1.0/24 cidr on that port, then one
has to configure a list of 8 cidrs ([10.10.1.0/32, 10.10.1.2/31,
10.10.1.4/30, ..., 10.10.1.128/25]) on the allowed-addresspairs.
In addition to the above reasons, the current code also does not
check for the overlaps in all cases.

This patch summarily removes this overlap check.

Closes-Bug: #1321864
Change-Id: I5498c4a72b31267644da10a54a9860c1fc3bb250

10 years agoDo not defer IPTables apply in firewall path
Rajesh Mohan [Wed, 21 May 2014 02:41:26 +0000 (19:41 -0700)]
Do not defer IPTables apply in firewall path

By default, iptables apply is deferred in L3 agent. For
external gateways, iptables is applied immediately (to
enable NAT for floating IP). Similarly, when firewall
is created/updated/deleted, iptable rules are applies
immediately.

Change-Id: I4f652a030ae23a71a2e20af2e8ef0ad5b882b80e
Closes-Bug: #1320775

10 years agoMetaclass Python 3.x Compatibility
Steven Gonzales [Mon, 12 May 2014 14:51:13 +0000 (07:51 -0700)]
Metaclass Python 3.x Compatibility

According to the OpenStack style guide
(http://docs.openstack.org/developer/hacking/),
for Python 3.x compatibility use "six.add_metaclass"
instead of " __metaclass__."

Closes-Bug: #1236648
Change-Id: I2f507a90ee08cc05bd764549002a4656c187b6fc

10 years agoMerge "Add missing translation support"
Jenkins [Wed, 21 May 2014 17:48:56 +0000 (17:48 +0000)]
Merge "Add missing translation support"

10 years agoMerge "Remove hard dependency on novaclient"
Jenkins [Wed, 21 May 2014 13:59:17 +0000 (13:59 +0000)]
Merge "Remove hard dependency on novaclient"

10 years agoMerge "Restore GARP by default for floating IPs"
Jenkins [Wed, 21 May 2014 13:58:52 +0000 (13:58 +0000)]
Merge "Restore GARP by default for floating IPs"

10 years agoFix non-existent 'assert' calls to mocks
Kevin Benton [Mon, 19 May 2014 06:58:58 +0000 (06:58 +0000)]
Fix non-existent 'assert' calls to mocks

Fixes calls to non-existent 'assert' methods
called on mock objects.

Closes-Bug: #1320774
Change-Id: I7eab28fc9b23cbb39d5507ff3e8004a493c90bed

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 21 May 2014 04:48:07 +0000 (04:48 +0000)]
Merge "Imported Translations from Transifex"

10 years agoRemove hard dependency on novaclient
Terry Wilson [Tue, 20 May 2014 15:58:32 +0000 (10:58 -0500)]
Remove hard dependency on novaclient

The nova notification patch introduces a hard dependency on
novaclient when it is a runtime-configurable dependency. The
import from novaclient should be conditional on the
appropriate nova notification options being enabled in the
config.

Change-Id: I2ef4bfa4d53afc7e8c800ad8e2a8737e117af238
Closes-Bug: #1321352

10 years agoProvide way to reserve dhcp port during failovers
Ed Bak [Fri, 7 Mar 2014 17:16:15 +0000 (17:16 +0000)]
Provide way to reserve dhcp port during failovers

This change provides a way to save the dhcp port when failing
over a network from one dhcp agent to another.  When a
dhcp-agent-network-remove is issued, the dhcp port device_id is
marked as reserved which causes it to not be deleted. When a
subsequent dhcp-agent-network-add is issued, the reserved port
is used and the device_id is corrected.  This is desirable
in order to maintain the dhcp port ip address so that dns doesn't
get impacted. Unit test added.

Change-Id: I531d7ffab074b01adfe186d2c3df43ca978359cd
Closes-Bug: #1288923

10 years agoMerge "Implement local ARP responder onto OVS agent"
Jenkins [Tue, 20 May 2014 14:41:56 +0000 (14:41 +0000)]
Merge "Implement local ARP responder onto OVS agent"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 20 May 2014 06:54:41 +0000 (06:54 +0000)]
Imported Translations from Transifex

Change-Id: I270dd8e25975d51b012976c669a2ea7fb626b22d

10 years agoMerge "Ensure tenant owns devices when creating a gateway"
Jenkins [Mon, 19 May 2014 22:54:44 +0000 (22:54 +0000)]
Merge "Ensure tenant owns devices when creating a gateway"

10 years agoMerge "Adding tenant-id while creating Radware ADC service"
Jenkins [Mon, 19 May 2014 22:49:20 +0000 (22:49 +0000)]
Merge "Adding tenant-id while creating Radware ADC service"

10 years agoMerge "Allow vlan type usage for OpenDaylight ml2"
Jenkins [Mon, 19 May 2014 22:47:07 +0000 (22:47 +0000)]
Merge "Allow vlan type usage for OpenDaylight ml2"

10 years agoMerge "Fix typos in ovs_neutron_agent.py"
Jenkins [Mon, 19 May 2014 22:23:59 +0000 (22:23 +0000)]
Merge "Fix typos in ovs_neutron_agent.py"

10 years agoMerge "NSX: do not raise on missing router during migration step"
Jenkins [Mon, 19 May 2014 22:05:35 +0000 (22:05 +0000)]
Merge "NSX: do not raise on missing router during migration step"

10 years agoImplement local ARP responder onto OVS agent
Édouard Thuleau [Mon, 6 Jan 2014 12:58:39 +0000 (13:58 +0100)]
Implement local ARP responder onto OVS agent

With ML2 plugin and l2-pop mechanism driver, it's possible to locally
answer to the ARP request of the VM and avoid ARP broadcasting emulation
on overlay which is costly.

When this functionality is enabled, the OVS flows logic evolves to [1].
This functionality was introduce in 2.1 OVS branch [2].

A README is added to describe l2-pop mechanism driver and the agents
particularities.

[1] https://wiki.openstack.org/wiki/Ovs-flow-logic#OVS_flows_logic_with_local_ARP_responder
[2] http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f6c8a6b163af343c66aea54953553d84863835f7

DocImpact: New OVS agent flag 'arp_responder' set to false by default
Closes-Bug: #1237427
Change-Id: Ic28610faf2df6566d8d876fcd7aed333647970e2

10 years agoFix typos in ovs_neutron_agent.py
Chuck [Sat, 17 May 2014 20:06:56 +0000 (13:06 -0700)]
Fix typos in ovs_neutron_agent.py

Comments, doc strings, and log messages fixed

Closes-Bug: 1320547
Change-Id: I1cea722ef1839826bdfb12ff15226b97d2f217f9

10 years agoMerge "NSX: fix error when creating VM ports on subnets without dhcp"
Jenkins [Mon, 19 May 2014 18:39:02 +0000 (18:39 +0000)]
Merge "NSX: fix error when creating VM ports on subnets without dhcp"

10 years agoAllow vlan type usage for OpenDaylight ml2
Sam Hague [Fri, 2 May 2014 18:08:09 +0000 (14:08 -0400)]
Allow vlan type usage for OpenDaylight ml2

The initial OpenDaylight integration with Openstack did not support
vlan isolation so it was not included as a valid type. This change
adds the vlan type as allowed.

Also modified tests to include vlan as supported in the
check_segment().

DocImpact:
Use of VLANs with ML2 and the OpenDaylight mechanism driver
requires OpenDaylight Helium or newer to be installed.

Closes-Bug: #1315475
Change-Id: I52e3c9bfdc93b8786c58954beca105e7498e3f40

10 years agoMerge "Unit test cases for quota_db.py"
Jenkins [Mon, 19 May 2014 15:52:05 +0000 (15:52 +0000)]
Merge "Unit test cases for quota_db.py"

10 years agoNSX: do not raise on missing router during migration step
armando-migliaccio [Mon, 28 Apr 2014 21:18:06 +0000 (14:18 -0700)]
NSX: do not raise on missing router during migration step

Return None for missing router rather raising NotFound exception;
this is what the client code was expected to handle in the first
place.

Closes-bug: 1313918

Change-Id: I573770a69d0170b027fc990c29aaa87b1fc8eccc

10 years agoNSX: fix error when creating VM ports on subnets without dhcp
armando-migliaccio [Tue, 6 May 2014 01:39:55 +0000 (18:39 -0700)]
NSX: fix error when creating VM ports on subnets without dhcp

The error was caused by a missing LSN port (which is created when
the subnet is setup with dhcp enabled). Therefore, check the port
is in place before proceeding with the setup.

Change-Id: I658ead0c324a24ad3f061844ecac13cd3359d341
Closes-bug: 1316365

10 years agoNSX: allow net-migration only in combined mode
armando-migliaccio [Tue, 29 Apr 2014 01:27:04 +0000 (18:27 -0700)]
NSX: allow net-migration only in combined mode

To allow migration of networks from the agent based model
to the agentless one, both modes need to be available; prior
to this change the extension was available in 'agentless' mode
too; this may lead to leftovers during the migration step.
This patch makes the extension available in 'combined' mode
only, which was the intended behavior.

Closes-bug: #1313985

Change-Id: I491ee3eaf25fc30c0ab4092ee198802a6b06d91d

10 years agoAdd missing translation support
Gary Kotton [Thu, 1 May 2014 13:10:57 +0000 (06:10 -0700)]
Add missing translation support

Update a number of files to add missing translation support.

The patch adds a new hacking check - N320. This ensures that
all log messages, except debug ones, have translations.

A '# noqa' indicates that the validation will not be done on
the specific log message. This should be used in cases where
the translations do not need to be done, for example, the log
message is logging raw data.

Change-Id: I3e1fdd04d87b09dff50950b5e85f5cacfb29afdc
Closes-bug: #1314994

10 years agoMerge "Fix issubclass() hook behavior in PluginInterface"
Jenkins [Mon, 19 May 2014 10:10:53 +0000 (10:10 +0000)]
Merge "Fix issubclass() hook behavior in PluginInterface"

10 years agoMerge "LBaaS VIP doesn't work after delete and re-add"
Jenkins [Mon, 19 May 2014 10:10:33 +0000 (10:10 +0000)]
Merge "LBaaS VIP doesn't work after delete and re-add"

10 years agoMerge "Add mailmap entry"
Jenkins [Mon, 19 May 2014 09:54:08 +0000 (09:54 +0000)]
Merge "Add mailmap entry"

10 years agoReorg table ml2_port_bindings when db migration
wangbo [Mon, 12 May 2014 07:18:03 +0000 (15:18 +0800)]
Reorg table ml2_port_bindings when db migration

For DB2, there are restrictions on table access
after ALTER TABLE statements containing
REORG-recommended operations.
Table will be placed in "reorg pending" state
after some continuous alter table operations.
Need run reorg table to make the table available.
More info refer to:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp
?topic=%2Fcom.ibm.db2.udb.admin.doc%2Fdoc%2Fc0023297.htm

Change-Id: I7fdd61bb4d636d7a3260c0b23152f1f3083cdcfd
Fixes: bug #1318498
10 years agoRemove unused parameter
shihanzhang [Sat, 17 May 2014 09:07:33 +0000 (17:07 +0800)]
Remove unused parameter

Remove parameter agent_ip of _add_fdb_flow() and _del_fdb_flow()
Change-Id: I2df05026944bcfc446ce5a951df6696a95c2c663

10 years agoMerge "OVS lib defer apply doesn't handle concurrency"
Jenkins [Sat, 17 May 2014 16:14:30 +0000 (16:14 +0000)]
Merge "OVS lib defer apply doesn't handle concurrency"

10 years agoMerge "Corrected the syntax of port_update call to NVSD agent"
Jenkins [Sat, 17 May 2014 09:29:46 +0000 (09:29 +0000)]
Merge "Corrected the syntax of port_update call to NVSD agent"

10 years agoMerge "Performance improvement of router routes operations"
Jenkins [Sat, 17 May 2014 09:13:58 +0000 (09:13 +0000)]
Merge "Performance improvement of router routes operations"

10 years agoNSX: Do a single query for all gateway devices
Salvatore Orlando [Fri, 16 May 2014 15:12:18 +0000 (08:12 -0700)]
NSX: Do a single query for all gateway devices

When creating a network gateway, do a single query for all
gateway devices, rather than a distinct query for each device.

Change-Id: I9e66539eb36ae75d3dcdd8a9073d2a2f69447e98
Closes-Bug: 1320278

10 years agoAdd mailmap entry
Morgan Fainberg [Wed, 7 May 2014 19:10:48 +0000 (12:10 -0700)]
Add mailmap entry

Add mailmap entry for my email address

Change-Id: Ia46c28c86ef3f440556b1b027d2bf0a7f3e721c5

10 years agoNSX: Do not extend fault map for network gateway ext
Salvatore Orlando [Wed, 14 May 2014 14:23:55 +0000 (07:23 -0700)]
NSX: Do not extend fault map for network gateway ext

Most of the exceptions defined for this extension already extend
an exception-mapped class. This patch ensures this is true for
every exception and then removes the fault map extension code.

Change-Id: Ifdd9b6d3892cff2d076bdab3a2a1252923e3f85d
Closes-Bug: 1319423

10 years agoEnsure tenant owns devices when creating a gateway
Salvatore Orlando [Wed, 14 May 2014 22:15:05 +0000 (15:15 -0700)]
Ensure tenant owns devices when creating a gateway

This patch adds an ownership check in the create_gateway method.
This kind of check can hardly be enforced leveraging the policy engine.

Change-Id: Iffdc9c570d688f824374281b37efd23761883d26
Closes-Bug: 1319583

10 years agoMerge "Improve ODL ML2 Exception Handling"
Jenkins [Wed, 14 May 2014 21:17:44 +0000 (21:17 +0000)]
Merge "Improve ODL ML2 Exception Handling"

10 years agoMerge "Perform policy checks only once on list responses"
Jenkins [Wed, 14 May 2014 20:52:47 +0000 (20:52 +0000)]
Merge "Perform policy checks only once on list responses"

10 years agoMerge "Upgrade failure for DB2 at ml2_binding_vif_details"
Jenkins [Wed, 14 May 2014 16:07:02 +0000 (16:07 +0000)]
Merge "Upgrade failure for DB2 at ml2_binding_vif_details"

10 years agoCorrected the syntax of port_update call to NVSD agent
kedar kulkarni [Tue, 13 May 2014 06:31:52 +0000 (12:01 +0530)]
Corrected the syntax of port_update call to NVSD agent

The parameters passed to the agent rpc port_update call in
NVSD plugin were wrong. It is corrected now.

Change-Id: I9ec8f74695b6ca813ffad9e33502d9a2e0bd1f92
Closes-Bug: 1318909

10 years agoMerge "NSX: pass the right argument during metadata setup"
Jenkins [Wed, 14 May 2014 00:45:32 +0000 (00:45 +0000)]
Merge "NSX: pass the right argument during metadata setup"

10 years agoFix issubclass() hook behavior in PluginInterface
Roman Podoliaka [Wed, 16 Apr 2014 10:59:33 +0000 (13:59 +0300)]
Fix issubclass() hook behavior in PluginInterface

Currently, PluginInterface provides an issubclass() hook that returns
True for issubclass(A, B) call, if all abstract methods of B (stored
in B.__abstractmethods__) can be found in the A.__mro__ tuple of
classes. But there is an edge case, when B doesn't have any abstract
methods, which leads to issubclass(A, B) call returning True even if
A and B are not related all.

E.g. issubclass(NeutronPluginPLUMgridV2, NsxPlugin) returns True,
while these two are different core plugins. And it gets even more
trickier when superclasses are involved: e.g. SecurityGroupDbMixin is
a superclass of NsxPlugin, so depending on the fact whether the
python module with NsxPlugin class is imported or not,
issubclass(NeutronPluginPLUMgridV2, SecurityGroupDbMixin) will return
either False or True accordingly.

Closes-Bug: #1308489

Change-Id: I92711a00a19b89729ccdba9cbd8a2e7a2d2868ed

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 12 May 2014 06:54:01 +0000 (06:54 +0000)]
Imported Translations from Transifex

Change-Id: Id03cc0a2d92654f617cd99465f81c5523a016c96

10 years agoMerge "Allow DHCPv6 solicit from VM"
Jenkins [Mon, 12 May 2014 06:05:25 +0000 (06:05 +0000)]
Merge "Allow DHCPv6 solicit from VM"

10 years agoLBaaS VIP doesn't work after delete and re-add
LipingMao [Wed, 2 Apr 2014 07:34:31 +0000 (07:34 +0000)]
LBaaS VIP doesn't work after delete and re-add

When delete and re-add the same vip, we need to send gratuitous ARP
to flush the ARP cache in the Router.

Change-Id: Id97088abb95f4433a100abdae8c8726b3be42ed2
Closes-Bug: 1301165

10 years agoOVS lib defer apply doesn't handle concurrency
Édouard Thuleau [Mon, 3 Mar 2014 17:08:33 +0000 (18:08 +0100)]
OVS lib defer apply doesn't handle concurrency

The OVS lib deferred apply methods use a dict to save flows to add,
modify or delete when deffered apply is switched off.
If another thread adds, modifies or deletes flows on that dict during
another process called deffered_apply_off, its flows could be ignored.

This fix stash reference flows list and point the flows list to a new
cleared flows list. Then, it applies flows from the stashed flows list.

Closes-bug: #1263866
Change-Id: Ia3c6ce181e1599d1474da7eb944feff7d84f1d73

10 years agoMerge "ML2 VxlanTypeDriver: Synchronize of VxlanAllocation table"
Jenkins [Sat, 10 May 2014 09:42:00 +0000 (09:42 +0000)]
Merge "ML2 VxlanTypeDriver: Synchronize of VxlanAllocation table"

10 years agoMerge "Make plugin deallocation check optional"
Jenkins [Sat, 10 May 2014 07:15:52 +0000 (07:15 +0000)]
Merge "Make plugin deallocation check optional"

10 years agoMerge "eswitch_neutron_agent: Whitespace fixes in comments"
Jenkins [Sat, 10 May 2014 02:57:16 +0000 (02:57 +0000)]
Merge "eswitch_neutron_agent: Whitespace fixes in comments"

10 years agoMerge "Updated from global requirements"
Jenkins [Fri, 9 May 2014 22:46:23 +0000 (22:46 +0000)]
Merge "Updated from global requirements"

10 years agoMake plugin deallocation check optional
Maru Newby [Fri, 9 May 2014 22:24:45 +0000 (22:24 +0000)]
Make plugin deallocation check optional

The fix for memory leakage in the related bug added a check for plugin
deallocation that performed a call to gc.collect() after every test.
This had the side-effect of increasing test execution time by ~50%, so
this patch makes the check optional via an environment variable
(OS_CHECK_PLUGIN_DEALLOCATION).

It may make sense to create a periodic job that runs with the check
enabled, but otherwise the check can be used by developers for
debugging purposes.

Change-Id: I9ebe663abbc4e4ff3a62d807d5a3230c2ecccd07
Related-Bug: #1234857

10 years agoMerge "Add support to dynamically upload drivers in PLUMgrid plugin"
Jenkins [Fri, 9 May 2014 21:22:55 +0000 (21:22 +0000)]
Merge "Add support to dynamically upload drivers in PLUMgrid plugin"

10 years agoMerge "Ensure core plugin deallocation after every test"
Jenkins [Fri, 9 May 2014 21:22:47 +0000 (21:22 +0000)]
Merge "Ensure core plugin deallocation after every test"

10 years agoMerge "Big Switch: Check source_address attribute exists"
Jenkins [Fri, 9 May 2014 19:02:05 +0000 (19:02 +0000)]
Merge "Big Switch: Check source_address attribute exists"

10 years agoRestore GARP by default for floating IPs
Salvatore Orlando [Fri, 9 May 2014 10:05:46 +0000 (03:05 -0700)]
Restore GARP by default for floating IPs

Restore the default value of the send_arp_for_ha configuration
parameter to 3. This parameter was set to 0 by default to
prevent kernel crashes due to bug 1273386.

Change-Id: Idbdc6ff687734776ede45127878af6ad9b8b3ca1
Closes-Bug: 1317834

10 years agoEnsure core plugin deallocation after every test
Maru Newby [Wed, 7 May 2014 22:41:40 +0000 (22:41 +0000)]
Ensure core plugin deallocation after every test

The unit tests were previously consuming an excessive amount of memory
(4GB+) due to plugin instances persisting in memory.  Deallocation was
not possible where a combination of circular references and mocking
was involved.  This patch ensures that only NeutronManager holds a
plugin reference and that all other references are instances of
weakref.proxy.  Residual memory footprint for tox executed on a
12-core machine has been reduced to ~1.3GB.  Plugin deallocation is
validated at the end of each test to prevent regressions.

This change also includes fixes to unit tests that depended on plugin
instances persisting across tests.

Partial-Bug: #1234857
Change-Id: Ia1f868c2d206eb72ef77d290d054f3c48ab58c94

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 9 May 2014 02:24:03 +0000 (02:24 +0000)]
Updated from global requirements

Change-Id: I724ef5f13fd7444ea053bd29fbefda2f73897353

10 years agoMerge "Revert "Big Switch: Check source_address attribute exists""
Jenkins [Fri, 9 May 2014 02:22:49 +0000 (02:22 +0000)]
Merge "Revert "Big Switch: Check source_address attribute exists""

10 years agoMerge "NSX: ensure that no LSN is created on external networks"
Jenkins [Fri, 9 May 2014 02:22:41 +0000 (02:22 +0000)]
Merge "NSX: ensure that no LSN is created on external networks"

10 years agoMerge "Revert "Disable debug messages when running unit tests""
Jenkins [Fri, 9 May 2014 00:01:23 +0000 (00:01 +0000)]
Merge "Revert "Disable debug messages when running unit tests""

10 years agoMerge "Make VPNaaS 'InUse' exception more clear"
Jenkins [Fri, 9 May 2014 00:01:15 +0000 (00:01 +0000)]
Merge "Make VPNaaS 'InUse' exception more clear"

10 years agoBig Switch: Check source_address attribute exists
Kevin Benton [Thu, 8 May 2014 23:33:06 +0000 (16:33 -0700)]
Big Switch: Check source_address attribute exists

Check that the source_address attribute exists on
HTTPSConnection objects before referencing it since
it's not present on python 2.6 deployments. If it
does not exist, create a socket connection without
specifying the source.

Closes-Bug: #1316382
Change-Id: Ica10d23cc6de81ae56f711937f208c7321c77f36

10 years agoRevert "Big Switch: Check source_address attribute exists"
Kevin Benton [Thu, 8 May 2014 22:47:31 +0000 (15:47 -0700)]
Revert "Big Switch: Check source_address attribute exists"

This reverts commit 0dde14c0cd6ffea8ebff715342852ef17a9c0b70.

This fix only addressed part of the problem. The socket call
in python 2.6 does not accept an extra source address arg
either.

Change-Id: I4df4f66e9db0da1a8923ee37e918718f3bcf26ee
Partial-Bug: #1316382

10 years agoMerge "Drop service* tables only if they exist"
Jenkins [Thu, 8 May 2014 18:13:58 +0000 (18:13 +0000)]
Merge "Drop service* tables only if they exist"

10 years agoMerge "Remove duplicate module-rgx line in .pylintrc"
Jenkins [Thu, 8 May 2014 17:39:27 +0000 (17:39 +0000)]
Merge "Remove duplicate module-rgx line in .pylintrc"

10 years agoMerge "Reference new get_engine() method from wsgi.py"
Jenkins [Thu, 8 May 2014 17:29:23 +0000 (17:29 +0000)]
Merge "Reference new get_engine() method from wsgi.py"

10 years agoMerge "lbaas on a network without gateway"
Jenkins [Thu, 8 May 2014 16:58:31 +0000 (16:58 +0000)]
Merge "lbaas on a network without gateway"

10 years agoMerge "Fix H302 violations"
Jenkins [Thu, 8 May 2014 16:54:08 +0000 (16:54 +0000)]
Merge "Fix H302 violations"

10 years agoMerge "Remove explicit dependency on amqplib"
Jenkins [Thu, 8 May 2014 14:03:48 +0000 (14:03 +0000)]
Merge "Remove explicit dependency on amqplib"

10 years agoMerge "Start ping listener also for postgresql"
Jenkins [Thu, 8 May 2014 13:37:27 +0000 (13:37 +0000)]
Merge "Start ping listener also for postgresql"

10 years agoML2 VxlanTypeDriver: Synchronize of VxlanAllocation table
Eugene Nikanorov [Thu, 8 May 2014 11:19:02 +0000 (15:19 +0400)]
ML2 VxlanTypeDriver: Synchronize of VxlanAllocation table

At neutron startup VxlanTypeDriver syncs tunnel range from conf
to DB. In case multiple servers deployment restarting several
servers at the same time could lead to DB exceptions being thrown.
Need to synchronize between neutron servers by locking VxlanAllocation
table.

Change-Id: Idf9908f039070b9194612484603f592f1a8d74b8
Closes-Bug: #1307295

10 years agoStart ping listener also for postgresql
Salvatore Orlando [Thu, 8 May 2014 08:37:17 +0000 (01:37 -0700)]
Start ping listener also for postgresql

Make use of the automatic connection disposal for
PostgreSQL as well.

oslo-incubator commit: 4a591eaafe035fa3fd508c910f057bfa8ff51005

Change-Id: I6e6adb612968639dbc8deae31e5409aac44e340e
Closes-Bug: 1288438

10 years agoMerge "Database exception causes UnboundLocalError in linuxbridge-agent"
Jenkins [Thu, 8 May 2014 07:43:43 +0000 (07:43 +0000)]
Merge "Database exception causes UnboundLocalError in linuxbridge-agent"

10 years agoMerge "L3 RPC loop could delete a router on concurrent update"
Jenkins [Wed, 7 May 2014 15:32:39 +0000 (15:32 +0000)]
Merge "L3 RPC loop could delete a router on concurrent update"

10 years agoNSX: ensure that no LSN is created on external networks
armando-migliaccio [Tue, 6 May 2014 21:00:26 +0000 (14:00 -0700)]
NSX: ensure that no LSN is created on external networks

Logical Service Nodes (LSN) are those that provide dhcp
and metadata services to networks when the NSX plugin is
used without the openstack dhcp and metadata proxy
agents. External networks do not work with Neutron's
dhcp and metadata services, therefore there is no need
to provision a LSN in this case.

Added UT to avoid regression.

Closes-bug: #1316795

Change-Id: I3dab0c9cbecdd9296466c991d02d590d6bd5bd49

10 years agoMake VPNaaS 'InUse' exception more clear
Eugene Nikanorov [Tue, 6 May 2014 11:35:04 +0000 (15:35 +0400)]
Make VPNaaS 'InUse' exception more clear

In case IpSecPolicy or IKEPolicy is updated while VPN connection that uses it
is already established, IPsecPolicyInUse or IKEPolicuInUse is raised.
Need to clarify their messages to emphasize that policies can't be updated
because they are used by established connection.

Change-Id: I259f9b8bcff7f8ec13ac630285f6e881c6653309
Closes-Bug: #1315809

10 years agoRemove explicit dependency on amqplib
Dirk Mueller [Mon, 5 May 2014 15:45:43 +0000 (17:45 +0200)]
Remove explicit dependency on amqplib

kombu already depends on amqp or amqplib depending on its
version, and no explicit access to amqplib exists in neutron code.

Closes-Bug: #1317094
Change-Id: I5cf189d7173b732cba6df3f9b6aff1d2bb85cdfe