]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Delete disassociated floating ips on external network deletion"
Jenkins [Wed, 23 Apr 2014 15:45:53 +0000 (15:45 +0000)]
Merge "Delete disassociated floating ips on external network deletion"

10 years agoMerge "OFAgent: Improve handling of security group updates"
Jenkins [Wed, 23 Apr 2014 05:43:20 +0000 (05:43 +0000)]
Merge "OFAgent: Improve handling of security group updates"

10 years agoMerge "OFAgent: Process port_update notifications in the main agent loop"
Jenkins [Wed, 23 Apr 2014 05:43:09 +0000 (05:43 +0000)]
Merge "OFAgent: Process port_update notifications in the main agent loop"

10 years agoMerge "Make help texts more descriptive in Metaplugin"
Jenkins [Wed, 23 Apr 2014 03:23:51 +0000 (03:23 +0000)]
Merge "Make help texts more descriptive in Metaplugin"

10 years agoMerge "Fix H302 violations in db package and services"
Jenkins [Wed, 23 Apr 2014 02:46:43 +0000 (02:46 +0000)]
Merge "Fix H302 violations in db package and services"

10 years agoMerge "Enable flake8 E711 and E712 checking"
Jenkins [Wed, 23 Apr 2014 01:01:16 +0000 (01:01 +0000)]
Merge "Enable flake8 E711 and E712 checking"

10 years agoMerge "Updated from global requirements"
Jenkins [Tue, 22 Apr 2014 21:45:56 +0000 (21:45 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Cisco: Set correct nullable for switch_ip, instance_id, vlan_id"
Jenkins [Tue, 22 Apr 2014 19:40:36 +0000 (19:40 +0000)]
Merge "Cisco: Set correct nullable for switch_ip, instance_id, vlan_id"

10 years agoMerge "ip-lib : use "ip neigh replace" instead of "ip neigh add""
Jenkins [Tue, 22 Apr 2014 19:40:25 +0000 (19:40 +0000)]
Merge "ip-lib : use "ip neigh replace" instead of "ip neigh add""

10 years agoMerge "Remove RPC to plugin when dhcp sets default route"
Jenkins [Tue, 22 Apr 2014 19:25:01 +0000 (19:25 +0000)]
Merge "Remove RPC to plugin when dhcp sets default route"

10 years agoMerge "Ml2: Set correct nullable for admin_state_up"
Jenkins [Tue, 22 Apr 2014 19:24:29 +0000 (19:24 +0000)]
Merge "Ml2: Set correct nullable for admin_state_up"

10 years agoMerge "Validate IPv6 modes in API when IP version is 4"
Jenkins [Tue, 22 Apr 2014 18:16:50 +0000 (18:16 +0000)]
Merge "Validate IPv6 modes in API when IP version is 4"

10 years agoip-lib : use "ip neigh replace" instead of "ip neigh add"
mathieu-rohon [Tue, 22 Apr 2014 09:44:35 +0000 (11:44 +0200)]
ip-lib : use "ip neigh replace" instead of "ip neigh add"

Closes bug #1311002

Change-Id: Ie50bc0bff32b7f97ac317ccc2521bbea52d59ca3

10 years agoFix H302 violations in db package and services
Jakub Libosvar [Fri, 18 Apr 2014 13:22:45 +0000 (15:22 +0200)]
Fix H302 violations in db package and services

Change-Id: If5e07fa4529430ba90d9c7dd81d28ceeee00ebe0
Partial-Bug: #1291032

10 years agoCisco: Set correct nullable for switch_ip, instance_id, vlan_id
Ann Kamyshnikova [Tue, 22 Apr 2014 07:34:18 +0000 (11:34 +0400)]
Cisco: Set correct nullable for switch_ip, instance_id, vlan_id

Corrected the following model according to database
content:
 - NOT NULL for NexusPortBinding switch_ip and instance_id

In migrations folsom_initial was set incorrect nullable parameter:
- Set vlan_id NOT NULL in cisco_nexusport_bindings.

Partial-Bug: #1296282

Change-Id: Ie5315fcbf227025c30ab4a4b97ec2a140ee3923c

10 years agoMl2: Set correct nullable for admin_state_up
Ann Kamyshnikova [Tue, 22 Apr 2014 07:22:24 +0000 (11:22 +0400)]
Ml2: Set correct nullable for admin_state_up

In migrations 492a106273f8_brocade_ml2_mech_dri was set incorrect
nullable parameter:

Set admin_state_up NOT NULL in ml2_brocadeports.

Partial-Bug: #1296282

Change-Id: I051e37990ae3371978eeb1ff71e70ae2a44097bc

10 years agoMerge "gw_port should be set as lazy='join'"
Jenkins [Tue, 22 Apr 2014 03:09:31 +0000 (03:09 +0000)]
Merge "gw_port should be set as lazy='join'"

10 years agoMerge "ML2 Cisco Nexus MD: Improve Unit Test Coverage"
Jenkins [Tue, 22 Apr 2014 03:09:21 +0000 (03:09 +0000)]
Merge "ML2 Cisco Nexus MD: Improve Unit Test Coverage"

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 22 Apr 2014 01:49:26 +0000 (01:49 +0000)]
Updated from global requirements

Change-Id: I11182ae01c05ed104b064c2b68bcbf5a53e0da99

10 years agoMerge "Add nova_ca_certificates_file option to neutron"
Jenkins [Tue, 22 Apr 2014 01:42:15 +0000 (01:42 +0000)]
Merge "Add nova_ca_certificates_file option to neutron"

10 years agoMerge "Add support for https requests on nova metadata"
Jenkins [Tue, 22 Apr 2014 01:23:43 +0000 (01:23 +0000)]
Merge "Add support for https requests on nova metadata"

10 years agoMerge "ofa_neutron_agent: Fix _phys_br_block_untranslated_traffic"
Jenkins [Tue, 22 Apr 2014 01:23:31 +0000 (01:23 +0000)]
Merge "ofa_neutron_agent: Fix _phys_br_block_untranslated_traffic"

10 years agoMerge "allow delete_port to work when there are multiple floating ips"
Jenkins [Mon, 21 Apr 2014 22:51:52 +0000 (22:51 +0000)]
Merge "allow delete_port to work when there are multiple floating ips"

10 years agoMake help texts more descriptive in Metaplugin
Itsuro Oda [Wed, 16 Apr 2014 01:46:29 +0000 (10:46 +0900)]
Make help texts more descriptive in Metaplugin

This patch makes help texts of configuration parameters of
metaplugin.ini more descriptive. Comments in metaplugin.ini
are also improved.

Change-Id: I1fac888ecc223a7199cc9c9aeb603b7493f22171
Closes-Bug: #1283930

10 years agoMerge "Register LBaaS resources to quotas engine"
Jenkins [Mon, 21 Apr 2014 20:07:46 +0000 (20:07 +0000)]
Merge "Register LBaaS resources to quotas engine"

10 years agoMerge "NSX: sync thread catches wrong exceptions on not found"
Jenkins [Mon, 21 Apr 2014 17:16:24 +0000 (17:16 +0000)]
Merge "NSX: sync thread catches wrong exceptions on not found"

10 years agoML2 Cisco Nexus MD: Improve Unit Test Coverage
Rich Curran [Fri, 18 Apr 2014 21:09:08 +0000 (17:09 -0400)]
ML2 Cisco Nexus MD: Improve Unit Test Coverage

Improve unit test coverage for:
neutron/plugins/ml2/drivers/cisco/ modules.

Current coverage info:
neutron/plugins/ml2/drivers/cisco/nexus/nexus_models_v2      65%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver 82%
neutron/plugins/ml2/drivers/cisco/nexus/credentials_v2       81%
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus     78%
neutron/plugins/ml2/drivers/cisco/nexus/config               75%

With these updates:
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus     99%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_db_v2          99%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_models_v2      65%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver 98%
neutron/plugins/ml2/drivers/cisco/nexus/config               100%

NB: nexus_models_v2.py consists of database definitions and two
customization methods, __repr__ and __eq__.

Change-Id: I0de1cb9e71adffff698e37c8bec5497b88f0f0cd
Closes-Bug: 1267481

10 years agoallow delete_port to work when there are multiple floating ips
Lars Kellogg-Stedman [Fri, 4 Apr 2014 17:35:32 +0000 (13:35 -0400)]
allow delete_port to work when there are multiple floating ips

It is possible to associate multiple floating ip addresses with a single
port through the use of multiple *fixed* ip addresses, e.g.:

    nova boot ... --nic net-id=my-net-id myserver
    nova add-fixed-ip myserver my-net-id
    nova add-floating-ip --fixed-address x.x.x.1 myserver y.y.y.y.1
    nova add-floating-ip --fixed-address x.x.x.2 myserver y.y.y.y.2

In this situation, neutron.db.l3_db.disassociate_floatingips would throw
an exception:

    Exception: Multiple floating IPs found for port <port-id>

This would prevent someone from deleting an instance that was associated
with multiple floating ips.

This patch corrects disassociate_floatingips so that it will
disassociate all floating ips associated with the port, allowing the
delete operation to proceed correctly.

Change-Id: I68a2131fa8ee80828354c9db4ac405c3f77c3b90
Closes-bug: 1302701

10 years agoAdd nova_ca_certificates_file option to neutron
Paul Ward [Fri, 18 Apr 2014 19:57:38 +0000 (14:57 -0500)]
Add nova_ca_certificates_file option to neutron

Previously, neutron had no way to pass a certificates file to the
novaclient.  This change is to add that ability, similar to the way
you can pass a certificates file to neutronclient in nova.conf via
neturon_ca_certificates_file.

Change-Id: I1a3f85505eb44bee604900301af79d773e1952a3
Closes-Bug: #1309694

10 years agogw_port should be set as lazy='join'
armando-migliaccio [Fri, 18 Apr 2014 19:32:26 +0000 (12:32 -0700)]
gw_port should be set as lazy='join'

This forces the object to be ready ahead of accessing time.
The change in loading behavior is also beneficial while listing
routers, as reduces the amount of queries being issued. Tests
show a performance gain of 15-30% for router-list times.

As Mr. Aaron Rosen is used to saying: Woot woot!!

Closes-bug: #1309144

Change-Id: Ibae261b91de26ca7c50e3f6c80e9be2a799785a3

10 years agonetaddr<=0.7.10 raises ValueError instead of AddrFormatError
sridhargaddam [Fri, 18 Apr 2014 15:31:48 +0000 (21:01 +0530)]
netaddr<=0.7.10 raises ValueError instead of AddrFormatError

This patch is based on Aarons work for the Bug#1308675.
It ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.

Change-Id: I71cfe82e57290552fb22637ad929747a6fa22460
Closes-bug: #1308675

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Fri, 18 Apr 2014 15:36:02 +0000 (15:36 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB"
Jenkins [Fri, 18 Apr 2014 15:33:24 +0000 (15:33 +0000)]
Merge "ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB"

10 years agoMerge "Add 'ip neigh' to ip_lib"
Jenkins [Fri, 18 Apr 2014 15:09:34 +0000 (15:09 +0000)]
Merge "Add 'ip neigh' to ip_lib"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Fri, 18 Apr 2014 06:35:25 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Ica3d37f1b176233a75cd3a6fc2d6ff14859848e1

10 years agoMerge "netaddr<=0.7.10 raises ValueError instead of AddrFormatError"
Jenkins [Fri, 18 Apr 2014 06:05:15 +0000 (06:05 +0000)]
Merge "netaddr<=0.7.10 raises ValueError instead of AddrFormatError"

10 years agoMerge "Switch over to FixedIntervalLoopingCall"
Jenkins [Fri, 18 Apr 2014 05:42:29 +0000 (05:42 +0000)]
Merge "Switch over to FixedIntervalLoopingCall"

10 years agonetaddr<=0.7.10 raises ValueError instead of AddrFormatError
Aaron Rosen [Wed, 16 Apr 2014 18:31:25 +0000 (11:31 -0700)]
netaddr<=0.7.10 raises ValueError instead of AddrFormatError

This patch ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.

Change-Id: I595c90e42129a2d365f3860e3042e826bd031365
Closes-bug: #1308675

10 years agoValidate IPv6 modes in API when IP version is 4
Xuhan Peng [Tue, 15 Apr 2014 03:12:16 +0000 (11:12 +0800)]
Validate IPv6 modes in API when IP version is 4

Add a validation to ipv6_ra_mode and ipv6_address_mode with ip
version. An InvalidInput error is prompted when ipv6_ra_mode
or ipv6_address_mode is specified in subnet create and update
API and ip version is 4.

Change-Id: I9a0356f23e6b162c31f2d289a34f4bd261cee91e
Closes-Bug: 1307788

10 years agoAdd 'ip neigh' to ip_lib
rajeev [Wed, 16 Apr 2014 22:24:44 +0000 (18:24 -0400)]
Add 'ip neigh' to ip_lib

This change adds 'ip neigh add' and 'ip neigh delete' as
Ip Device commands

Partially-Implements: blueprint neutron-ovs-dvr
Change-Id: I59428e2fe28c6a632c232b47cc46c097c281f253

10 years agoOFAgent: Improve handling of security group updates
fumihiko kakuma [Sun, 13 Apr 2014 11:25:03 +0000 (20:25 +0900)]
OFAgent: Improve handling of security group updates

Port the following patch to OFAgent.
commit: 3046c4ae22b10f9e4fa83a47bfe089554d4a4681
https://review.openstack.org/#/c/63100/

Partial-Bug: 1293265

Change-Id: Iecdfee894ff2fd5f05f63f040dd70821af124737

10 years agoOFAgent: Process port_update notifications in the main agent loop
fumihiko kakuma [Sun, 16 Mar 2014 04:13:03 +0000 (13:13 +0900)]
OFAgent: Process port_update notifications in the main agent loop

Port the following patch to OFAgent.
commit: 5e6e592132aa9a98936ce3bfdb66efc7832caafb
https://review.openstack.org/#/c/61964/

Partial-Bug: 1293265

Change-Id: I53813d12c66dc746cd373fd91ff9bd9bdbf222db

10 years agoNSX: sync thread catches wrong exceptions on not found
Aaron Rosen [Thu, 17 Apr 2014 21:48:55 +0000 (14:48 -0700)]
NSX: sync thread catches wrong exceptions on not found

Previously the sync code expected exc.NoResultFound to be raised if a
port/router/network was not found in the database. This is actually not the
correct exception raised. This error will only occur if an element is deleted
from the db right when the sync thead is run for a specific element.

Change-Id: I3a5c8316ade49004fb9fa0b454435205c543f6ee
Closes-bug: 1309208

10 years agoNotifier: Catch NotFound error from nova
Aaron Rosen [Thu, 17 Apr 2014 20:42:39 +0000 (13:42 -0700)]
Notifier: Catch NotFound error from nova

If neutron sends a single event to nova and the server_uuid isn't found
in nova. The python-novaclient will raise a 404 error. This patch ensures
we explicitly catch that exception and use LOG.warning instead of LOG.exception
as this is not an error and can happen when deleting an instance if neutron
detects that the port_status goes down before the port is deleted because
nova first unplugs the vif and then deletes it from neutron.

Change-Id: I909025503fc88a92201d5247ae5223e4516e8707
Closes-bug: #1309187

10 years agoMerge "Support enhancements to Cisco CSR VPN REST APIs"
Jenkins [Thu, 17 Apr 2014 19:25:32 +0000 (19:25 +0000)]
Merge "Support enhancements to Cisco CSR VPN REST APIs"

10 years agoSwitch over to FixedIntervalLoopingCall
Dirk Mueller [Mon, 14 Apr 2014 15:08:37 +0000 (17:08 +0200)]
Switch over to FixedIntervalLoopingCall

LoopingCall has been renamed (without a change) to
FixedIntervalLoopingCall in https://review.openstack.org/#/c/26345/

Adjust to the new name so that the compatibility code can be removed.

Change-Id: I64f62dca5bee580dcd28860760208e9be8f4b659
Closes-Bug: #1307560

10 years agoMerge "Validate CIDR given as ip-prefix in security-group-rule-create"
Jenkins [Thu, 17 Apr 2014 11:17:44 +0000 (11:17 +0000)]
Merge "Validate CIDR given as ip-prefix in security-group-rule-create"

10 years agoMerge "Remove workaround for bug #1219530"
Jenkins [Thu, 17 Apr 2014 07:35:35 +0000 (07:35 +0000)]
Merge "Remove workaround for bug #1219530"

10 years agoMerge "Use different name for the same constraint"
Jenkins [Thu, 17 Apr 2014 05:29:23 +0000 (05:29 +0000)]
Merge "Use different name for the same constraint"

10 years agoValidate CIDR given as ip-prefix in security-group-rule-create
marios [Fri, 29 Nov 2013 16:23:54 +0000 (18:23 +0200)]
Validate CIDR given as ip-prefix in security-group-rule-create

There was no validation for the provided ip prefix. This just adds
a simple parse using netaddr and explodes with appropriate message.
Also makes sure ip prefix _is_ cidr (192.168.1.1-->192.168.1.1/32).

Validation occurs at the attribute level (API model) as well as at
the db level, where the ethertype is validated against the ip_prefix
address type.

Unit test cases added - bad prefix, unmasked prefix and incorrect
ethertype. Also adds attribute test cases for the added
convert_ip_prefix_to_cidr method

Change-Id: I71fb8c887963a122a5bd8cfdda800026c1cd3954
Closes-Bug: 1255338

10 years agoSupport enhancements to Cisco CSR VPN REST APIs
Paul Michali [Fri, 4 Apr 2014 19:14:36 +0000 (19:14 +0000)]
Support enhancements to Cisco CSR VPN REST APIs

Incorporate latest enhancements and fixes in Cisco CSR router REST API
to the VPNaaS device driver and unit test cases. Primarily, is support in
the REST API for different IKE and IPSec encryption algorithms, name length
error handling, disable of anti replay window, and IKE keep alive.

Also includes minor typos and comment fixes mentioned in previous reviews.

Note: notest_cisco_csr_rest.py, which tests the CSR REST client, is not
part of the UT suite yet, pending resolution of httmock package inclusion
as test requirement.

Change-Id: I931f487fbd4ead93a1648e89c9c383b3d55fc07c
Closes-Bug: 1303820

10 years agoMerge "Security Group rule validation for ICMP rules"
Jenkins [Wed, 16 Apr 2014 09:04:40 +0000 (09:04 +0000)]
Merge "Security Group rule validation for ICMP rules"

10 years agoMerge "Fixes Hyper-V agent security groups disabling"
Jenkins [Wed, 16 Apr 2014 06:15:25 +0000 (06:15 +0000)]
Merge "Fixes Hyper-V agent security groups disabling"

10 years agoMerge "Improved quota error message"
Jenkins [Wed, 16 Apr 2014 05:20:17 +0000 (05:20 +0000)]
Merge "Improved quota error message"

10 years agoMerge "Nuage Plugin: Delete router requires precommit checks"
Jenkins [Wed, 16 Apr 2014 05:20:07 +0000 (05:20 +0000)]
Merge "Nuage Plugin: Delete router requires precommit checks"

10 years agoMerge "Add support for multiple RPC workers under Metaplugin"
Jenkins [Wed, 16 Apr 2014 00:36:17 +0000 (00:36 +0000)]
Merge "Add support for multiple RPC workers under Metaplugin"

10 years agoNuage Plugin: Delete router requires precommit checks
ronak [Tue, 1 Apr 2014 01:09:42 +0000 (18:09 -0700)]
Nuage Plugin: Delete router requires precommit checks

There exist a case where deleting router from neutron without
deleting router-interface deletes router from VSD but not from neutron.
If router has an interface with subnet router deletion is not allowed.
Needs to precheck this condition before deleting router from
backend (VSD).

Change-Id: I4ba7eff399acda0427505328355dbfb931d62587
Closes-Bug: #1298635

10 years agoMerge "Remove device_exists in LinuxBridgeManager"
Jenkins [Tue, 15 Apr 2014 21:34:44 +0000 (21:34 +0000)]
Merge "Remove device_exists in LinuxBridgeManager"

10 years agoImproved quota error message
Shweta Patil [Thu, 13 Mar 2014 18:48:58 +0000 (11:48 -0700)]
Improved quota error message

Removed two negatives and showed a clear message when
tried to see quota of different tenants.
When a user who does not belong to a project tries to access the
quota of that project, the message that gets displayed is not clear.
In this change the user would understand the error more properly.

Change-Id: I2284df07687bb530fe06fbaab38e2971826b7b40
Closes-Bug: #1288915

10 years agoMerge "Start using oslosphinx theme for docs"
Jenkins [Tue, 15 Apr 2014 11:16:29 +0000 (11:16 +0000)]
Merge "Start using oslosphinx theme for docs"

10 years agoRemove device_exists in LinuxBridgeManager
rossella [Fri, 4 Apr 2014 09:55:11 +0000 (11:55 +0200)]
Remove device_exists in LinuxBridgeManager

LinuxBridgeManager is adding a device_exists method instead of
using the one in ip_lib as the rest of the codebase

Change-Id: Ibeb95be76a1e1b20c69841e708c2a2cbf1cbe05a
Closes-Bug: #1302463

10 years agoAdd support for multiple RPC workers under Metaplugin
Itsuro Oda [Wed, 2 Apr 2014 04:24:42 +0000 (13:24 +0900)]
Add support for multiple RPC workers under Metaplugin

Metaplugin needs a fix to support multiple RPC workers properly
because a plugin which supports multiple RPC workers cannot
initialize RPC connections at plugin initialization.

Closes-Bug: #1300570
Change-Id: I584f70abb8969054cd4edc8f914d00f6be930bab

10 years agoMerge "DHCP agent should check interface is UP before adding route"
Jenkins [Mon, 14 Apr 2014 21:01:16 +0000 (21:01 +0000)]
Merge "DHCP agent should check interface is UP before adding route"

10 years agoMerge "Allow combined certificate/key files for SSL"
Jenkins [Mon, 14 Apr 2014 19:08:02 +0000 (19:08 +0000)]
Merge "Allow combined certificate/key files for SSL"

10 years agoSecurity Group rule validation for ICMP rules
sridhargaddam [Thu, 3 Apr 2014 13:00:07 +0000 (18:30 +0530)]
Security Group rule validation for ICMP rules

Currently there is no validation in Security Group rules
when an ICMP rule is added with icmp code alone. A rule
is getting added but there is a mismatch between SG rules
and the corresponding iptables rule that is added.
This patch does the necessary validation on the input.

Closes-Bug: #1301838
Change-Id: I510abac4c426f68ea57c99a5fef3da4058f88797

10 years agoMerge "Fix LBaaS Haproxy occurs error if no member is added"
Jenkins [Mon, 14 Apr 2014 14:44:35 +0000 (14:44 +0000)]
Merge "Fix LBaaS Haproxy occurs error if no member is added"

10 years agoMerge "Add nova_api_insecure flag to neutron"
Jenkins [Mon, 14 Apr 2014 14:39:46 +0000 (14:39 +0000)]
Merge "Add nova_api_insecure flag to neutron"

10 years agoDHCP agent should check interface is UP before adding route
rossella [Mon, 7 Apr 2014 15:53:34 +0000 (15:53 +0000)]
DHCP agent should check interface is UP before adding route

The DHCP agent should check not only that an interface for
network's DHCP exists but also make sure that is UP before
adding a default route.
For this purpose a method "ensure_device_is_ready" was
added to ip_lib.

Change-Id: I9af06aa0f39634fe7b63c064337cd4191db5c026
Closes-bug: #1302312

10 years agoRemove workaround for bug #1219530
Yuriy Taraday [Mon, 7 Apr 2014 15:54:46 +0000 (19:54 +0400)]
Remove workaround for bug #1219530

Bug #1219530 has been fixed before Havana. We can remove this workaround.

Closes-Bug: #1307472
Change-Id: Ib0b1abf7d11627045be922f79aff6b80448ccbf4

10 years agoMerge "Reschedule router if new external gateway is on other network"
Jenkins [Mon, 14 Apr 2014 09:43:34 +0000 (09:43 +0000)]
Merge "Reschedule router if new external gateway is on other network"

10 years agoFix LBaaS Haproxy occurs error if no member is added
berlin [Fri, 11 Apr 2014 00:04:47 +0000 (08:04 +0800)]
Fix LBaaS Haproxy occurs error if no member is added

If no member is added and session_persistence.type=HTTP_COOKIE,
haproxy agent would not add cookie persistence option to the backend.
Closes-Bug: #1302283

Change-Id: Ifa2564df924c2555225a749a99c705b3f1caab4a

10 years agoMerge "Typographical correction of Arista ML2 help"
Jenkins [Sun, 13 Apr 2014 23:22:13 +0000 (23:22 +0000)]
Merge "Typographical correction of Arista ML2 help"

10 years agoAdd functional tests to verify ovs_lib VXLAN detection
Kyle Mestery [Tue, 1 Apr 2014 20:17:40 +0000 (20:17 +0000)]
Add functional tests to verify ovs_lib VXLAN detection

This commit adds a functional test to verify host VXLAN support. It compares
the results of this functional test with the logic in ovs_lib to ensure both
report the same values.

Closes-Bug: #1301101

Change-Id: Id91c755d762bea134cc451952d0f13d64576663a

10 years agoAdd nova_api_insecure flag to neutron
Paul Ward [Sat, 12 Apr 2014 15:18:18 +0000 (10:18 -0500)]
Add nova_api_insecure flag to neutron

Neutron did not have any way to allow SSL validation problems in the
novaclient similar to the way nova has the neutron_api_insecure flag.
This change adds the nova_api_insecure flag to the neutron config and
also passes it in the novaclient instantiation.

Change-Id: Ifed581df253c01fab9dc1f22c8187876271b378e
Closes-Bug: #1306822

10 years agoMerge "Verify ML2 type driver exists before calling del"
Jenkins [Sun, 13 Apr 2014 13:05:03 +0000 (13:05 +0000)]
Merge "Verify ML2 type driver exists before calling del"

10 years agoMerge "Edge driver: Improve exception handling"
Jenkins [Sun, 13 Apr 2014 12:16:22 +0000 (12:16 +0000)]
Merge "Edge driver: Improve exception handling"

10 years agoMerge "Properly apply column default in migration pool_monitor_status"
Jenkins [Sun, 13 Apr 2014 09:40:39 +0000 (09:40 +0000)]
Merge "Properly apply column default in migration pool_monitor_status"

10 years agoAllow combined certificate/key files for SSL
Kevin Benton [Sun, 6 Apr 2014 11:08:25 +0000 (11:08 +0000)]
Allow combined certificate/key files for SSL

Allows the ssl_key_file parameter to be excluded
during SSL operation to support combined certificate/key files.

Closes-Bug: #1303312
Change-Id: Ied5c7a7657e0e26eda31305fc96104c6593e9593

10 years agoVerify ML2 type driver exists before calling del
Kevin Benton [Sun, 6 Apr 2014 11:57:36 +0000 (04:57 -0700)]
Verify ML2 type driver exists before calling del

Verifies that an ML2 type driver exists for a given
segment type before attempting to call the release_segment
method on it. Logs an error if a type driver is not
found.

This covers the case where a segment is created with
a given type and then ML2 is reconfigured without
support for that type.

DocImpact
The ML2 documentation should be updated with a warning
that disabling a network type driver and re-enabling
it later may lead to possible DB inconsistencies.

Closes-Bug: #1292102
Change-Id: I65a35abf3ed57347bb6e8fee228f8c0697217c00

10 years agoMerge "Fix dangling patches in Cisco and Midonet tests"
Jenkins [Sun, 13 Apr 2014 09:17:35 +0000 (09:17 +0000)]
Merge "Fix dangling patches in Cisco and Midonet tests"

10 years agoMerge "Make default nova_url use a version"
Jenkins [Sun, 13 Apr 2014 08:05:28 +0000 (08:05 +0000)]
Merge "Make default nova_url use a version"

10 years agoFix dangling patches in Cisco and Midonet tests
Kevin Benton [Sat, 12 Apr 2014 21:27:36 +0000 (21:27 +0000)]
Fix dangling patches in Cisco and Midonet tests

Cisco Nexus Tests:
Explicitly stops the patch to sys.modules immediately
after use to fix sporadic failures caused by the patch
not being handled correctly by mock.patch.stopall.

Midonet Interface Test:
Removes the double-patch of the 'device_exists' method
in ip_lib.

Closes-Bug: #1307025
Closes-Bug: #1307038
Change-Id: Ie22505bb8e406a61e40819d60c76d229916a6e01

10 years agoMerge "Edge firewall: improve exception handling"
Jenkins [Sat, 12 Apr 2014 19:59:40 +0000 (19:59 +0000)]
Merge "Edge firewall: improve exception handling"

10 years agoMake default nova_url use a version
Dan Prince [Thu, 10 Apr 2014 16:40:13 +0000 (12:40 -0400)]
Make default nova_url use a version

The default nova_url for neutron is missing an API
version number. This can cause requests to fail
because the Nova /versions API cannot respond
to Neutron notification requests.

It seems reasonable for the default value to
at least have a chance at being correct so
this patch upgrades the default Nova API url to
use the Nova 'v2' API.

Related-bug: #1298640
Change-Id: Ib1449de84fbc01fb704ebfe4a016ac8f4932be96

10 years agoMerge "VMware: log backend port creation in the right place"
Jenkins [Fri, 11 Apr 2014 20:50:38 +0000 (20:50 +0000)]
Merge "VMware: log backend port creation in the right place"

10 years agoMerge "Fix typo in comment"
Jenkins [Fri, 11 Apr 2014 20:40:12 +0000 (20:40 +0000)]
Merge "Fix typo in comment"

10 years agoML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB
Rich Curran [Thu, 10 Apr 2014 21:11:32 +0000 (17:11 -0400)]
ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB

The nexus switch information is retrieved from a dictionary created
at initialization. The ML2 cisco credentials database in not needed.

Change-Id: I723293de9f2b821a011db2ad9176a945fef72ee0
Closes-Bug: 1284676

10 years agoMerge "NSX plugin: fix get_gateway_devices"
Jenkins [Fri, 11 Apr 2014 15:03:04 +0000 (15:03 +0000)]
Merge "NSX plugin: fix get_gateway_devices"

10 years agoMerge "lb-agent: fix get_interfaces_on_bridge returning None"
Jenkins [Fri, 11 Apr 2014 14:09:59 +0000 (14:09 +0000)]
Merge "lb-agent: fix get_interfaces_on_bridge returning None"

10 years agoMerge "Remove mock.patch.stop from tests that inherit from BaseTestCase"
Jenkins [Fri, 11 Apr 2014 13:49:51 +0000 (13:49 +0000)]
Merge "Remove mock.patch.stop from tests that inherit from BaseTestCase"

10 years agoMerge "BigSwitch: Create router ports synchronously"
Jenkins [Fri, 11 Apr 2014 00:11:38 +0000 (00:11 +0000)]
Merge "BigSwitch: Create router ports synchronously"

10 years agoNSX plugin: fix get_gateway_devices
Salvatore Orlando [Thu, 10 Apr 2014 23:55:51 +0000 (16:55 -0700)]
NSX plugin: fix get_gateway_devices

Fixes the error and adds relevant unit tests.
Also fixes get_gateway_devices signature for allowing
paging and sorting.

Closes-Bug: 1306301

Change-Id: Icb52a764e111365beaf4dc4fb4a5b8970a6cf887

10 years agoMerge "Update ensure()/reconnect() to catch MessagingError"
Jenkins [Thu, 10 Apr 2014 16:04:06 +0000 (16:04 +0000)]
Merge "Update ensure()/reconnect() to catch MessagingError"

10 years agoRegister LBaaS resources to quotas engine
Evgeny Fedoruk [Thu, 10 Apr 2014 15:01:19 +0000 (08:01 -0700)]
Register LBaaS resources to quotas engine

Adding register_quotas=True argument to
resource_helper.build_resource_info() function
in order to register LBaaS resources to quotas engine

This change is actually a continuation of https://review.openstack.org/#/c/69803
change which was already approved

Change-Id: Ib75027ce4a1bea3d453f57b107d29546ec6743e5
Closes-Bug: #1305957

10 years agoMerge "ML2 Cisco Nexus MD: Support portchannel interfaces"
Jenkins [Thu, 10 Apr 2014 14:29:21 +0000 (14:29 +0000)]
Merge "ML2 Cisco Nexus MD: Support portchannel interfaces"

10 years agoMerge "Fixes Hyper-V agent security group ICMP rules"
Jenkins [Thu, 10 Apr 2014 12:42:10 +0000 (12:42 +0000)]
Merge "Fixes Hyper-V agent security group ICMP rules"

10 years agoRemove mock.patch.stop from tests that inherit from BaseTestCase
rossella [Thu, 10 Apr 2014 09:33:43 +0000 (09:33 +0000)]
Remove mock.patch.stop from tests that inherit from BaseTestCase

The tests that inherit from BaseTestCase don't need to stop their
patches, since this is already done in the base class

Change-Id: Ibb1183e521686d6e948046997b32f4044d91d9e7
Closes-bug: #1305656

10 years agoReschedule router if new external gateway is on other network
Oleg Bondarev [Wed, 16 Oct 2013 13:51:04 +0000 (17:51 +0400)]
Reschedule router if new external gateway is on other network

An L3 agent may be associated with just one external network.
If router's new external gateway is on other network then the router
needs to be rescheduled to the proper l3 agent

Change-Id: Ia0ed924403137ac4578ca562b57988292c41c1fe
Closes-Bug: #1234750

10 years agoMerge "Remove "reuse_existing" from setup method in dhcp.py"
Jenkins [Thu, 10 Apr 2014 11:15:55 +0000 (11:15 +0000)]
Merge "Remove "reuse_existing" from setup method in dhcp.py"

10 years agoUpdate ensure()/reconnect() to catch MessagingError
Russell Bryant [Wed, 9 Apr 2014 15:32:44 +0000 (11:32 -0400)]
Update ensure()/reconnect() to catch MessagingError

The error handling code that gets connections reset if necessary
caught ConnectionError. It really needs to catch MessagingError,
which ConnectionError inherits from. There are other types of
MessagingErrors that may occur, such as InternalError, and they need
to cause the connection to reset, as well.

This fix has already been merged into oslo.messaging.

--

Cherry-picked from oslo-incubator 234f64d608266f43d8856ff98c89ceba6699d752
See also https://bugzilla.redhat.com/show_bug.cgi?id=1086077

Closes-bug: #1303890
Change-Id: Ic5082b74a362ded8b35cbc75cf178fe6e0db62d0