]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 22 Nov 2013 06:41:28 +0000 (06:41 +0000)]
Imported Translations from Transifex

Change-Id: Icea5a49b16be31eeef34078ef216a4818c253819

10 years agoMerge "Catch PortNotFound exception during get_dhcp_port"
Jenkins [Fri, 22 Nov 2013 03:08:38 +0000 (03:08 +0000)]
Merge "Catch PortNotFound exception during get_dhcp_port"

10 years agoMerge "Linux device name can have '@' or ':' characters"
Jenkins [Fri, 22 Nov 2013 03:08:27 +0000 (03:08 +0000)]
Merge "Linux device name can have '@' or ':' characters"

10 years agoMerge "Correct handling mock.patch.stop method"
Jenkins [Fri, 22 Nov 2013 02:21:44 +0000 (02:21 +0000)]
Merge "Correct handling mock.patch.stop method"

10 years agoMerge "Use correct device_manager member in dhcp driver"
Jenkins [Fri, 22 Nov 2013 02:21:35 +0000 (02:21 +0000)]
Merge "Use correct device_manager member in dhcp driver"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 21 Nov 2013 23:54:03 +0000 (23:54 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "LBaaS: when returning VIP include session_persistence even if None"
Jenkins [Thu, 21 Nov 2013 11:25:40 +0000 (11:25 +0000)]
Merge "LBaaS: when returning VIP include session_persistence even if None"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 21 Nov 2013 06:40:51 +0000 (06:40 +0000)]
Imported Translations from Transifex

Change-Id: I1e1acda6a6e02f0aa7cadeff4fade8fad311b955

10 years agoMerge "Enable polling minimization"
Jenkins [Thu, 21 Nov 2013 01:12:50 +0000 (01:12 +0000)]
Merge "Enable polling minimization"

10 years agoMerge "Add configurable ovsdb monitor respawn interval"
Jenkins [Thu, 21 Nov 2013 01:12:32 +0000 (01:12 +0000)]
Merge "Add configurable ovsdb monitor respawn interval"

10 years agoMerge "Move Loadbalancer Noop driver to the unit tests"
Jenkins [Thu, 21 Nov 2013 01:12:09 +0000 (01:12 +0000)]
Merge "Move Loadbalancer Noop driver to the unit tests"

10 years agoEnable polling minimization
Salvatore Orlando [Tue, 19 Nov 2013 17:32:35 +0000 (09:32 -0800)]
Enable polling minimization

In some cases the OVS agent might end up wiring a port for a VM
several seconds after the VM has booted. As a result, there is a
risk that the VM won't receive an IP address from DHCP in time.

This patch changes the default value for agent.minimize_polling to
True. This change should reduce the time needed for configuring
an interface on br-int consistently.

Change-Id: I009f606fd34a132376f1d50f8ccda9d35d064bfa
Related-bug: 1224001

10 years agoAdd configurable ovsdb monitor respawn interval
Terry Wilson [Wed, 20 Nov 2013 15:55:02 +0000 (09:55 -0600)]
Add configurable ovsdb monitor respawn interval

If minimize_polling=True and the ovsdb-client process died, the
default respawn interval of 0 would mean that we'd start polling
again. This patch adds the option ovsdb_monitor_respawn_interval and
defaults it to 30 seconds.

Change-Id: I12c1e05ec4d6d2bd4d84024a91116e2ac3974868
Close-Bug: 1243867

10 years agoEnsure get_pid_to_kill works with rootwrap script
Terry Wilson [Tue, 22 Oct 2013 18:22:18 +0000 (13:22 -0500)]
Ensure get_pid_to_kill works with rootwrap script

To ensure that correct process is killed when using a rootwrap
script, we must recursively list the children of our top-level
process and kill the last one. This patch uses the psutil python
module which is already used in the heat-cfntools project.

Change-Id: I702bb9dd794c08fcaab637284ee303de1778cbb9

10 years agoMerge "Reduce the severity of dhcp related log traces"
Jenkins [Wed, 20 Nov 2013 08:29:30 +0000 (08:29 +0000)]
Merge "Reduce the severity of dhcp related log traces"

10 years agoMerge "Replace mox in unit tests with mock"
Jenkins [Tue, 19 Nov 2013 22:17:12 +0000 (22:17 +0000)]
Merge "Replace mox in unit tests with mock"

10 years agoCatch PortNotFound exception during get_dhcp_port
armando-migliaccio [Mon, 18 Nov 2013 20:13:36 +0000 (12:13 -0800)]
Catch PortNotFound exception during get_dhcp_port

Close-bug: 1252437

Change-Id: I3a7954b869b4f5b909c806f8e47180e1ba6ba374

10 years agoReduce the severity of dhcp related log traces
armando-migliaccio [Sat, 16 Nov 2013 18:07:31 +0000 (10:07 -0800)]
Reduce the severity of dhcp related log traces

Due to timing issues, when the agent synchronizes
with the server wrt the representation of server's
and agent's networks, networks may have already
been deleted from the db. In such circumstances,
it is more appropriate to emit warnings rather than
full-blown exceptions as the agent handles these
circumstances just fine.

Close-bug: 1251874

Change-Id: I4b118b6087c7f42226f0d4265d2176c028d99f22

10 years agoReplace mox in unit tests with mock
Akihiro MOTOKI [Sun, 27 Oct 2013 13:42:12 +0000 (22:42 +0900)]
Replace mox in unit tests with mock

blueprint remove-mox

Removing mox from test-requirements.txt will be done in another patch
because stubout module is a part of mox and it is used in several modules.

Change-Id: I9370e8da815d2234a032a8875da73a86d4126d46

10 years agoLBaaS: fix reported binary name of a loadbalancer agent
Oleg Bondarev [Wed, 6 Nov 2013 09:24:43 +0000 (13:24 +0400)]
LBaaS: fix reported binary name of a loadbalancer agent

Loadbalancer agent's actual binary name differs from what it reports
to Neutron server, so need to fix:
neutron-loadbalancer-agent -> neutron-lbaas-agent

Closes-Bug: #1248222
Change-Id: Ic4e05d0258ba8eb48b96c60d69c1dbf9f27731f6

10 years agoMerge "Do not run "ovs-ofctl add-flow" with an invalid in_port"
Jenkins [Mon, 18 Nov 2013 06:18:48 +0000 (06:18 +0000)]
Merge "Do not run "ovs-ofctl add-flow" with an invalid in_port"

10 years agoMerge "Round-robin SVI switch selection fails on Cisco Nexus plugin"
Jenkins [Sun, 17 Nov 2013 18:04:00 +0000 (18:04 +0000)]
Merge "Round-robin SVI switch selection fails on Cisco Nexus plugin"

10 years agoMerge "Removes unused nvp plugin config param"
Jenkins [Sun, 17 Nov 2013 17:01:40 +0000 (17:01 +0000)]
Merge "Removes unused nvp plugin config param"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 17 Nov 2013 06:41:30 +0000 (06:41 +0000)]
Imported Translations from Transifex

Change-Id: If02d797b5d423db899bba128e2efedfd4afb1ad3

10 years agoMerge "Add log statements for policy check failures"
Jenkins [Sun, 17 Nov 2013 05:22:18 +0000 (05:22 +0000)]
Merge "Add log statements for policy check failures"

10 years agoMerge "Lower severity of log trace for DB integrity error"
Jenkins [Sat, 16 Nov 2013 04:07:51 +0000 (04:07 +0000)]
Merge "Lower severity of log trace for DB integrity error"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 15 Nov 2013 23:26:40 +0000 (23:26 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Refactor configuring of floating ips on a router"
Jenkins [Fri, 15 Nov 2013 20:40:51 +0000 (20:40 +0000)]
Merge "Refactor configuring of floating ips on a router"

10 years agoMerge "Fix import log_handler error with publish_errors set"
Jenkins [Fri, 15 Nov 2013 13:52:27 +0000 (13:52 +0000)]
Merge "Fix import log_handler error with publish_errors set"

10 years agoMerge "Cleanup HACKING.rst"
Jenkins [Fri, 15 Nov 2013 10:24:48 +0000 (10:24 +0000)]
Merge "Cleanup HACKING.rst"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 15 Nov 2013 06:40:44 +0000 (06:40 +0000)]
Imported Translations from Transifex

Change-Id: I38683ac890169536497e2c1ed9178d00a441328b

10 years agoAdd log statements for policy check failures
armando-migliaccio [Wed, 30 Oct 2013 01:20:53 +0000 (18:20 -0700)]
Add log statements for policy check failures

Misconfiguration of the policy.json file may
cause policy check failures. It's kind to the
developer to log the underlying exception
so that he/she can have more information as to
how to address the problem.

Closes bug: #1246139

Change-Id: I8664959cb98b3a41d159db3acb91da9baba810ae

10 years agoLower severity of log trace for DB integrity error
armando-migliaccio [Fri, 15 Nov 2013 02:22:26 +0000 (18:22 -0800)]
Lower severity of log trace for DB integrity error

LOG.exception is not appropriate, since a concurrent
port creation can occur and it has been dealt with
in the except block.

This avoids spooking users who are on the hunt for
real bugs.

Supports fix for 1239637

Change-Id: I9489702ee63db0b004fe41195fa4727af261d514

10 years agoMerge "Remove deprecated fields in keystone auth middleware"
Jenkins [Fri, 15 Nov 2013 00:12:38 +0000 (00:12 +0000)]
Merge "Remove deprecated fields in keystone auth middleware"

10 years agoMerge "Replace a non-existing exception"
Jenkins [Thu, 14 Nov 2013 23:34:57 +0000 (23:34 +0000)]
Merge "Replace a non-existing exception"

10 years agoMerge "Arista ML2 mech driver cleanup and integration with portbindings"
Jenkins [Thu, 14 Nov 2013 22:56:14 +0000 (22:56 +0000)]
Merge "Arista ML2 mech driver cleanup and integration with portbindings"

10 years agoMerge "Tune up report and downtime intervals for l2 agent"
Jenkins [Thu, 14 Nov 2013 17:53:22 +0000 (17:53 +0000)]
Merge "Tune up report and downtime intervals for l2 agent"

10 years agoMerge "Fix DB integrity issues when using postgres"
Jenkins [Thu, 14 Nov 2013 17:37:02 +0000 (17:37 +0000)]
Merge "Fix DB integrity issues when using postgres"

10 years agoRound-robin SVI switch selection fails on Cisco Nexus plugin
Dane LeBlanc [Thu, 14 Nov 2013 04:10:21 +0000 (23:10 -0500)]
Round-robin SVI switch selection fails on Cisco Nexus plugin

Fixes bug 1250969

This fix addresses improper behavior with the Cisco Nexus plugin's
selection of Nexus switch on which to place a Switch Virtual Interface
(SVI) when round-robin switch placement is enabled.

The expected behavior when round-robin SVI switch selection is configured
via the cisco_plugins.ini file, i.e.:
    [cisco]
    nexus_l3_enable = True
    svi_round_robin = True
is that when a virtual router interface is created, the Nexus plugin should
select the Nexus switch with the least number of SVI interfaces configured
for creating the new SVI. The current selection is based on the first
entry in a dictionary, and is therefore indeterminate.

Similarly, this fix also addresses incorrect behavior when round-robin
selection is disabled. In this case, the desired behavior is that
the plugin should select the first switch which appears in the Nexus
switch configuration. Instead, the current selection is also based on the
first entry in a dictionary, and is likewise indeterminate.

Change-Id: I548c1efaa8b54695246251b6823ab59e077836fe

10 years agoTune up report and downtime intervals for l2 agent
armando-migliaccio [Fri, 1 Nov 2013 22:47:22 +0000 (15:47 -0700)]
Tune up report and downtime intervals for l2 agent

If the neutron server erroneously thinks than the l2 agent is down
it will fail to bind a port, which can lead to VM's spawn errors.
However, the issue is only transient because the agent effectively
is only 'late' in reporting back.

Best solution would be an alpha-count algorithm (so that we can detect
persistent failures more reliably), but for now let's be more tolerant
assuming that the agent is down by waiting at least twice the report
interval plus a tiny teeny bit.

Change-Id: I544135ce1f6b7eaefb34ac44af8f5844d92ddd95
Close-bug: #1244255

10 years agoFix DB integrity issues when using postgres
armando-migliaccio [Thu, 31 Oct 2013 23:53:31 +0000 (16:53 -0700)]
Fix DB integrity issues when using postgres

The IntegrityError faced on network deletion that
spooks Tempest tests is most likely caused by the
fact that the ml2 plugin does a dirty read. By
adding a 'select for update' we should be able to
address the issue once and for all.

Also, there's a chance that the dhcp port gets
reallocated while we are deleting the network. To
this aim, catch the integrity error and attempt
to recover from it.

This patch also removes the handling of errors
on concurrent reads that can no longer occur when
deleting the network.

(Hopefully) Closes-bug: #1239637

PS: This fix may be relevant for bugs #1243726 and #1246737

Change-Id: Iefae7fc8a903cc35d8bf80fc4cee533b7f64032c

11 years agoMove Loadbalancer Noop driver to the unit tests
Eugene Nikanorov [Wed, 13 Nov 2013 10:54:56 +0000 (14:54 +0400)]
Move Loadbalancer Noop driver to the unit tests

Move Loadbalancer Noop driver to the corresponding folder in
unit tests to clearly indicate that it is an utility driver
that only suitable for unit testing.

Closes-Bug: #1250767
Change-Id: Ide2ebf212193f2cf5da9cf7a7f068fd918a55ada

11 years agoRemoves unused nvp plugin config param
armando-migliaccio [Thu, 14 Nov 2013 01:03:27 +0000 (17:03 -0800)]
Removes unused nvp plugin config param

nvp_cluster_uuid is no longer used; it was missed
during the configuration file tweaks that was done
during Havana.

Change-Id: Id6dd684833c99453cd97d88584be04d99fd21550
Closes-bug: #1251086

11 years agoMerge "Remove the warning for Scheduling Network"
Jenkins [Wed, 13 Nov 2013 02:12:54 +0000 (02:12 +0000)]
Merge "Remove the warning for Scheduling Network"

11 years agoArista ML2 mech driver cleanup and integration with portbindings
sukhdev [Tue, 12 Nov 2013 20:28:02 +0000 (12:28 -0800)]
Arista ML2 mech driver cleanup and integration with portbindings

fixes bug: 1215097

This patch addresses minor cleanups which are the diff between the
original version of the patch which was merged into havana master
branch and the patch that is submitted for merge into stable/havana.

The original patch that was merged into havana master branch is at:
https://review.openstack.org/#/c/49086/
The new patch which has been submitted as havana-backport-potential is:
https://review.openstack.org/#/c/54447/

This whole excercise came into play because the original patch was not
picked up in havana-rc2 because of missing tag in the bug. Therefore, the
need to submit new patch against stable/havana.

When the new patch was submitted for havana-backport-potential, few very
minor previously commented cleanups were incorporated as well. This
patch brings these minor cleanups into master branch as well. Therefore,
merge of these two patches will bring both master branch and
stable/havana at parity.

Change-Id: I4ec5273c26a27ca52b430a6c7485a44e880a1787

11 years agoLinux device name can have '@' or ':' characters
Édouard Thuleau [Tue, 29 Oct 2013 09:43:18 +0000 (09:43 +0000)]
Linux device name can have '@' or ':' characters

It's possible to set '@' or ':' character in Linux device name. But
Neutron IP lib doesn't handle correctly these names.

To distinguish VLAN devices from others devices with '@' in their name,
the details option in iproute2 is used.

Change-Id: I7ed24ec00f481207d97bdef052f86388f24d9b21
Closes-Bug: #1245799

11 years agoMerge "Remove database section from plugin.ini"
Jenkins [Tue, 12 Nov 2013 09:12:34 +0000 (09:12 +0000)]
Merge "Remove database section from plugin.ini"

11 years agoRemove the warning for Scheduling Network
chen-li [Tue, 12 Nov 2013 01:17:17 +0000 (09:17 +0800)]
Remove the warning for Scheduling Network

when a new port is created, the schedule_network in agentschedulers_db is called.
Since this network may already be hosted, it will directly return None in dhcp_agent_scheduler,
which cause the agentschedulers_db.schedule_network log a warning message.

This is really annoying and making users confused.
And, real warnings are already addressed in the real scheduler function.
which is neutron.scheduler.dhcp_agent_scheduler.ChanceScheduler.schedule by default.

Change-Id: I11bdbe47c2cc0fc45fb143970fb6762678bc27e5
Closes-Bug: #1192786

11 years agoDo not run "ovs-ofctl add-flow" with an invalid in_port
Arata Notsu [Fri, 25 Oct 2013 07:34:22 +0000 (16:34 +0900)]
Do not run "ovs-ofctl add-flow" with an invalid in_port

Since ofport is a string, we have to convert it to integer to
check it expresses a negative number or not.

Also unit tests are added/corrected.

Change-Id: If85595f1b8ecb40ea41edda52706fb1bd41cb1ab
Related-Bug: 1238445

11 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Tue, 12 Nov 2013 05:17:23 +0000 (05:17 +0000)]
Merge "Updated from global requirements"

11 years agoReplace a non-existing exception
Yong Sheng Gong [Mon, 21 Oct 2013 12:26:36 +0000 (20:26 +0800)]
Replace a non-existing exception

Closes-Bug: #1242662

Change-Id: Ie44023c0fd9ba1373ec6e62d9245884b9f719b7e

11 years agoMerge "DHCP agent scheduler support for BigSwitch plugin"
Jenkins [Mon, 11 Nov 2013 22:19:24 +0000 (22:19 +0000)]
Merge "DHCP agent scheduler support for BigSwitch plugin"

11 years agoUpdated from global requirements
OpenStack Jenkins [Mon, 11 Nov 2013 18:48:49 +0000 (18:48 +0000)]
Updated from global requirements

Change-Id: I36e3ce085af0b1e9a7dfd91141789fdfbc2049a8

11 years agoCleanup HACKING.rst
Joe Gordon [Mon, 11 Nov 2013 18:32:34 +0000 (10:32 -0800)]
Cleanup HACKING.rst

* Point to new location for hacking doc
(http://docs.openstack.org/developer/hacking/)
* Remove openstack-common section because already in main hacking doc

Change-Id: I7fbcfe13469a75fed08700ccbe07fefbee33db22

11 years agoMerge "Remove confusing comment and code for LBaaS"
Jenkins [Mon, 11 Nov 2013 16:54:47 +0000 (16:54 +0000)]
Merge "Remove confusing comment and code for LBaaS"

11 years agoMerge "Simplify using external routers and metadata"
Jenkins [Mon, 11 Nov 2013 13:06:44 +0000 (13:06 +0000)]
Merge "Simplify using external routers and metadata"

11 years agoRemove confusing comment and code for LBaaS
Arata Notsu [Mon, 11 Nov 2013 11:33:43 +0000 (20:33 +0900)]
Remove confusing comment and code for LBaaS

The comment "the driver is optional" is inconsistent with what actually
done. And "vif_driver = None" after raising an exception makes no sense.
So this patch removes these lines.

Change-Id: I7f3d5b6df61037307e952a478f47c59485601847

11 years agoMerge "Don't shadow str"
Jenkins [Mon, 11 Nov 2013 07:26:48 +0000 (07:26 +0000)]
Merge "Don't shadow str"

11 years agoMerge "ExtraRoute: fix _get_extra_routes_by_router_id()"
Jenkins [Mon, 11 Nov 2013 04:01:58 +0000 (04:01 +0000)]
Merge "ExtraRoute: fix _get_extra_routes_by_router_id()"

11 years agoDon't shadow str
Chang Bo Guo [Sun, 10 Nov 2013 07:48:10 +0000 (23:48 -0800)]
Don't shadow str

In the  agent/linux/ovs_lib.py we were shadowing the str keyword with
local variable. Let's not do that.

Change-Id: If800804b1e1f12d782bac524c92f300bd77fdd3c

11 years agoMerge "Support uncompressed ipv6 address and abbreviated ipv4 address"
Jenkins [Fri, 8 Nov 2013 09:56:46 +0000 (09:56 +0000)]
Merge "Support uncompressed ipv6 address and abbreviated ipv4 address"

11 years agoExtraRoute: fix _get_extra_routes_by_router_id()
Oleg Bondarev [Thu, 7 Nov 2013 09:35:27 +0000 (13:35 +0400)]
ExtraRoute: fix _get_extra_routes_by_router_id()

router_id filter wasn't properly applied to the query
so the func returned all extra routes of all routers.

Closes-Bug: #1248219
Change-Id: I77733ee7994c8fccbbc966ccabd83b8fe4def8d5

11 years agoRefactor configuring of floating ips on a router
Carl Baldwin [Fri, 27 Sep 2013 04:04:31 +0000 (04:04 +0000)]
Refactor configuring of floating ips on a router

This approach to configuring floating ips is stateless and idempotent.
This allows it to handle corner cases, such as reusing a floating ip
address with a different floating ip id in a way that is easier to
understand.

The concept is to wipe the floating ips clean and rebuild them each
time with the following optimizations.  To avoid bad performance in
manipulating iptables, it is called in the context of a call to
defer_apply_on.  To avoid a disruption in network flow a set
difference is use to determine the set of addresses that no longer
belong on the inteface rather than removing them all blindly.

Change-Id: I98aacbbb52b35688036990961d02e0b273504a77
Fixes: Bug #1209011
11 years agoRemove database section from plugin.ini
Andreas Jaeger [Sun, 3 Nov 2013 16:31:29 +0000 (17:31 +0100)]
Remove database section from plugin.ini

Change https://review.openstack.org/#/c/34515 moved the database
config items to neutron.conf but left some commented out
[database] items. Remove them as well.

Closes-Bug: #1247589
Change-Id: I05913d0c27a683cec30cae31a1978612aa1e1360

11 years agoFix import log_handler error with publish_errors set
Chang Bo Guo [Wed, 6 Nov 2013 06:37:57 +0000 (22:37 -0800)]
Fix import log_handler error with publish_errors set

Sync from Olso.
Commit Id is Ibf28ba17f81b5ddeda653f6a3501ecac18ffcd42

This handler sends all error logs as rpc notifications.
Note: when using publish_errors you also need to set the
notification_driver option too.

Closes-bug: #1240349
Change-Id: Ie66b23af8da2e439e0ac2f5677f6a064e3dd3133

11 years agoMerge "Fix segment range in N1KV test to remove overlap"
Jenkins [Wed, 6 Nov 2013 05:46:00 +0000 (05:46 +0000)]
Merge "Fix segment range in N1KV test to remove overlap"

11 years agoDHCP agent scheduler support for BigSwitch plugin
Kevin Benton [Tue, 29 Oct 2013 06:06:42 +0000 (23:06 -0700)]
DHCP agent scheduler support for BigSwitch plugin

Adds support for the Neutron DHCP agent scheduler to the BigSwitch
plugin to support multiple neutron DHCP agents.

Implements: blueprint bsn-dhcp-agent-scheduler
Change-Id: I629ce73c0b97c2409b37afb85639282a116560b7

11 years agoFix segment range in N1KV test to remove overlap
Kevin Benton [Tue, 5 Nov 2013 02:00:44 +0000 (18:00 -0800)]
Fix segment range in N1KV test to remove overlap

Adjusts a segment range in an N1KV unit test so
it doesn't overlap with a segment range in another
test that may be executed simultaneously.

Closes-Bug: #1248377
Change-Id: I84a15a2c772f01d7be7ba91aa86de09b934ef5e9

11 years agoMerge "Fix query error on dhcp release port for postgresql"
Jenkins [Fri, 1 Nov 2013 19:37:37 +0000 (19:37 +0000)]
Merge "Fix query error on dhcp release port for postgresql"

11 years agoMerge "sync log from oslo"
Jenkins [Fri, 1 Nov 2013 12:29:00 +0000 (12:29 +0000)]
Merge "sync log from oslo"

11 years agoFix query error on dhcp release port for postgresql
Armando Migliaccio [Thu, 31 Oct 2013 14:55:30 +0000 (07:55 -0700)]
Fix query error on dhcp release port for postgresql

This is achieved by disabling eager loading and
hence by avoiding incurring in left outer joins
that cannot be applied because of a nullable
side.

Closes-bug: #1246788

Change-Id: I16bcc738a43609f715c2561413c6387f443bd99c

11 years agoMerge "Avoid dhcp agent race condition on subnet and network delete"
Jenkins [Thu, 31 Oct 2013 09:19:56 +0000 (09:19 +0000)]
Merge "Avoid dhcp agent race condition on subnet and network delete"

11 years agosync log from oslo
Chang Bo Guo [Thu, 31 Oct 2013 05:10:34 +0000 (22:10 -0700)]
sync log from oslo

5fef5a8105 allow keeping of existing loggers with fileConfig
fb8075a19d Add amqp=WARN,qpid=WARN to default_log_levels
4654a5d247 Don't override default value for eventlet.wsgi.server logging
41ddd7a975 _get_log_file_path explictly return, when logfile/logdire unset
e12e6b45f8 Make openstack.common.log Python 3 compatible
572cfecb4d Make Messages unicode before hitting logging
3243cdfbe9 python3: handle module moves in log

DocImpact

Change-Id: I63e21a4fbcc633e68a37a549508f971ac0704a6f

11 years agoMerge "Creates multiple worker processes for API server"
Jenkins [Thu, 31 Oct 2013 01:39:19 +0000 (01:39 +0000)]
Merge "Creates multiple worker processes for API server"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 30 Oct 2013 06:35:14 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Ib0481b92221f1bb398d7888cb3da68d8a824c5f7

11 years agoUse correct device_manager member in dhcp driver
Joe Mills [Mon, 28 Oct 2013 08:08:20 +0000 (08:08 +0000)]
Use correct device_manager member in dhcp driver

* The DHCP driver used to use device_delegate, but that has
  changed to device_manager. referencing device_delegate
  caused the cleanup of the dhcp agent namespaces to fail.
  This fixes the issue by using the correct member name,
  device_manager

Change-Id: Iab8ea0549383335ff66f3f13df1953d206eeb28f
Closes-Bug: #1245408

11 years agoMerge "Fix required enum's name in migration"
Jenkins [Tue, 29 Oct 2013 09:45:46 +0000 (09:45 +0000)]
Merge "Fix required enum's name in migration"

11 years agoMerge "Modified configuration group name to lowercase"
Jenkins [Tue, 29 Oct 2013 09:28:19 +0000 (09:28 +0000)]
Merge "Modified configuration group name to lowercase"

11 years agoMerge "Fix incorrect indentations found by Pep 1.4.6+"
Jenkins [Mon, 28 Oct 2013 22:04:19 +0000 (22:04 +0000)]
Merge "Fix incorrect indentations found by Pep 1.4.6+"

11 years agoModified configuration group name to lowercase
Sridhar S [Wed, 23 Oct 2013 10:33:40 +0000 (16:03 +0530)]
Modified configuration group name to lowercase

Most of the OpenStack project makes use of lower case for
configuration group names. But, 'neutron' was having group
names in either cases. Bug states it is fine to have group
name in upper case for [DEFAULT] but needs to be changed
for others. It was noted that [PLUMgridDirector] was having
characters.

Change-Id: I95f2dad6d5ae17f722202f4917b6ef460cd41e15
Closes-Bug: #1176683

11 years agoMerge "Fix error while creating l2 gateway services in nvp"
Jenkins [Sun, 27 Oct 2013 23:16:38 +0000 (23:16 +0000)]
Merge "Fix error while creating l2 gateway services in nvp"

11 years agoMerge "LBaaS: Fix incorrect pool status change"
Jenkins [Sun, 27 Oct 2013 07:47:12 +0000 (07:47 +0000)]
Merge "LBaaS: Fix incorrect pool status change"

11 years agoMerge "Ensure OVS plugin is loaded in OVS plugin test"
Jenkins [Sat, 26 Oct 2013 21:44:12 +0000 (21:44 +0000)]
Merge "Ensure OVS plugin is loaded in OVS plugin test"

11 years agoAvoid dhcp agent race condition on subnet and network delete
armando-migliaccio [Sat, 28 Sep 2013 01:38:16 +0000 (18:38 -0700)]
Avoid dhcp agent race condition on subnet and network delete

This patch ensures that, when the dhcp agent queries the server
to retrieve and delete its DHCP port, it does so by selecting
for update. This has been done by introducing a new method
that combines the get and delete in one shot.

Closes-Bug:1197627

Change-Id: I1e8a87d7dc1a1cb9309aeefd41619e20f49f95a6

11 years agoMerge "NVP: Correct NVP router port mac to match neutron"
Jenkins [Sat, 26 Oct 2013 16:41:42 +0000 (16:41 +0000)]
Merge "NVP: Correct NVP router port mac to match neutron"

11 years agoEnsure OVS plugin is loaded in OVS plugin test
Akihiro MOTOKI [Fri, 18 Oct 2013 06:09:29 +0000 (15:09 +0900)]
Ensure OVS plugin is loaded in OVS plugin test

In TestOpenvswitchSGServerRpcCallBack and NetworkBindingsTest
in OVS plugin tests, OVS plugin was not loaded properly.

* For NetworkBindingsTest, it can be fixed by changing setUp()
  to take 'plugin' arguments in the base test classes
  SecurityGroupDBTestCase and SGServerRpcCallBackMixinTestCase.
  This fixes bug 1242510 in ML2 unit tests.

* For NetworkBindingsTest, it can be fixed by passing the plugin
  class to super.setUp(). The test itself needs to be updated
  because network binding is added when a network is created.

* NetworkBindingsTest in Linux Bridge plugin has the same issue,
  so it is also fixed in this patch.

Closes-Bug: #1230083
Closes-Bug: #1242510
Change-Id: I914876225480585d822748c188e9b69d1adf46f3

11 years agoRemove deprecated fields in keystone auth middleware
Akihiro MOTOKI [Sat, 26 Oct 2013 06:22:45 +0000 (15:22 +0900)]
Remove deprecated fields in keystone auth middleware

This commit makes the following changes:

Use X_PROJECT_ID instead of X_TENANT_ID:
  In the latest keystone auth_token middleware it is recommended to
  use X_PROJECT_ID instead of X_TENANT_ID. X_PROJECT_ID is supported
  in auth_token middleware for both keystone v2 and v3 API.
  The corresponding change was done in keystoneclient before Grizzly
  release, so we don't need to take care of X_TENANT_ID now.

USE X_ROLES instead of X_ROLE:
  X_ROLES is now recommended.
  X_ROLE exists just for diablo backward compatibility.

Remove X_TENANT and X_USER:
  X_TENANT and X_USER are for diablo backward compatibility.
  We no longer need take care of them in Icehouse Neutron.

Change-Id: Ie714b1323ff8c44dbee66b54e683226cf675b104
Closes-Bug: #1242447

11 years agoMerge "Utilizes assertIsNone and assertIsNotNone"
Jenkins [Sat, 26 Oct 2013 01:37:25 +0000 (01:37 +0000)]
Merge "Utilizes assertIsNone and assertIsNotNone"

11 years agoFix error while creating l2 gateway services in nvp
armando-migliaccio [Thu, 24 Oct 2013 15:17:17 +0000 (08:17 -0700)]
Fix error while creating l2 gateway services in nvp

Ensure that Conflict errors are not masked; also ensure
that coding errors do not mask NVP API errors.

Fixes bug #1244259

Change-Id: I27586d72af89fd39f6443dbab33f0e4e762b0c99

11 years agoMerge "Removing workflows from the Radware driver code"
Jenkins [Fri, 25 Oct 2013 21:38:22 +0000 (21:38 +0000)]
Merge "Removing workflows from the Radware driver code"

11 years agoMerge "fix nvp version validation for distributed router creation"
Jenkins [Fri, 25 Oct 2013 21:32:01 +0000 (21:32 +0000)]
Merge "fix nvp version validation for distributed router creation"

11 years agoMerge "Make test_nvp_sync.SyncLoopingCallTestCase reliable"
Jenkins [Fri, 25 Oct 2013 21:14:13 +0000 (21:14 +0000)]
Merge "Make test_nvp_sync.SyncLoopingCallTestCase reliable"

11 years agoMerge "Fix a copy&paste typo"
Jenkins [Fri, 25 Oct 2013 21:14:03 +0000 (21:14 +0000)]
Merge "Fix a copy&paste typo"

11 years agoMerge "Remove uneeded variable AGENT_NAME"
Jenkins [Fri, 25 Oct 2013 21:13:13 +0000 (21:13 +0000)]
Merge "Remove uneeded variable AGENT_NAME"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 25 Oct 2013 19:57:11 +0000 (19:57 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fix update_device_up method of linuxbridge plugin"
Jenkins [Fri, 25 Oct 2013 19:49:27 +0000 (19:49 +0000)]
Merge "Fix update_device_up method of linuxbridge plugin"

11 years agoMerge "Enable one disabled tests in NEC plugin that blocked by 1229954"
Jenkins [Fri, 25 Oct 2013 18:56:40 +0000 (18:56 +0000)]
Merge "Enable one disabled tests in NEC plugin that blocked by 1229954"

11 years agoFix update_device_up method of linuxbridge plugin
Eugene Nikanorov [Sat, 19 Oct 2013 12:06:03 +0000 (16:06 +0400)]
Fix update_device_up method of linuxbridge plugin

Also add unit tests covering update_device_up and update_device_down
methods

Change-Id: I97f2f9249b684aa5350b3f0621754543e80bec70
Closes-Bug: #1241602

11 years agoLBaaS: Fix incorrect pool status change
Eugene Nikanorov [Tue, 22 Oct 2013 13:49:00 +0000 (17:49 +0400)]
LBaaS: Fix incorrect pool status change

Avoid incorrect status change when deleting the pool.
We can check for the conditions prior putting the pool
to PENDING_DELETE state, in case delete conditions are met
it is safe to change the state to PENDING_DELETE.
Also, change create_vip and update_vip operations to respect
PENDING_DELETE and avoid race conditions.

Change-Id: I9f526901eb85bdb83cf4ff8131460eb592c900f8
Closes-Bug: #1242338

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 25 Oct 2013 06:35:53 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Ibf9a7c3cdf6725807a2a3183937f0d8e99273744