]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
8 years agotest_create_router_gateway_fails fixes
YAMAMOTO Takashi [Thu, 1 Oct 2015 09:20:18 +0000 (18:20 +0900)]
test_create_router_gateway_fails fixes

- Use the existing network.  Otherwise this test fails earlier than
  intended.  (with NetworkNotFound)

- Use a dedicated exception to avoid accepting other exceptions
  like NetworkNotFound

- Move the test for L3_NAT_dbonly_mixin into a separate class.
  Skip it if the plugin does not inherit L3_NAT_dbonly_mixin.

Change-Id: Ic5d5162320bf3ff1bb8b09de3e8200ca46023b32

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Sun, 4 Oct 2015 22:42:10 +0000 (22:42 +0000)]
Updated from global requirements

Change-Id: I4dc58137eaa84049330d70a4f3b8664479de5608

8 years agoMerge "Remove debtcollector.removals tagged ensure_dir"
Jenkins [Sun, 4 Oct 2015 19:12:00 +0000 (19:12 +0000)]
Merge "Remove debtcollector.removals tagged ensure_dir"

8 years agoMerge "Updated from global requirements"
Jenkins [Sat, 3 Oct 2015 01:34:17 +0000 (01:34 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Decomposition phase2 for MidoNet plugin"
Jenkins [Sat, 3 Oct 2015 00:55:14 +0000 (00:55 +0000)]
Merge "Decomposition phase2 for MidoNet plugin"

8 years agoMerge "Deprecate branchless migration chains from neutron-db-manage"
Jenkins [Fri, 2 Oct 2015 20:15:02 +0000 (20:15 +0000)]
Merge "Deprecate branchless migration chains from neutron-db-manage"

8 years agoMerge "Do not log an error when deleting a linuxbridge does not exist"
Jenkins [Fri, 2 Oct 2015 20:01:24 +0000 (20:01 +0000)]
Merge "Do not log an error when deleting a linuxbridge does not exist"

8 years agoDecomposition phase2 for MidoNet plugin
YAMAMOTO Takashi [Tue, 1 Sep 2015 07:24:24 +0000 (16:24 +0900)]
Decomposition phase2 for MidoNet plugin

Remove the rest of MidoNet plugin from Neutron tree.

Closes-Bug: #1490852

Change-Id: I260ec3e19c74928390c8e5e4e32629357c184361

8 years agoMerge "Correct cisco_ml2_apic_contracts.router_id length"
Jenkins [Fri, 2 Oct 2015 18:30:28 +0000 (18:30 +0000)]
Merge "Correct cisco_ml2_apic_contracts.router_id length"

8 years agoMerge "Python 3: fix invalid operation on dict_items objects"
Jenkins [Fri, 2 Oct 2015 18:19:41 +0000 (18:19 +0000)]
Merge "Python 3: fix invalid operation on dict_items objects"

8 years agoMerge "/common/utils.py py34 incompatibility"
Jenkins [Fri, 2 Oct 2015 18:19:28 +0000 (18:19 +0000)]
Merge "/common/utils.py py34 incompatibility"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 2 Oct 2015 17:24:53 +0000 (17:24 +0000)]
Updated from global requirements

Change-Id: I671b6e3f2919de119c06bbf01c17bb85e6e9a866

8 years agoDo not log an error when deleting a linuxbridge does not exist
Matt Riedemann [Thu, 1 Oct 2015 13:55:14 +0000 (06:55 -0700)]
Do not log an error when deleting a linuxbridge does not exist

When you're racing to teardown and relying on RPC, it should not be
considered an error that a bridge does not exist when you're trying to
delete it anyway. This is better served as debug level information.

For context, this shows up over 1000 times in successful
gate-tempest-dsvm-neutron-linuxbridge job runs in a week so it's
probably safe to say it's not contributing to test failures.

Closes-Bug: #1501779

Change-Id: I8e9b27e010d033291497f4e660a97bbae92e75b1

8 years agoMerge "Remove local variables from IPDevice.exists"
Jenkins [Fri, 2 Oct 2015 14:14:47 +0000 (14:14 +0000)]
Merge "Remove local variables from IPDevice.exists"

8 years ago/common/utils.py py34 incompatibility
Bogdan Tabor [Wed, 23 Sep 2015 08:52:25 +0000 (10:52 +0200)]
/common/utils.py py34 incompatibility

Fixes bug found during unit test of get_random_string() method.
For Python3 it is required to encode string as bytes object
before hashing.

Related-blueprint: neutron-python3
Closes-bug: #1502148
Change-Id: I93061a831b45fc8b3ede0211af665ce02f36f38a

8 years agoMerge "Simplify L3 HA scheduler tests"
Jenkins [Fri, 2 Oct 2015 13:54:20 +0000 (13:54 +0000)]
Merge "Simplify L3 HA scheduler tests"

8 years agoMerge "Check supported subnet CIDR"
Jenkins [Fri, 2 Oct 2015 13:54:01 +0000 (13:54 +0000)]
Merge "Check supported subnet CIDR"

8 years agoRemove debtcollector.removals tagged ensure_dir
Cedric Brandily [Thu, 1 Oct 2015 22:04:27 +0000 (00:04 +0200)]
Remove debtcollector.removals tagged ensure_dir

This change removes ensure_dir[1] wrapper which has been tagged in
Liberty for removal.

[1] neutron.agent.linux.utils

Closes-Bug: #1502061
Change-Id: I2bd62a0fd476cf6bf24761f942d555c1c29b4bf8

8 years agoMerge "Add availability_zone support base"
Jenkins [Fri, 2 Oct 2015 08:59:24 +0000 (08:59 +0000)]
Merge "Add availability_zone support base"

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 agoRemove local variables from IPDevice.exists
Brian Haley [Fri, 2 Oct 2015 03:35:24 +0000 (23:35 -0400)]
Remove local variables from IPDevice.exists

As suggested by Carl, code is functionally the same.

Change-Id: I80fe8dc8f6f379c7b9561049075fdf718943246b

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 agoAdd availability_zone support base
Hirofumi Ichihara [Fri, 2 Oct 2015 01:14:10 +0000 (10:14 +0900)]
Add availability_zone support base

This patch adds the availability_zone attribute to agents and
supports availability_zone API.
Availability_zone support for resources (network/router) and
the schedulers are included in subsequent patches.

APIImpact
DocImpact

Co-Authored-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Change-Id: Id7a62000ab0484412b3970199df8c374568fe70d
Partially-implements: blueprint add-availability-zone

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 agoSimplify L3 HA scheduler tests
Assaf Muller [Thu, 1 Oct 2015 15:59:57 +0000 (11:59 -0400)]
Simplify L3 HA scheduler tests

Stop mocking scheduling in the L3 HA scheduler base class,
and mock it explicitly in a couple of tests that need to control
scheduling manually. This allows us to remove a tiny bit of code,
but more importantly make the test and production code a little bit
more similar, and allow the base class to be reused in a more
generic manner.

Change-Id: I95790ba0605bcbf9b87199b99116aee4fca4d604

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 agoPython 3: fix invalid operation on dict_items objects
Cyril Roelandt [Thu, 1 Oct 2015 11:31:48 +0000 (13:31 +0200)]
Python 3: fix invalid operation on dict_items objects

One cannot use "+" on "dict_items" objects in Python 3.

Partial-Bug: #1500400
Change-Id: Ide04b3eaa70b6f453cbc11442109f8c88b084305

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 agoCorrect cisco_ml2_apic_contracts.router_id length
Vladislav Belogrudov [Wed, 17 Jun 2015 11:20:16 +0000 (14:20 +0300)]
Correct cisco_ml2_apic_contracts.router_id length

Some database engines require exact match of sizes of foreign keys
and referenced fields. Foreign key router_id of table
cisco_ml2_apic_contracts is varchar(64) but it references field
id varchar(36) of table routers. This gives error while running
migration scripts in such databases.

This change only applies to new OpenStack installations

Change-Id: I94a21ffbb82446499b1a55bd8b666d7395e4908a
Related-Bug: #1463806
Closes-Bug: #1465678

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 agoDeprecate branchless migration chains from neutron-db-manage
Ihar Hrachyshka [Tue, 29 Sep 2015 12:45:50 +0000 (14:45 +0200)]
Deprecate branchless migration chains from neutron-db-manage

Support for the scheme puts additional burden on neutron-db-manage
maintainers.  The split branches were introduced in all 'official'
subprojects in Liberty, so it's fine to deprecate it in Mitaka, and drop
in Noodle.

Since there is no user actionable item to do for users, using
debtcollector that will only issue DeprecationWarning if they are
enabled. The assumption is that developers run their tests with that
enabled (as the BaseTestCase ensures) and handle warnings.

Related-Bug: #1501380
Change-Id: Ie4ddd29d8c51be74a112864aae3d16fb5e52c0fa

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 agoCheck supported subnet CIDR
shihanzhang [Mon, 21 Sep 2015 07:38:28 +0000 (15:38 +0800)]
Check supported subnet CIDR

For IP CIDR, D class is for multicast, but neutron does not
check this, if user create a subnet like '224.0.0.1/16', DHCP
agent will fail to spawn Dnsmasq service.
This patch adds a check, if subnet CIDR is D class or loopback,
neutron-server will raise a error.

APIImpact
DocImpact

Closes-bug: #1497522
Change-Id: I36aa8b8e6decaff1cc27aaa61f4aaa8f247826c6

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