]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoFixed auth_protocol to be http
Thomas Goirand [Fri, 29 Jan 2016 05:26:57 +0000 (05:26 +0000)]
Fixed auth_protocol to be http

8 years agoDo not -X/usr/bin when calling dh_install.
Thomas Goirand [Fri, 29 Jan 2016 04:31:03 +0000 (04:31 +0000)]
Do not -X/usr/bin when calling dh_install.

8 years agoAllow unit test to fail, because they do in Trusty.
Thomas Goirand [Thu, 28 Jan 2016 07:35:29 +0000 (07:35 +0000)]
Allow unit test to fail, because they do in Trusty.

8 years agoBumped EPOCH to align with Ubuntu.
Thomas Goirand [Thu, 28 Jan 2016 07:34:42 +0000 (07:34 +0000)]
Bumped EPOCH to align with Ubuntu.

8 years agoFixed config file generation.
Thomas Goirand [Thu, 21 Jan 2016 15:24:14 +0000 (15:24 +0000)]
Fixed config file generation.

8 years agoFails build on unit test failures.
Thomas Goirand [Thu, 21 Jan 2016 03:01:42 +0000 (03:01 +0000)]
Fails build on unit test failures.

8 years agoFixed min version for python-debtcollector
Thomas Goirand [Thu, 21 Jan 2016 02:17:46 +0000 (02:17 +0000)]
Fixed min version for python-debtcollector

8 years agoRemoved neutron-common.links (for symlink to /var/lib/quantum).
Thomas Goirand [Wed, 20 Jan 2016 13:41:43 +0000 (13:41 +0000)]
Removed neutron-common.links (for symlink to /var/lib/quantum).

8 years agoRemoved final dot in short desc.
Thomas Goirand [Wed, 20 Jan 2016 13:38:46 +0000 (13:38 +0000)]
Removed final dot in short desc.

8 years agoRemoved all shlibs:Depends from debian/control.
Thomas Goirand [Wed, 20 Jan 2016 13:35:05 +0000 (13:35 +0000)]
Removed all shlibs:Depends from debian/control.

8 years agoFixed too long lines in long description.
Thomas Goirand [Wed, 20 Jan 2016 13:31:33 +0000 (13:31 +0000)]
Fixed too long lines in long description.

8 years agoFixed debian/copyright
Thomas Goirand [Wed, 20 Jan 2016 13:29:00 +0000 (13:29 +0000)]
Fixed debian/copyright

8 years agoFixed create dirs before calling oslo-config-generator
Thomas Goirand [Wed, 20 Jan 2016 13:06:15 +0000 (13:06 +0000)]
Fixed create dirs before calling oslo-config-generator

8 years agoFixed call to oslo-config-generator
Thomas Goirand [Wed, 20 Jan 2016 13:01:47 +0000 (13:01 +0000)]
Fixed call to oslo-config-generator

8 years agoDo not delete debian/tmp/usr/lib
Thomas Goirand [Wed, 20 Jan 2016 13:00:28 +0000 (13:00 +0000)]
Do not delete debian/tmp/usr/lib

8 years agoFixed ovs -> openvswitch depends.
Thomas Goirand [Wed, 20 Jan 2016 12:39:58 +0000 (12:39 +0000)]
Fixed ovs -> openvswitch depends.

8 years agoexport OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.
Thomas Goirand [Wed, 20 Jan 2016 10:47:57 +0000 (10:47 +0000)]
export OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.

8 years ago * Using oslo-config-generator to generate config files, as upstream moved to
Thomas Goirand [Wed, 20 Jan 2016 10:45:54 +0000 (10:45 +0000)]
  * Using oslo-config-generator to generate config files, as upstream moved to
    use that as well.

8 years ago * Added extend-diff-ignore = "^[^/]*[.]egg-info/" in d/source/options.
Thomas Goirand [Wed, 20 Jan 2016 10:04:46 +0000 (10:04 +0000)]
  * Added extend-diff-ignore = "^[^/]*[.]egg-info/" in d/source/options.
  * Did some cleanups in debian/rules.

8 years agoFixed (build-)depends for this release.
Thomas Goirand [Wed, 20 Jan 2016 09:57:08 +0000 (17:57 +0800)]
Fixed (build-)depends for this release.

8 years agoMerge tag '8.0.0_b2' into debian/mitaka
Thomas Goirand [Wed, 20 Jan 2016 09:47:20 +0000 (17:47 +0800)]
Merge tag '8.0.0_b2' into debian/mitaka

neutron 8.0.0.0b2 development milestone

meta:version: 8.0.0.0b2
meta:series: mitaka
meta:release-type: development milestone
meta:announce: openstack-announce@lists.openstack.org

8 years agoNow packaging 8.0.0~b2
Thomas Goirand [Wed, 20 Jan 2016 09:47:05 +0000 (17:47 +0800)]
Now packaging 8.0.0~b2

8 years agoMerge "Add support for neutron-full and api jobs using pecan to gate_hook"
Jenkins [Tue, 19 Jan 2016 11:15:14 +0000 (11:15 +0000)]
Merge "Add support for neutron-full and api jobs using pecan to gate_hook"

8 years agoMerge "gate_hook: add support for dsvm-plus job type"
Jenkins [Tue, 19 Jan 2016 07:04:58 +0000 (07:04 +0000)]
Merge "gate_hook: add support for dsvm-plus job type"

8 years agoMerge "DVR: Optimize getting arp entry info"
Jenkins [Tue, 19 Jan 2016 03:48:58 +0000 (03:48 +0000)]
Merge "DVR: Optimize getting arp entry info"

8 years agoRemove dead method _get_router_ids
lzklibj [Mon, 18 Jan 2016 03:34:31 +0000 (11:34 +0800)]
Remove dead method _get_router_ids

No place is using _get_router_ids, it is dead method now.
And for l3_db.Router related query, it always based on certain
filters, such as on which host, extra attribute is distributed
or HA. While this method cannot fix those requirements.

Method _get_router_ids is created in patch
I35eae975209316aad6b2c97c909dce385729864d , its purpose is to
avoid DB query to fetch full data for routers while only id is
needed. But in patch Ie561b19a2e58a2a563d79b75421e9e24c70f36f9 ,
its caller was removed, but seems we forget to remove this dead
method at that time.

Change-Id: I924e3e652deea2f89c4aaf1fd780e467ea81b843

8 years agoDVR: Optimize getting arp entry info
Dongcan Ye [Tue, 12 Jan 2016 12:42:01 +0000 (20:42 +0800)]
DVR: Optimize getting arp entry info

Grab duplicated code in add_arp_entry and del_arp_entry.

Change-Id: I579d66ec734627dec08df6fba750a3e237600a5c

8 years agoMerge "Register RA and PD config options in l3-agent"
Jenkins [Sun, 17 Jan 2016 23:00:35 +0000 (23:00 +0000)]
Merge "Register RA and PD config options in l3-agent"

8 years agoMerge "Refactor router delete processing"
Jenkins [Sun, 17 Jan 2016 22:10:14 +0000 (22:10 +0000)]
Merge "Refactor router delete processing"

8 years agoMerge "Fix the duplicated references"
Jenkins [Sun, 17 Jan 2016 20:36:42 +0000 (20:36 +0000)]
Merge "Fix the duplicated references"

8 years agoMerge "Add opnfv tag to the list of auto-complete tags"
Jenkins [Sun, 17 Jan 2016 20:35:15 +0000 (20:35 +0000)]
Merge "Add opnfv tag to the list of auto-complete tags"

8 years agoMerge "devstack: use stevedore entry point for flavor service plugin"
Jenkins [Sat, 16 Jan 2016 19:50:12 +0000 (19:50 +0000)]
Merge "devstack: use stevedore entry point for flavor service plugin"

8 years agoAdd support for neutron-full and api jobs using pecan to gate_hook
Doug Wiegley [Fri, 15 Jan 2016 16:43:51 +0000 (10:43 -0600)]
Add support for neutron-full and api jobs using pecan to gate_hook

Change-Id: I21ad2a901c59bb58327b5e502cf9e848b3506b56

8 years agoMerge "DVR: when updating port's fixed_ips, update arp"
Jenkins [Sat, 16 Jan 2016 17:24:20 +0000 (17:24 +0000)]
Merge "DVR: when updating port's fixed_ips, update arp"

8 years agoMerge "Move L2populationDbMixin to module-level functions"
Jenkins [Sat, 16 Jan 2016 17:23:29 +0000 (17:23 +0000)]
Merge "Move L2populationDbMixin to module-level functions"

8 years agoMerge "Updated from global requirements"
Jenkins [Sat, 16 Jan 2016 14:19:03 +0000 (14:19 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Make sure datapath_type is updated on bridges changed"
Jenkins [Sat, 16 Jan 2016 14:14:14 +0000 (14:14 +0000)]
Merge "Make sure datapath_type is updated on bridges changed"

8 years agoMerge "fix get_ha_sync_data_for_host for non-dvr agent"
Jenkins [Sat, 16 Jan 2016 14:09:28 +0000 (14:09 +0000)]
Merge "fix get_ha_sync_data_for_host for non-dvr agent"

8 years agoMerge "Fix get_subnet_for_dvr() to return correct gateway mac"
Jenkins [Sat, 16 Jan 2016 14:04:19 +0000 (14:04 +0000)]
Merge "Fix get_subnet_for_dvr() to return correct gateway mac"

8 years agoMerge "Fix params order in assertEqual"
Jenkins [Sat, 16 Jan 2016 13:43:33 +0000 (13:43 +0000)]
Merge "Fix params order in assertEqual"

8 years agoMerge "Make security_groups_provider_updated work with Kilo agents"
Jenkins [Sat, 16 Jan 2016 13:42:56 +0000 (13:42 +0000)]
Merge "Make security_groups_provider_updated work with Kilo agents"

8 years agoMerge "doc: Update Ryu Ishimoto's IRC nick"
Jenkins [Sat, 16 Jan 2016 13:41:42 +0000 (13:41 +0000)]
Merge "doc: Update Ryu Ishimoto's IRC nick"

8 years agoMerge "Revert "Change function call order in ovs_neutron_agent.""
Jenkins [Sat, 16 Jan 2016 13:41:09 +0000 (13:41 +0000)]
Merge "Revert "Change function call order in ovs_neutron_agent.""

8 years agoMerge "Introduce new query to return all hosts for DVR router"
Jenkins [Sat, 16 Jan 2016 13:40:28 +0000 (13:40 +0000)]
Merge "Introduce new query to return all hosts for DVR router"

8 years agoMerge "Retry port create/update on duplicate db records"
Jenkins [Sat, 16 Jan 2016 11:38:13 +0000 (11:38 +0000)]
Merge "Retry port create/update on duplicate db records"

8 years agoMerge "L3 agent: paginate sync routers task"
Jenkins [Sat, 16 Jan 2016 09:13:46 +0000 (09:13 +0000)]
Merge "L3 agent: paginate sync routers task"

8 years agoMerge "Make neutron pecan server an option instead of binary"
Jenkins [Sat, 16 Jan 2016 03:41:33 +0000 (03:41 +0000)]
Merge "Make neutron pecan server an option instead of binary"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Sat, 16 Jan 2016 03:28:47 +0000 (03:28 +0000)]
Updated from global requirements

Change-Id: Ia4001c53f4c2c3d1076fa7533dfd095245ef8082

8 years agoMerge "Fix regression with unbound ports and l2pop"
Jenkins [Sat, 16 Jan 2016 03:22:12 +0000 (03:22 +0000)]
Merge "Fix regression with unbound ports and l2pop"

8 years agoMerge "dhcp: handle advertise_mtu=True when plugin does not set mtu values"
Jenkins [Sat, 16 Jan 2016 03:21:48 +0000 (03:21 +0000)]
Merge "dhcp: handle advertise_mtu=True when plugin does not set mtu values"

8 years agoMerge "Unify using assertIsInstance"
Jenkins [Sat, 16 Jan 2016 03:20:30 +0000 (03:20 +0000)]
Merge "Unify using assertIsInstance"

8 years agoMerge "Use oslo.utils.reflection extract the class name"
Jenkins [Sat, 16 Jan 2016 03:18:50 +0000 (03:18 +0000)]
Merge "Use oslo.utils.reflection extract the class name"

8 years agoMerge "OVS: Reorder table-id constants"
Jenkins [Sat, 16 Jan 2016 00:41:16 +0000 (00:41 +0000)]
Merge "OVS: Reorder table-id constants"

8 years agoMerge "Unify exceptions for assign router to dvr agent"
Jenkins [Fri, 15 Jan 2016 23:48:05 +0000 (23:48 +0000)]
Merge "Unify exceptions for assign router to dvr agent"

8 years agoMove L2populationDbMixin to module-level functions
Terry Wilson [Fri, 15 Jan 2016 19:44:14 +0000 (13:44 -0600)]
Move L2populationDbMixin to module-level functions

None of the L2populationDbMixin methods actually use 'self' for
anything. As the class is basically just used as a namespace and
modules already provide that, this patch gets rid of the mixin. This
makes the code simpler and easier to debug as inheritance doesn't buy
us anything in this case.

Change-Id: Ibf4dfe49a2ebc32d3909d3d7b579d2bb2ea3f61d

8 years agoMerge "Fix Linux bridge test_report_state_revived failure on OSX"
Jenkins [Fri, 15 Jan 2016 20:51:00 +0000 (20:51 +0000)]
Merge "Fix Linux bridge test_report_state_revived failure on OSX"

8 years agoMerge "Added Keystone and RequestID headers to CORS middleware"
Jenkins [Fri, 15 Jan 2016 19:26:04 +0000 (19:26 +0000)]
Merge "Added Keystone and RequestID headers to CORS middleware"

8 years agoMerge "Provide kwargs for callback abort"
Jenkins [Fri, 15 Jan 2016 19:23:18 +0000 (19:23 +0000)]
Merge "Provide kwargs for callback abort"

8 years agoFix the duplicated references
armando-migliaccio [Fri, 15 Jan 2016 19:22:40 +0000 (11:22 -0800)]
Fix the duplicated references

Change-Id: Id527718bf25be54b765dfa6f3f1155ff3485ae64

8 years agoAdd opnfv tag to the list of auto-complete tags
armando-migliaccio [Fri, 15 Jan 2016 19:16:23 +0000 (11:16 -0800)]
Add opnfv tag to the list of auto-complete tags

The OPNFV project [1] is a reference implementation of the
ETSI NFV architecture built on open source components.
OpenStack, and Neutron in particular, are key elements of
this story, and many requirements and issues are driven and
submitted by OPNFV folks that work in both communities.

This tag makes sure that we can keep all of them together for
tracking purposes.

[1] http://superuser.openstack.org/articles/openstack-and-opnfv-strengthen-collaboration-for-telcos

Change-Id: Ie1675ef6f177558f579097fe035494b9380232d0

8 years agoMerge "Pecan controller loads service plugins"
Jenkins [Fri, 15 Jan 2016 17:39:16 +0000 (17:39 +0000)]
Merge "Pecan controller loads service plugins"

8 years agoRefactor router delete processing
Ryan Moats [Mon, 30 Nov 2015 18:36:54 +0000 (12:36 -0600)]
Refactor router delete processing

The discussion in [2] indicated that [1] would lead to orphaned
items during error cases.  This refactoring replaces the
optimistic approach followed by [1] with a separate delete code
path that does not execute the operations that take place within
the namespace that will be removed.  Operations that take place
outside of those namespaces are still performed to ensure that
no orphaned items result.

A comment has been added to the functional test to explain what
case is being tested.

[1] https://review.openstack.org/#/c/240971
[2] conversation starting at http://goo.gl/bZgvqW

Change-Id: I663f1264fb3963789b79a4a7c3e46d232b2f0620
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoRevert "Change function call order in ovs_neutron_agent."
Kevin Benton [Fri, 15 Jan 2016 15:22:03 +0000 (15:22 +0000)]
Revert "Change function call order in ovs_neutron_agent."

This reverts commit 9c72bac0ea37971b2d5430246295c5e8b859b4ed.

Change-Id: I9b6b588b68f63f6688749d011dc8b20ef80edadc
Closes-Bug: #1534322

8 years agoMake security_groups_provider_updated work with Kilo agents
Ihar Hrachyshka [Wed, 13 Jan 2016 11:37:21 +0000 (12:37 +0100)]
Make security_groups_provider_updated work with Kilo agents

Initially, we bumped the required version for the agent endpoint from
1.1 (the initial version that implemented security groups) to 1.3
without considering that the code should work with old agents that do
not yet know about the new devices_to_update argument.

Actually, there was no need to bump the version: old agent side code
already captures all unknown arguments that could be passed from the
server, ignoring them:

https://github.com/openstack/neutron/blob/608b54137fb67512c07099089ea7e074176e12df/neutron/agent/securitygroups_rpc.py#L155

(^ the link shows the latest Kilo code as of writing)

Note: some people may argue that the approach that is taken in Neutron
to support backwards compatibility for server notifications is wrong,
and we instead should adopt some stricter mechanism like nova version
pinning. While that is a noble thing to do, it's out of scope for the
patch that is designed to be easily backportable to stable/liberty.

Note: some people may also argue that the patch should go straight into
stable/liberty because we don't claim support for rolling upgrade
scenarios that span multiple releases. That's indeed true, though my
take on it is that if we have a way to handle more unofficial scenarios
without more coding effort, it's worth doing it.

Change-Id: I741e6e5c460658ac17095551040e67e8d1990812
Closes-Bug: #1531772

8 years agoIntroduce new query to return all hosts for DVR router
Oleg Bondarev [Thu, 17 Dec 2015 11:57:21 +0000 (14:57 +0300)]
Introduce new query to return all hosts for DVR router

When we remove explicit binding of dvr routers to compute nodes
we'll need a way to know all hosts where a dvr router should be
hosted in order to send notifications.
This patch adds such a query and updates l3 rpc notifier to use it.

Partially implements blueprint improve-dvr-l3-agent-binding
Change-Id: Ic6680bb42455189f14c4c913b1d4adeebda83180

8 years agofix get_ha_sync_data_for_host for non-dvr agent
lzklibj [Wed, 28 Oct 2015 09:02:11 +0000 (17:02 +0800)]
fix get_ha_sync_data_for_host for non-dvr agent

get_ha_sync_data_for_host will call _get_dvr_sync_data
even given agent is not in DVR agent_mode.
_get_dvr_sync_data has additional processing for dvr
like:
    dvr_router_ids = set(router['id'] for router in routers
                         if is_distributed_router(router))
    floating_ip_port_ids = [fip['port_id'] for fip in floating_ips
                                if fip['router_id'] in dvr_router_ids]
which should only work for DVR scenario.

That will increase neutron-server processing time for
non-DVR scenario. Adding logic to judge whether given
agent is in DVR agent_mode, call get_sync_data directly.

Closes-Bug: #1510796
Change-Id: I5572e19b7cd8b2ea63fde4463705ab1c56fe5e68

8 years agodhcp: handle advertise_mtu=True when plugin does not set mtu values
Ihar Hrachyshka [Thu, 14 Jan 2016 15:06:20 +0000 (16:06 +0100)]
dhcp: handle advertise_mtu=True when plugin does not set mtu values

DHCP agent may be used by plugins that don't set mtu value for networks.
Handle the case by not passing the DHCP option when network does not
have the value set.

Most plugins do set the value though, since it's enforced in base db
plugin class.

Closes-Bug: #1534197
Change-Id: I282b3d6b81f91eb8cea901d955cbcca6ecb2a95d

8 years agoMerge "Add --dry-run mode to code review abandon tool"
Jenkins [Fri, 15 Jan 2016 08:23:56 +0000 (08:23 +0000)]
Merge "Add --dry-run mode to code review abandon tool"

8 years agoMerge "HACKING: update HACKING.rst file to include latest changes"
Jenkins [Fri, 15 Jan 2016 08:23:20 +0000 (08:23 +0000)]
Merge "HACKING: update HACKING.rst file to include latest changes"

8 years agoMerge "Add systemd notification after reporting initial state"
Jenkins [Fri, 15 Jan 2016 08:22:20 +0000 (08:22 +0000)]
Merge "Add systemd notification after reporting initial state"

8 years agoMerge "Do not prohibit VXLAN over IPv6"
Jenkins [Fri, 15 Jan 2016 08:15:36 +0000 (08:15 +0000)]
Merge "Do not prohibit VXLAN over IPv6"

8 years agoMerge "Add 'ovs' to requirements.txt"
Jenkins [Fri, 15 Jan 2016 08:14:58 +0000 (08:14 +0000)]
Merge "Add 'ovs' to requirements.txt"

8 years agoMerge "Use admin context when removing DVR router on vm port deletion"
Jenkins [Fri, 15 Jan 2016 06:37:42 +0000 (06:37 +0000)]
Merge "Use admin context when removing DVR router on vm port deletion"

8 years agoMerge "ML2: verify if required extension drivers are loaded"
Jenkins [Fri, 15 Jan 2016 05:01:47 +0000 (05:01 +0000)]
Merge "ML2: verify if required extension drivers are loaded"

8 years agoRetry port create/update on duplicate db records
Kevin Benton [Fri, 15 Jan 2016 04:23:32 +0000 (20:23 -0800)]
Retry port create/update on duplicate db records

Even though we have a duplicate IP check before creating an IP
allocation, there is a window between when that check is completed
and when the record is committed to the database. During this window,
another thread or server may use the same IP address, which will result
in the database commit failing with a DBDuplicateEntry exception.

This patch adds a decorator to convert the exception into a
RetryRequest, which will be caught at the API layer to start the
operation over, at which point the normal duplicate check will find
the IP and return the correct error to the user.

This was done instead of trying to convert the DBDuplicate to the
correct exception since it's on commit and there are possibly many
different sources of the duplicate record beyond the IP allocation
(depending on what mechanism drivers did during pre-commit, etc).
By retrying the request, we ensure that the prechecks run again that
will raise the appropriate exception.

Change-Id: I37a964497bf60a61bc49bdeec94a008f167c384f
Closes-Bug: #1534447

8 years agodoc: Update Ryu Ishimoto's IRC nick
YAMAMOTO Takashi [Fri, 15 Jan 2016 04:34:19 +0000 (13:34 +0900)]
doc: Update Ryu Ishimoto's IRC nick

It seems he prefers this nick these days.

Change-Id: I726448149fa534cde717278bb42a2108dcd3742e

8 years agoMerge "Updated from global requirements"
Jenkins [Fri, 15 Jan 2016 02:34:48 +0000 (02:34 +0000)]
Merge "Updated from global requirements"

8 years agoMake neutron pecan server an option instead of binary
Kevin Benton [Fri, 15 Jan 2016 00:15:38 +0000 (16:15 -0800)]
Make neutron pecan server an option instead of binary

Launch pecan server instead of home-grown wsgi server using
a new config option. This will make it easier to test out
pecan without invasive changes to devstack.

Related Blueprint: wsgi-pecan-switch
Change-Id: I99261e6bfc9b16c0d601828f97553a9192804216

8 years agoMerge "Pecan: fix quota management"
Jenkins [Fri, 15 Jan 2016 01:27:46 +0000 (01:27 +0000)]
Merge "Pecan: fix quota management"

8 years agoMerge "Pecan: Fixes and tests for the policy enforcement hook"
Jenkins [Fri, 15 Jan 2016 01:26:22 +0000 (01:26 +0000)]
Merge "Pecan: Fixes and tests for the policy enforcement hook"

8 years agoMerge "Static routes not added to qrouter namespace for DVR"
Jenkins [Fri, 15 Jan 2016 01:24:20 +0000 (01:24 +0000)]
Merge "Static routes not added to qrouter namespace for DVR"

8 years agoMerge "Scope get_tenant_quotas by tenant_id"
Jenkins [Fri, 15 Jan 2016 00:51:46 +0000 (00:51 +0000)]
Merge "Scope get_tenant_quotas by tenant_id"

8 years agoMerge "Adopt oslotest BaseTestCase as a base class for DietTestCase"
Jenkins [Thu, 14 Jan 2016 23:42:03 +0000 (23:42 +0000)]
Merge "Adopt oslotest BaseTestCase as a base class for DietTestCase"

8 years agoMerge "Pass environment variables of proxy to tox"
Jenkins [Thu, 14 Jan 2016 23:40:28 +0000 (23:40 +0000)]
Merge "Pass environment variables of proxy to tox"

8 years agoDVR: when updating port's fixed_ips, update arp
John Schwarz [Tue, 5 Jan 2016 15:21:30 +0000 (17:21 +0200)]
DVR: when updating port's fixed_ips, update arp

Currently, when updating a port's fixed_ips, the l3 agents fail to
update the arp tables of this change, which can lead to east-west
connectivity issues when a router is connected to more than one tenant
network.

Closes-Bug: #1512199
Change-Id: Ic7a4bbfca8b477c41b233235d2e2a2864f7af411

8 years agoFix Linux bridge test_report_state_revived failure on OSX
Brian Haley [Thu, 14 Jan 2016 19:42:14 +0000 (14:42 -0500)]
Fix Linux bridge test_report_state_revived failure on OSX

Mock-out the Linux-specific bridge check in the class so
it succeeds on all OSes.

Change-Id: Id48845b3e73caa7ea6fad692feb21dc1f2b12ecc
Closes-Bug: #1534281

8 years agoAdded Keystone and RequestID headers to CORS middleware
Michael Krotscheck [Fri, 8 Jan 2016 19:18:51 +0000 (11:18 -0800)]
Added Keystone and RequestID headers to CORS middleware

CORS middleware's latent configuration feature, new in 3.0.0,
allows adding headers that apply to all valid origins.
This patch adds headers commonly used in openstack to neutron's paste
pipeline, so that operators do not have to be aware of additional
configuration magic to ensure that browsers can talk to the API.

For more information:
http://docs.openstack.org/developer/oslo.middleware/cors.html#configuration-for-pastedeploy

Change-Id: Ic08fcb7833563bbeca3e0ba2d03438d4be594418

8 years agoUnify exceptions for assign router to dvr agent
lzklibj [Sun, 27 Dec 2015 06:08:36 +0000 (14:08 +0800)]
Unify exceptions for assign router to dvr agent

validate_agent_router_combination use two different exceptions
for assigning a router to an agent in 'dvr' mode:
  RouterL3AgentMismatch: assign dvr router to legacy agent.
  DVRL3CannotAssignToDvrAgent: assign dvr router to (another) dvr agent.

This should be unified to one single exception, for routers on agent in
'dvr' mode should be only scheduled, not allowed to be manually assigned.

Change-Id: I3673c4c6852105f86b3aac390d0aabc75944de9d
Closes-Bug: #1529439

8 years agoUnify using assertIsInstance
lzklibj [Wed, 6 Jan 2016 03:27:34 +0000 (11:27 +0800)]
Unify using assertIsInstance

Use assertIsInstance(A, B) to replace assertTrue(isinstance(A, B)).

Prefer specific assertions such as assert(Not)IsInstance over generic ones
(assertTrue/False, assertEqual) because they raise more meaningful errors.

Change-Id: I56278b1a74108e2765a8a740658f33954f5404c7
Closes-bug: #1268480

8 years agoHACKING: update HACKING.rst file to include latest changes
Gary Kotton [Wed, 13 Jan 2016 14:18:42 +0000 (06:18 -0800)]
HACKING: update HACKING.rst file to include latest changes

Commit 3491cbc0c510404bfb4ddc2e60fde5c5d23400fd updated a hacking
check but did not update the HACKING.rst file.

Change-Id: Ie9be701f61da93686b79df23f1acf14008e4d486

8 years agodevstack: use stevedore entry point for flavor service plugin
Ihar Hrachyshka [Thu, 14 Jan 2016 16:01:37 +0000 (17:01 +0100)]
devstack: use stevedore entry point for flavor service plugin

It's discouraged to use python import paths. Instead, we should use
stevedore entry points.

Change-Id: I7e3fce5e63ad309d761d9fec713a31fa33966eef

8 years agoDo not prohibit VXLAN over IPv6
Dustin Lundquist [Wed, 30 Dec 2015 23:59:36 +0000 (15:59 -0800)]
Do not prohibit VXLAN over IPv6

9fc45cee in introduced a regression prohibiting using VXLAN over
IPv6. Relax restriction on local_ip, but validate that both
local_ip and vxlan_group of the same address family. Move existing
validation of vxlan_group into validate_vxlan_group_with_local_ip()
method and refactor existing tests for that validation.

Change-Id: I3d67732d2e1f3e079fee336b403744596fb7db77
Depends-On: I6440445b80637a5a9f4de052cf5ea1fbd8dcf7d1
Closes-Bug: #1531660

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 13 Jan 2016 08:16:16 +0000 (08:16 +0000)]
Updated from global requirements

Change-Id: I96df4154c7f1305fbf15974a2e6b4eef7eae78af

8 years agotests: stop validating neutronclient in neutron-debug tests
Ihar Hrachyshka [Wed, 13 Jan 2016 12:32:15 +0000 (13:32 +0100)]
tests: stop validating neutronclient in neutron-debug tests

In neutronclient 4.0.0, any command executed triggers DeprecationWarning
on stderr (to be fixed by I77f168af92ae51ce16bed4988bbcaf7c18557727 and
a new client release including it).

The test cases assumed that if command is successful, it never writes to
stderr though. Making the test failing when using the latest client.

Instead of fixing the test class not to assume there is no output on
stderr, remove it because we are not meant to validate neutronclient in
neutron gate at all and should rely on the library as shipped. Client
should already have reasonable coverage for its CLI.

Change-Id: I6440445b80637a5a9f4de052cf5ea1fbd8dcf7d1
Closes-Bug: #1533638

8 years agoMerge "Fix URLs for pep8, and unit tests jobs"
Jenkins [Thu, 14 Jan 2016 05:50:06 +0000 (05:50 +0000)]
Merge "Fix URLs for pep8, and unit tests jobs"

8 years agoML2: verify if required extension drivers are loaded
Sławek Kapłoński [Sat, 5 Dec 2015 23:11:46 +0000 (00:11 +0100)]
ML2: verify if required extension drivers are loaded

This change ensures extension drivers required by service plugins are loaded
when using ML2 plugin: we check that ML2 loads QoS extension driver when QoS
service plugin is enabled.

Change-Id: Ibf19e77b88ce34c58519ae157c852c9e2b30e31f
Closes-bug: #1496787

8 years agoAdd --dry-run mode to code review abandon tool
Doug Wiegley [Wed, 13 Jan 2016 22:07:12 +0000 (16:07 -0600)]
Add --dry-run mode to code review abandon tool

Usually I edit the script every time, to see what it would do
before the actual run. Add that mode via a flag.

Change-Id: I3ea50b905217947a43e4437b4925bb79c45a3d18

8 years agoFix typo in test path in Testing.rst
Manjeet Singh Bhatia [Wed, 13 Jan 2016 20:28:40 +0000 (20:28 +0000)]
Fix typo in test path in Testing.rst

Change-Id: I8e9f250bb2f9d2781cfcaf7058fbc77ace42f063

8 years agoFix URLs for pep8, and unit tests jobs
armando-migliaccio [Wed, 13 Jan 2016 20:06:16 +0000 (12:06 -0800)]
Fix URLs for pep8, and unit tests jobs

We switched to constrained jobs a while back, but these links were
showing the non constrained ones, making these graphs useless.

This patch updates them to reflect the jobs that are currently
running, however the docs job is left for later as right now
switching would make graphite fail with:

'TypeError: reduce() of empty sequence with no initial value'

I suspect that's because the job has never failed so far.

Change-Id: I60cab40f3c12099d8437616d8301aecd858ef54c

8 years agoStatic routes not added to qrouter namespace for DVR
Swaminathan Vasudevan [Fri, 25 Sep 2015 16:54:44 +0000 (09:54 -0700)]
Static routes not added to qrouter namespace for DVR

Today static routes are added to the SNAT namespace
for DVR routers. But they are not added to the qrouter
namespace.

Also while configuring the static routes to SNAT
namespace, the router is not checked for the existence
of the gateway.

When routes are added to a router without a gateway the
routes are only configured in the router namespace, but
when a gateway is set later, those routes have to be
populated in the snat_namespace as well.

This patch addresses the above mentioned issues.

Closes-Bug: #1499785
Closes-Bug: #1499787

Change-Id: I37e0d0d723fcc727faa09028045b776957c75a82