]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agoMerge "Add more commit msg tips to 'effective neutron'"
Jenkins [Fri, 2 Oct 2015 07:49:39 +0000 (07:49 +0000)]
Merge "Add more commit msg tips to 'effective neutron'"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Fri, 2 Oct 2015 05:59:15 +0000 (05:59 +0000)]
Merge "Imported Translations from Zanata"

8 years agoAdd more commit msg tips to 'effective neutron'
Kevin Benton [Tue, 29 Sep 2015 15:30:51 +0000 (08:30 -0700)]
Add more commit msg tips to 'effective neutron'

This adds a few more tips to the commit message guidelines in
the effective neutron devref.

Change-Id: I31ae7cb4303ff36aa9359d3fe284dde9a7ed8757

8 years agoMerge "Pecan: Fix quota enforcement"
Jenkins [Fri, 2 Oct 2015 02:30:09 +0000 (02:30 +0000)]
Merge "Pecan: Fix quota enforcement"

8 years agoMerge "Effective Neutron: add link to logging guidelines"
Jenkins [Fri, 2 Oct 2015 01:52:03 +0000 (01:52 +0000)]
Merge "Effective Neutron: add link to logging guidelines"

8 years agoMerge "metadata: don't crash proxy on non-unicode user data"
Jenkins [Fri, 2 Oct 2015 01:47:02 +0000 (01:47 +0000)]
Merge "metadata: don't crash proxy on non-unicode user data"

8 years agoMerge "Add IPDevice.exists() method"
Jenkins [Fri, 2 Oct 2015 01:46:47 +0000 (01:46 +0000)]
Merge "Add IPDevice.exists() method"

8 years agoPecan: Fix quota enforcement
Salvatore Orlando [Thu, 1 Oct 2015 23:07:59 +0000 (16:07 -0700)]
Pecan: Fix quota enforcement

Ensure that core resources, and not only extension resources,
are registered with the quota engine. Otherwise no enforcement
will happen for them.

Further, do not pass anymore the 'resource name' to the resource's
count method as it is not necessary anymore since Liberty.

Change-Id: I895b4e69e50dbf1aac39e07eba07c3e3ff30808a
Closes-bug: #1501948

8 years agoMerge "Effective Neutron: add link to low-hanging-fruit bugs"
Jenkins [Thu, 1 Oct 2015 22:04:35 +0000 (22:04 +0000)]
Merge "Effective Neutron: add link to low-hanging-fruit bugs"

8 years agometadata: don't crash proxy on non-unicode user data
Ihar Hrachyshka [Thu, 1 Oct 2015 15:13:25 +0000 (17:13 +0200)]
metadata: don't crash proxy on non-unicode user data

We attempt to log every successful metadata response with LOG.debug. But
as per oslo.log docs [1], we should make sure that what we pass into the
library is unicode.

Http.request returns a tuple of Response object and a string, which is
bytes in Python 2.x [2].

That's why we need to convert the response content to unicode before
passing it into oslo.log.

To achieve it, we utilize encodeutils.safe_decode with 'replace' errors
handling strategy, so that we don't get exceptions on input that does
not conform unicode.

For the unit test case, we pass a string that is not expected to convert
to unicode with errors='strict' strategy or similar, and check that we
still don't crash.

While at it, we remove a check for the number of log calls being
triggered, because it's something that we should avoid validating in
test cases, and it cannot trigger a real bug. The mock that was used to
count the number would also hide the bug that we try to reproduce.

Note that the bug does not require debug to be set because the crash
occurs before oslo.log machinery decides it should not log the message.

[1]: http://docs.openstack.org/developer/oslo.log/usage.html#no-more-implicit-conversion-to-unicode-str
[2]: http://bitworking.org/projects/httplib2/doc/html/libhttplib2.html#httplib2.Http.request

Closes-Bug: #1501772
Change-Id: I6a32c40ff117fae43913386134c8981539697ce8

8 years agoEffective Neutron: add link to low-hanging-fruit bugs
armando-migliaccio [Thu, 1 Oct 2015 19:52:46 +0000 (12:52 -0700)]
Effective Neutron: add link to low-hanging-fruit bugs

To draw attention to newbies where it matters

Change-Id: Iabab0b4f1e6e901f122c793a64d74fc4412c7e39

8 years agoMerge "Remove OpenContrail plugin from the source tree"
Jenkins [Thu, 1 Oct 2015 19:09:15 +0000 (19:09 +0000)]
Merge "Remove OpenContrail plugin from the source tree"

8 years agoMerge "Use separate queue for agent state reports."
Jenkins [Thu, 1 Oct 2015 19:02:52 +0000 (19:02 +0000)]
Merge "Use separate queue for agent state reports."

8 years agoEffective Neutron: add link to logging guidelines
armando-migliaccio [Thu, 1 Oct 2015 18:03:04 +0000 (11:03 -0700)]
Effective Neutron: add link to logging guidelines

Change-Id: If9a3e3827d1c917331d4fa321a5ada63993087fe

8 years agoAdd IPDevice.exists() method
Brian Haley [Tue, 29 Sep 2015 15:31:34 +0000 (11:31 -0400)]
Add IPDevice.exists() method

Some callers of ip_lib.device_exists() have already instantiated
an IPDevice object, let's move the device existence check into
the IPDevice class so they can call it directly.

Change-Id: I3cdcd0a86b77e1fd5a808b7a5f0de2057f1e90c1

8 years agoMerge "Support new mitaka directory with revisions"
Jenkins [Thu, 1 Oct 2015 16:25:28 +0000 (16:25 +0000)]
Merge "Support new mitaka directory with revisions"

8 years agoMerge "Use format to convert ints to strings"
Jenkins [Thu, 1 Oct 2015 15:25:32 +0000 (15:25 +0000)]
Merge "Use format to convert ints to strings"

8 years agoMerge "Remove log decorator deprecated in Liberty"
Jenkins [Thu, 1 Oct 2015 14:17:13 +0000 (14:17 +0000)]
Merge "Remove log decorator deprecated in Liberty"

8 years agoMerge "Remove is_ha property from the router"
Jenkins [Thu, 1 Oct 2015 13:59:20 +0000 (13:59 +0000)]
Merge "Remove is_ha property from the router"

8 years agoUse format to convert ints to strings
James Page [Thu, 1 Oct 2015 10:54:28 +0000 (11:54 +0100)]
Use format to convert ints to strings

This ensures that on 32bit architectures, where
sometimes an implicit long is created, the resulting
string does not contain a 'L' suffix as generated
by the hex function.

Change-Id: I264f90d68009963fe7a217c2170e1cf2f46ae2bb
Closes-Bug: 1501703

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Thu, 1 Oct 2015 06:31:03 +0000 (06:31 +0000)]
Imported Translations from Zanata

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I0005a6ff2c4a96d88bce15751d68e579fa998a66

8 years agoFix db error when running python34 Unit tests
armando-migliaccio [Thu, 1 Oct 2015 03:50:13 +0000 (20:50 -0700)]
Fix db error when running python34 Unit tests

Follow fixes [1] to address this potential issue.

Closes-bug: #1489059

[1] https://review.openstack.org/#/q/status:merged++topic:bug/1489059,n,z

Change-Id: Ica389978869ae47c262cd797e85a7d7874254df7

8 years agoRemove OpenContrail plugin from the source tree
armando-migliaccio [Thu, 1 Oct 2015 01:17:57 +0000 (18:17 -0700)]
Remove OpenContrail plugin from the source tree

This plugin didn't decompose in the last two cycles, the CI has
stopped working for a while and it seems there is no pulse since
March 2015.

I think it is time to implement the eviction.

Change-Id: Ib2cb1e3f05330c7808177b0312506d0e56254aa8
Related-blueprint: core-vendor-decomposition

8 years agoMerge "Add devref for alembic milestone tagging"
Jenkins [Wed, 30 Sep 2015 21:24:23 +0000 (21:24 +0000)]
Merge "Add devref for alembic milestone tagging"

8 years agoMerge "Just call set-manager if connecting fails"
Jenkins [Wed, 30 Sep 2015 21:20:47 +0000 (21:20 +0000)]
Merge "Just call set-manager if connecting fails"

8 years agoRemove is_ha property from the router
Carl Baldwin [Wed, 30 Sep 2015 20:12:23 +0000 (20:12 +0000)]
Remove is_ha property from the router

This was a todo left over from refactoring.  The one place where it
was used was in the metadata driver which can just as easily check
isinstance.

The is_ha property in the HA class only returned True if self.router
was True.  The agent sets this on creation and so it will always be
True.  Additionally, it didn't really make sense to me anyway given
the way this was being used in the metadata driver.

Change-Id: Idf91ee5f8b72ff9a1740dd60090327d07ee8e16e

8 years agoRemove log decorator deprecated in Liberty
Cedric Brandily [Wed, 30 Sep 2015 19:39:42 +0000 (21:39 +0200)]
Remove log decorator deprecated in Liberty

log[1] decorator has been deprecated in Liberty and replaced by oslo_log
log_method_call[2] in neutron.

[1] neutron.common.log
[2] oslo_log.helpers

Change-Id: Ia326daaf376865943e93302c45341f7d4fa22d56

8 years agoMerge "Add compatibility with iproute2 >= 4.0"
Jenkins [Wed, 30 Sep 2015 18:21:28 +0000 (18:21 +0000)]
Merge "Add compatibility with iproute2 >= 4.0"

8 years agoSupport new mitaka directory with revisions
Ihar Hrachyshka [Wed, 30 Sep 2015 14:00:21 +0000 (16:00 +0200)]
Support new mitaka directory with revisions

Also, don't initialize a new 'per-release' directory with new revisions
that have branch labels because we don't maintain per release labels
anymore.

Change-Id: I3a875e239602147d82d28994788c3409d64d6992

8 years agoFix the bug of "Error spelling of 'accomodate'"
JuPing [Wed, 30 Sep 2015 16:16:18 +0000 (00:16 +0800)]
Fix the bug of "Error spelling of 'accomodate'"

The word "accomodate " should be spelled as "accommodate".
So it is changed.

Change-Id: Ie0aae93973c0efec34c3d4baf0d3d2783c6eeef8
Closes-Bug: #1501216

8 years agoJust call set-manager if connecting fails
Terry Wilson [Tue, 29 Sep 2015 02:01:30 +0000 (21:01 -0500)]
Just call set-manager if connecting fails

Instead of calling set-manager every init, only call it when
getting the schema fails inside of Connection.start() which is
only called once.

Closes-Bug: #1499784
Change-Id: Ib28cd912e1f2eba318a6b0a82269919a1c95312d

8 years agoUse separate queue for agent state reports.
Eugene Nikanorov [Tue, 22 Sep 2015 14:51:56 +0000 (18:51 +0400)]
Use separate queue for agent state reports.

This optimization is needed for big clusters with hundreds
of agents where the spike of activity may trigger a burst
of RPC requests that would prevent neutron-server from processing
agent heart beats in time, triggering resource rescheduling.

This will be further optimized by running dedicated RPC workers
for state reports processing.

Related-Bug: #1496410
Change-Id: Id86a1f962aaa4f64011d57ae55d240f890cca4f7

8 years agoMerge "Fix URL target problem"
Jenkins [Wed, 30 Sep 2015 06:24:43 +0000 (06:24 +0000)]
Merge "Fix URL target problem"

8 years agoMerge "Check idl.run() return value before blocking"
Jenkins [Wed, 30 Sep 2015 05:59:20 +0000 (05:59 +0000)]
Merge "Check idl.run() return value before blocking"

8 years agoFix URL target problem
gong yong sheng [Wed, 30 Sep 2015 03:47:12 +0000 (11:47 +0800)]
Fix URL target problem

Change-Id: I7290801b110ff5d6f896bd122342ed7ad9eca014

8 years agoAdd devref for alembic milestone tagging
Henry Gessau [Tue, 29 Sep 2015 16:15:06 +0000 (12:15 -0400)]
Add devref for alembic milestone tagging

Related-Bug: #1499033

Change-Id: Iff58622c56be2c64cfb5659d20c4eae2f45a318c

8 years agoAdd compatibility with iproute2 >= 4.0
James Page [Fri, 18 Sep 2015 15:38:47 +0000 (16:38 +0100)]
Add compatibility with iproute2 >= 4.0

The ip netns list command adds additional id data in more recent
versions of iproute2 of the format:

  qdhcp-35fc068a-750d-4add-b1d2-af392dbd8790 (id: 1)

Update parsing to deal with old and new formats.

Change-Id: I0d3fc4262284172f5ad31e4f2f78ae1fb33b4228
Closes-Bug: 1497309

8 years agoTag the alembic migration revisions for Liberty
Henry Gessau [Sun, 27 Sep 2015 19:36:59 +0000 (15:36 -0400)]
Tag the alembic migration revisions for Liberty

Previously when we had one repo with one alembic branch we would
create a milestone revision on that single branch. Now we have
multiple repos and expand/contract branches for each repo.

So from now on we tag the final revision on every branch when we make
a milestone release. Update the cli to support the command:
  neutron-db-manage upgrade <milestone>
where <milestone> becomes an alias for all the revisions for a
milestone.

Partial-Bug: #1499033

Change-Id: I38623986dd574bec01fe147f9c6a747f3f512bb7

8 years agoMerge "Revert "Remove address scopes from supported extensions""
Jenkins [Tue, 29 Sep 2015 11:10:31 +0000 (11:10 +0000)]
Merge "Revert "Remove address scopes from supported extensions""

8 years agoCheck idl.run() return value before blocking
Terry Wilson [Mon, 28 Sep 2015 22:42:25 +0000 (17:42 -0500)]
Check idl.run() return value before blocking

The IDL change_seqno can change as a result of running idl.run(), and
it returns True if there has been a change. The existing code would
block without checking the return value, and therefor could block
until another change occurred, or the timeout was reached.

Closes-Bug: #1501090
Change-Id: I9b7aac2755e6e6b69165023e01583337f9d30f15

8 years agoMerge "usage_audit: Fix usage_audit to work with ML2"
Jenkins [Tue, 29 Sep 2015 04:16:57 +0000 (04:16 +0000)]
Merge "usage_audit: Fix usage_audit to work with ML2"

8 years agoMerge "Devref for authorization policies enforcement"
Jenkins [Tue, 29 Sep 2015 04:16:34 +0000 (04:16 +0000)]
Merge "Devref for authorization policies enforcement"

8 years agoMerge "Remove zombie pecan hook"
Jenkins [Tue, 29 Sep 2015 04:10:01 +0000 (04:10 +0000)]
Merge "Remove zombie pecan hook"

8 years agoRemove zombie pecan hook
Salvatore Orlando [Mon, 28 Sep 2015 21:10:04 +0000 (14:10 -0700)]
Remove zombie pecan hook

The resource_identifier hooks has been removed as the Pecan
controllers are now able to identify by themselves the resource
they operate for.

However the unused hook module was never removed thus making it
'undeed'. This patch simply fires it a silver bullet thus ensuring
it will be gone forever.

Change-Id: I421c3ccffb6d01846db636c878869109198af7ad

8 years agoMerge "Adding trailing underscores to devref links"
Jenkins [Mon, 28 Sep 2015 20:46:33 +0000 (20:46 +0000)]
Merge "Adding trailing underscores to devref links"

8 years agoMerge "Fixing traces of "Replace prt variable by port""
Jenkins [Mon, 28 Sep 2015 19:37:28 +0000 (19:37 +0000)]
Merge "Fixing traces of "Replace prt variable by port""

8 years agoMerge "SubnetPoolsTest: Skip IPv6 tests appropriately"
Jenkins [Mon, 28 Sep 2015 19:19:39 +0000 (19:19 +0000)]
Merge "SubnetPoolsTest: Skip IPv6 tests appropriately"

8 years agoMerge "Fixes 'ovs-agent cannot start on Windows because root_helper opt is not found'"
Jenkins [Mon, 28 Sep 2015 19:19:22 +0000 (19:19 +0000)]
Merge "Fixes 'ovs-agent cannot start on Windows because root_helper opt is not found'"

8 years agoMerge "Move ConfigDict and ConfigFileFixture to neutron.tests.common"
Jenkins [Mon, 28 Sep 2015 18:34:44 +0000 (18:34 +0000)]
Merge "Move ConfigDict and ConfigFileFixture to neutron.tests.common"

8 years agoAdding trailing underscores to devref links
armando-migliaccio [Mon, 28 Sep 2015 18:28:32 +0000 (11:28 -0700)]
Adding trailing underscores to devref links

These were missed and it led to bad rendering.

Change-Id: If2ae0e542b16d9c82cbbdcb854b8b3612f64199a

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Mon, 28 Sep 2015 17:49:39 +0000 (17:49 +0000)]
Merge "Imported Translations from Zanata"

8 years agoMerge "Python 3: use "open" instead of "file""
Jenkins [Mon, 28 Sep 2015 16:17:08 +0000 (16:17 +0000)]
Merge "Python 3: use "open" instead of "file""

8 years agoMerge "Kill HEADS file"
Jenkins [Mon, 28 Sep 2015 15:20:10 +0000 (15:20 +0000)]
Merge "Kill HEADS file"

8 years agoMerge "Forbid more than one branch point in alembic dependency chains"
Jenkins [Mon, 28 Sep 2015 12:16:37 +0000 (12:16 +0000)]
Merge "Forbid more than one branch point in alembic dependency chains"

8 years agoPython 3: use "open" instead of "file"
Cyril Roelandt [Mon, 28 Sep 2015 11:46:35 +0000 (13:46 +0200)]
Python 3: use "open" instead of "file"

The "file" function does not exist in Python 3.

Change-Id: I18561fc8e472a53c2c5f599f2312347da4cec273
Partial-Bug: #1500400

8 years agoMerge "Handle empty bridge case in OVSBridge.get_ports_attributes"
Jenkins [Mon, 28 Sep 2015 11:22:14 +0000 (11:22 +0000)]
Merge "Handle empty bridge case in OVSBridge.get_ports_attributes"

8 years agoMerge "Turn device not found errors in to exceptions"
Jenkins [Mon, 28 Sep 2015 11:15:36 +0000 (11:15 +0000)]
Merge "Turn device not found errors in to exceptions"

8 years agoImported Translations from Zanata
OpenStack Proposal Bot [Mon, 28 Sep 2015 06:26:00 +0000 (06:26 +0000)]
Imported Translations from Zanata

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I534a33e7ff01a01693c16ce1928d70691594d8db

8 years agoHandle empty bridge case in OVSBridge.get_ports_attributes
Assaf Muller [Fri, 25 Sep 2015 18:20:21 +0000 (14:20 -0400)]
Handle empty bridge case in OVSBridge.get_ports_attributes

Before this patch, get_ports_attributes would call
get_port_name_list. In the case of an empty bridge,
get_port_name_list would return an empty list and feed that
in to ovsdb.db_list, thereby returning all ports instead of
no ports.

Change-Id: I5a91028c59d71943b7cef86a94fa6ab1cc3d667c
Closes-Bug: #1499821

8 years agoMerge "Fixes 'ovs-agent fails to start on Windows beacause of SIGHUP'"
Jenkins [Sun, 27 Sep 2015 08:26:37 +0000 (08:26 +0000)]
Merge "Fixes 'ovs-agent fails to start on Windows beacause of SIGHUP'"

8 years agoDevref for authorization policies enforcement
Salvatore Orlando [Mon, 24 Aug 2015 14:04:59 +0000 (07:04 -0700)]
Devref for authorization policies enforcement

This patch adds a policy.rst document which describes how the
neutron.policy module works, how it uses oslo_policy and how
it's wired in API controllers.

The patch also remove an obsolete docstring from neutron/policy.py

Change-Id: I3353a23f4e97824a5a91eaedf57a91ace031a9de

8 years agoMerge "Change router unbinding logic to be consistent with data model"
Jenkins [Fri, 25 Sep 2015 23:39:22 +0000 (23:39 +0000)]
Merge "Change router unbinding logic to be consistent with data model"

8 years agoMerge "Cleanup of Translations"
Jenkins [Fri, 25 Sep 2015 23:11:51 +0000 (23:11 +0000)]
Merge "Cleanup of Translations"

8 years agoFixing traces of "Replace prt variable by port"
vikram.choudhary [Fri, 25 Sep 2015 15:27:34 +0000 (20:57 +0530)]
Fixing traces of "Replace prt variable by port"

The fix for https://review.openstack.org/#/c/218350/ has few
more occurrences. This patch addresses those and also changes
"local_port" from "port" in order not to confuse the parameter
with method argument.

Change-Id: I60bfeb9e33f0f69153afec083a2c05ee862fcee2

8 years agoKill HEADS file
Ihar Hrachyshka [Thu, 24 Sep 2015 13:31:15 +0000 (15:31 +0200)]
Kill HEADS file

Now that we forbid branch points as part of check_migration, there is no
technical need in maintaining the file. It only slows down developers that are
forced to resolve git conflicts after every new migration merged.

We remove the file as part of new 'revision' generation.

Now that the file is not present, we introspect the alembic scripts to
determine whether the subproject uses split migrations (presense of a branch
point indicates that).

Change-Id: Ic1ae0c3fc70be859919b89444dbfdcb1068bb1cd

8 years agoMerge "SimpleInterfaceMonitor: get rid of self.data_received flag"
Jenkins [Thu, 24 Sep 2015 19:31:24 +0000 (19:31 +0000)]
Merge "SimpleInterfaceMonitor: get rid of self.data_received flag"

8 years agoMerge "Imported Translations from Zanata"
Jenkins [Thu, 24 Sep 2015 18:57:29 +0000 (18:57 +0000)]
Merge "Imported Translations from Zanata"

8 years agoCleanup of Translations
Andreas Jaeger [Thu, 24 Sep 2015 18:48:59 +0000 (20:48 +0200)]
Cleanup of Translations

In preparation for the release, do some cleanups for translations.

Removes all po files that are partially translated. The translation
team has decided to exclude files with less than 66 % of translated
content. There is no content lost, all data is in the translation
server, we just remove it from the repository.

This updates also recreates pot (translation source files) to
reflect the state of the repository in case there was no recent
import for them.

This change needs to be done manually since the automatic import does
not handle some of these cases.

Change-Id: I865c7db140dc0ae132b41f0c2bc2f278274dece6

8 years agoMove ConfigDict and ConfigFileFixture to neutron.tests.common
Cedric Brandily [Thu, 24 Sep 2015 18:39:35 +0000 (20:39 +0200)]
Move ConfigDict and ConfigFileFixture to neutron.tests.common

This change moves ConfigDict[1] and ConfigFileFixture[1] in order to use
them in fullstack and functional tests (in a follow-up change).

[1] neutron.tests.fullstack.resources.config

Related-bug: #1497027
Change-Id: I16157b0b739c9e620f23c984187b492bf5af2e60

8 years agoTurn device not found errors in to exceptions
Carl Baldwin [Mon, 31 Aug 2015 21:33:53 +0000 (21:33 +0000)]
Turn device not found errors in to exceptions

Change-Id: If697c4c4c09d32abd410ac1fce4d8a6a0d337da1
Partially-implements:  blueprint address-scopes

9 years agoMerge "Add --verbose to subset of cmds in neutron-db-manage"
Jenkins [Thu, 24 Sep 2015 17:03:14 +0000 (17:03 +0000)]
Merge "Add --verbose to subset of cmds in neutron-db-manage"

9 years agoMerge "Fix a few nits with the dashboard pages"
Jenkins [Thu, 24 Sep 2015 16:14:47 +0000 (16:14 +0000)]
Merge "Fix a few nits with the dashboard pages"

9 years agoMerge "Fix quota usage tracker for security group rules"
Jenkins [Thu, 24 Sep 2015 16:14:25 +0000 (16:14 +0000)]
Merge "Fix quota usage tracker for security group rules"

9 years agoSimpleInterfaceMonitor: get rid of self.data_received flag
Ihar Hrachyshka [Thu, 17 Sep 2015 13:52:29 +0000 (15:52 +0200)]
SimpleInterfaceMonitor: get rid of self.data_received flag

It's not used anywhere outside tests, and there are better ways to
wait for updates.

The flag was once used to influence the state of activeness for the
monitor, but not anymore [1].

This cleanup also allows us to remove custom _read_stdout from the
monitor and reuse the one inherited from AsyncProcess. Meaning, we
also can safely get rid of another pile of duplicate tests.

[1]: I05faeddd061ab45af51c044a10462c3a57593d4d

Change-Id: I612d492c8f65a70e18f782a5e4d055de5f7948ef

9 years agoFixes 'ovs-agent fails to start on Windows beacause of SIGHUP'
Adelina Tuvenie [Thu, 24 Sep 2015 13:17:06 +0000 (06:17 -0700)]
Fixes 'ovs-agent fails to start on Windows beacause of SIGHUP'

Change Ic0cf8a9ca7f3a16b556a6825e2979471ae136c33 has added the handling
of SIGHUP in neutron_ovs_agent. This does not work on Windows as there is
no SIGHUP signal on windows.

The fix consists in checking if signal has SIGHUP attr before setting the handler
for SIGHUP.

Change-Id: I08258580252d68db222cbb9db7812ff1dfb37a56
Closes-Bug: #1499345

9 years agoForbid more than one branch point in alembic dependency chains
Ihar Hrachyshka [Thu, 24 Sep 2015 12:27:33 +0000 (14:27 +0200)]
Forbid more than one branch point in alembic dependency chains

This change will allow us to get rid of HEADS file that currently serves as a
caution guard against excessive branching due to git conflicts it invokes on
any new migration merged.

Change-Id: Iab88e4e11cea319bb7cfa364cb5cdefe9dcb004b

9 years agoFix quota usage tracker for security group rules
Salvatore Orlando [Thu, 24 Sep 2015 12:45:40 +0000 (05:45 -0700)]
Fix quota usage tracker for security group rules

This simple patch ensures usage for security group rules is
marked as dirty when a security group rule is deleted.
To this aim, the security group rule is deleted using ORM
in order to ensure the sqlalchemy even if fired.

Closes-Bug: #1499339

Change-Id: I1e81fe03fed14ec438cea5d7675f66caeb91afd8

9 years agoFixes 'ovs-agent cannot start on Windows because root_helper opt is not found'
Adelina Tuvenie [Tue, 22 Sep 2015 06:51:42 +0000 (23:51 -0700)]
Fixes 'ovs-agent cannot start on Windows because root_helper opt is not found'

Change Ie1224f8a1c17268cd7d1c474ed82fdfb8852eaa8 removed
config.register_root_helper() from ovs_neutron_agent:main, thus the agent
cannot start on Windows since root_helper config option is never
registered.

The fix consists in adding config.register_root_helper in the Windows side
utils.

Closes-Bug: #1497930

Change-Id: I6adc3b869c9564cac3ab99174b8fe47584213e59

9 years agoImported Translations from Zanata
OpenStack Proposal Bot [Thu, 24 Sep 2015 06:21:55 +0000 (06:21 +0000)]
Imported Translations from Zanata

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I731011691e1f8b4bf3ebc850bcfb6ea6102bc1ba

9 years agoMerge "Don't write DHCP opts for SLAAC entries"
Jenkins [Thu, 24 Sep 2015 03:33:15 +0000 (03:33 +0000)]
Merge "Don't write DHCP opts for SLAAC entries"

9 years agoMerge "Remove _extract_roles method from neutron.policy"
Jenkins [Thu, 24 Sep 2015 00:51:26 +0000 (00:51 +0000)]
Merge "Remove _extract_roles method from neutron.policy"

9 years agoMerge "Fix the broken link in devref docs"
Jenkins [Wed, 23 Sep 2015 21:40:36 +0000 (21:40 +0000)]
Merge "Fix the broken link in devref docs"

9 years agoFix a few nits with the dashboard pages
Ryan Moats [Wed, 23 Sep 2015 15:08:57 +0000 (10:08 -0500)]
Fix a few nits with the dashboard pages

1. Use correct title in gate pipeline page
2. Update lbaasv2 job name in check pipeline page

Change-Id: Ie94ecf0b2fde9a8faebf8637ba77691fde6307d4
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoOpen Mitaka development
Thierry Carrez [Wed, 23 Sep 2015 15:49:39 +0000 (17:49 +0200)]
Open Mitaka development

Bump preversion to mark the start of the Mitaka development branch.
The liberty release branch will be cut from the previous commit.

Change-Id: Ib34bb19a8d1bee1988cedf91ea6e08d386a94ca8

9 years agoFix the broken link in devref docs
Akihiro Motoki [Wed, 23 Sep 2015 03:35:40 +0000 (12:35 +0900)]
Fix the broken link in devref docs

The link to Dashboard is broken in the generated docuemnt
http://docs.openstack.org/developer/neutron/
This patch fixes it and addresses warnings so that
tox -e docs works.

Also add a reference to Gerrit Dashboard Creator
so that developers can customize it to what they want.

Change-Id: Ic45ab48e68af9e5e8255161fe9eb2354ae124f50

9 years agoMerge "Remove early yields in _iter_hosts in dhcp agent"
Jenkins [Wed, 23 Sep 2015 14:46:39 +0000 (14:46 +0000)]
Merge "Remove early yields in _iter_hosts in dhcp agent"

9 years agoMerge "Eliminate autoaddress check for DNS integration"
Jenkins [Wed, 23 Sep 2015 03:28:41 +0000 (03:28 +0000)]
Merge "Eliminate autoaddress check for DNS integration"

9 years agoMerge "Adds configurable agent type"
Jenkins [Wed, 23 Sep 2015 03:27:39 +0000 (03:27 +0000)]
Merge "Adds configurable agent type"

9 years agoMerge "Add neutron subproject & stable branch gerrit review links"
Jenkins [Wed, 23 Sep 2015 00:36:03 +0000 (00:36 +0000)]
Merge "Add neutron subproject & stable branch gerrit review links"

9 years agoMerge "Only get host data for floating ips on DVR routers"
Jenkins [Tue, 22 Sep 2015 23:52:56 +0000 (23:52 +0000)]
Merge "Only get host data for floating ips on DVR routers"

9 years agoEliminate autoaddress check for DNS integration
Miguel Lavalle [Tue, 22 Sep 2015 22:22:31 +0000 (17:22 -0500)]
Eliminate autoaddress check for DNS integration

The autoaddress check for DNS integartion is not required anymore. It is
removed from the DB plugin. This check was being performed to reflect
incorrect functionality in the DHCP agent as indicated in bug
https://bugs.launchpad.net/neutron/+bug/1498665

Change-Id: I4b00618c328567f998765ed9a023c4c50d950b2b
Closes-Bug: #1497450

9 years agoOnly get host data for floating ips on DVR routers
Carl Baldwin [Wed, 16 Sep 2015 21:53:54 +0000 (21:53 +0000)]
Only get host data for floating ips on DVR routers

First, we are only interested in setting the host attribute when
the router is a DVR router.  Second, we don't need to query all of
the ports on the host, we just need to query the ports that are
referenced by the set of floating ips that we already have.

Closes-bug: #1496974
Change-Id: If611de14b2ab77d2eb9ce8c5b307ea6dd4403fe1

9 years agoAdd neutron subproject & stable branch gerrit review links
Ryan Moats [Tue, 22 Sep 2015 16:47:26 +0000 (11:47 -0500)]
Add neutron subproject & stable branch gerrit review links

Add links to gerrit URLs that will list reviews for both neutron
subprojects as well as stable branches.

Change-Id: I3b6ab4e57e904dc19ef6e7d116c8b0465e53c21b
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoLink dashboards into generated documentation
Ryan Moats [Mon, 21 Sep 2015 20:56:26 +0000 (15:56 -0500)]
Link dashboards into generated documentation

Move the dashboard directory under the source tree so that
it is available on generated builds. In addition, recast
image pages as RST so that they will be rendered

Change-Id: I316128491e8dae70ac06e260f5bdd8f440d285aa
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAdd neutron/master review link to dashboard/index.html
Ryan Moats [Mon, 21 Sep 2015 16:15:37 +0000 (11:15 -0500)]
Add neutron/master review link to dashboard/index.html

Add a link to gerrit that provide a summary of outstanding
neutron/master reviews

Change-Id: Ic79eedffc6c0bc761757525e6d7c812f9a470158

9 years agoMerge "Create dashboard page with gate jobs statistics"
Jenkins [Tue, 22 Sep 2015 18:36:33 +0000 (18:36 +0000)]
Merge "Create dashboard page with gate jobs statistics"

9 years agoMerge "Imported Translations from Zanata"
Jenkins [Tue, 22 Sep 2015 15:59:52 +0000 (15:59 +0000)]
Merge "Imported Translations from Zanata"

9 years agoCreate dashboard page with gate jobs statistics
Ryan Moats [Mon, 14 Sep 2015 16:00:36 +0000 (11:00 -0500)]
Create dashboard page with gate jobs statistics

Also added index.html page to allow selection of which graphs
to show.  Linking to existing RST comes in a child patch

Change-Id: I6edd7976ae009fc0279238b30ca5223088b6d81d
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "ml2: don't consider drivers with no bind_port for qos supported rule types"
Jenkins [Tue, 22 Sep 2015 15:07:22 +0000 (15:07 +0000)]
Merge "ml2: don't consider drivers with no bind_port for qos supported rule types"

9 years agoml2: don't consider drivers with no bind_port for qos supported rule types
Ihar Hrachyshka [Thu, 17 Sep 2015 17:13:22 +0000 (19:13 +0200)]
ml2: don't consider drivers with no bind_port for qos supported rule types

If the driver is not going to bind a port, we should not use it as
justification to limit the subset of rule types available for the user.

The most common scenario for that would be l2pop, that does not handle port
binding, but merely modifies the implementation details of node
interconnection.

Change-Id: Iba0f3530deff3bb2871ebf893c43ef628a80c7c0
Closes-Bug: #1488996