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

Change-Id: I53a442a9afbd2ee886d3408acda042bd362681e4

10 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 25 Nov 2013 06:40:49 +0000 (06:40 +0000)]
Imported Translations from Transifex

Change-Id: I15e9e920c71f502016731fd550c7b104b894c8a9

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 25 Nov 2013 05:39:33 +0000 (05:39 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Replace stubout with fixtures"
Jenkins [Mon, 25 Nov 2013 05:39:24 +0000 (05:39 +0000)]
Merge "Replace stubout with fixtures"

10 years agoMerge "remove repeated network type definition in cisco plugin"
Jenkins [Mon, 25 Nov 2013 04:55:13 +0000 (04:55 +0000)]
Merge "remove repeated network type definition in cisco plugin"

10 years agoReplace stubout with fixtures
Monty Taylor [Mon, 11 Nov 2013 09:30:54 +0000 (04:30 -0500)]
Replace stubout with fixtures

blueprint remove-mox

The last step in removing mox is to remove stubout usage. Lucky for us,
the fixtures library, which we are already using, can take on the
challenge quite well.

Change-Id: Id33cc8988935a1905f9a14351964f0bb24ef82e3

10 years agoMerge "MidoNet: Added support for the admin_state_up flag"
Jenkins [Sun, 24 Nov 2013 10:02:04 +0000 (10:02 +0000)]
Merge "MidoNet: Added support for the admin_state_up flag"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 24 Nov 2013 06:40:28 +0000 (06:40 +0000)]
Imported Translations from Transifex

Change-Id: Ifc40ea5ab56019cf466a275135ecef5914730785

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 23 Nov 2013 21:18:17 +0000 (21:18 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "NVP plugin:fix connectivity to fip from internal nw"
Jenkins [Sat, 23 Nov 2013 19:12:06 +0000 (19:12 +0000)]
Merge "NVP plugin:fix connectivity to fip from internal nw"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 23 Nov 2013 06:40:58 +0000 (06:40 +0000)]
Imported Translations from Transifex

Change-Id: I26f10ec24fa6684284d6946e541fc6fe26f36d6f

10 years agoMerge "ML2 plugin should not delete ports on subnet deletion"
Jenkins [Fri, 22 Nov 2013 21:24:19 +0000 (21:24 +0000)]
Merge "ML2 plugin should not delete ports on subnet deletion"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 22 Nov 2013 17:34:27 +0000 (17:34 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Add state reporting to the metadata agent"
Jenkins [Fri, 22 Nov 2013 15:14:48 +0000 (15:14 +0000)]
Merge "Add state reporting to the metadata agent"

10 years agoMerge "Fix sqlalchemy DateTime type usage"
Jenkins [Fri, 22 Nov 2013 09:55:56 +0000 (09:55 +0000)]
Merge "Fix sqlalchemy DateTime type usage"

10 years agoMerge "Fix OVS agent reclaims local VLAN"
Jenkins [Fri, 22 Nov 2013 09:55:46 +0000 (09:55 +0000)]
Merge "Fix OVS agent reclaims local VLAN"

10 years agoMerge "Adds delete of a extra_dhcp_opt on a port"
Jenkins [Fri, 22 Nov 2013 09:55:36 +0000 (09:55 +0000)]
Merge "Adds delete of a extra_dhcp_opt on a port"

10 years agoMerge "LBaaS UT: use constants vs magic numbers for http error codes"
Jenkins [Fri, 22 Nov 2013 09:55:27 +0000 (09:55 +0000)]
Merge "LBaaS UT: use constants vs magic numbers for http error codes"

10 years agoMerge "Adds tests, fixes Radware LBaaS driver as a result"
Jenkins [Fri, 22 Nov 2013 09:55:17 +0000 (09:55 +0000)]
Merge "Adds tests, fixes Radware LBaaS driver as a result"

10 years agoMerge "Add request-id to log messages"
Jenkins [Fri, 22 Nov 2013 09:55:07 +0000 (09:55 +0000)]
Merge "Add request-id to log messages"

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 agoML2 plugin should not delete ports on subnet deletion
Oleg Bondarev [Fri, 1 Nov 2013 11:20:27 +0000 (15:20 +0400)]
ML2 plugin should not delete ports on subnet deletion

On subnet deletion ports are deleted asynchronously by dhcp agent
so plugin doesn't need to delete them itself.
Instead Ml2Plugin.delete_subnet() method should call update_port()
for each allocation to remove the IP from the port and call the MechanismDrivers.
The patch also adds subnets test suite from test_db_plugin to test_ml2_plugin.

Closes-Bug: #1246737
Change-Id: I7cf0461e9a3cfec4921e2de41fb1ab3fc119fddc

10 years agoAdd state reporting to the metadata agent
Oleg Bondarev [Fri, 15 Nov 2013 12:21:42 +0000 (16:21 +0400)]
Add state reporting to the metadata agent

Need to add state reporting in order metadata agent
to appear in Neutron's agent list output

Closes-Bug: #1250369
Change-Id: I3a001e065004685d9702e817336e5d4923597791

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 agoAdd request-id to log messages
Akihiro MOTOKI [Wed, 16 Oct 2013 10:43:10 +0000 (19:43 +0900)]
Add request-id to log messages

request-id needs to be stored in thread local store to allow
openstack.common.log use request-id.
tenant_name and user_name are added to the context so that
they can be logged by customizing the log format.

Also replaces 'cxt' with 'ctx' in test_neutron_context.py.
Previously both 'ctx' and 'cxt' are used mixed in one file.

Change-Id: Ib921585e648e92491c1366bc0ad26a6ae71e2fc9
Partial-Bug: #1239923

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 agoAdds tests, fixes Radware LBaaS driver as a result
Evgeny Fedoruk [Mon, 28 Oct 2013 17:43:10 +0000 (10:43 -0700)]
Adds tests, fixes Radware LBaaS driver as a result

Adding more tests for Radware LBaaS driver.
Adding new exception module for the Radware lbaas driver.
The base radware lbaas exception, called RadwareLBaasException,
Several specific exceptions for different failures.
Driver was changed for using new exceptions as well.
Changing the way OperationsHandler obtains context.
Always waiting 1 second before handling the operation
next time, to prevent busy-wait requests on vDirect.
Several code optimizations were done as well.

Change-Id: I15f7845fc2575eedb62c47d15ee6c1cea08e22f5
Closes-Bug: #1236741

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 agoMidoNet: Added support for the admin_state_up flag
Duarte Nunes [Thu, 3 Oct 2013 14:03:14 +0000 (16:03 +0200)]
MidoNet: Added support for the admin_state_up flag

This commit enhances the port, bridge and router resources with the
admin_state_up flag in the MidoNet plugin.

Implements: blueprint midonet-admin-state
Change-Id: I67f4f9ad4099a05f8161aae79331ebba84f561b8

10 years agoFix OVS agent reclaims local VLAN
Édouard Thuleau [Mon, 18 Nov 2013 15:31:25 +0000 (15:31 +0000)]
Fix OVS agent reclaims local VLAN

If a port disappears on an OVS agent, the port is removed of the lvm
vif_ports list. And if it's the last port of the network on this agent,
the network local VLAN is reclaim.

Change-Id: I07e03107eb86a84eeb8e4d06f27a1d2fbd7cea57
Closes-Bug: #1252284

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 agoNVP plugin:fix connectivity to fip from internal nw
Salvatore Orlando [Mon, 18 Nov 2013 00:59:06 +0000 (16:59 -0800)]
NVP plugin:fix connectivity to fip from internal nw

The current set of NAT rules configured in the NVP logical router
prevents instances on an internal network from establishing TCP
connections with a floating IP associate with an internal port
on the same Neutron network.

This patch add a SNAT rule to ensure connections coming from the
internal network always appear to the port associate with the
floating IP as coming from the external network.

Change-Id: I12da12ee136c61fddb04f2b216382b51d751a02c
Closes-Bug: 1221419

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 agoAdds delete of a extra_dhcp_opt on a port
dekehn [Tue, 10 Sep 2013 16:13:29 +0000 (10:13 -0600)]
Adds delete of a extra_dhcp_opt on a port

Add support for delete of extra_dhcp_opt(s) on a port. Where
[{'opt_name': 'opt_to_delete', 'opt_value': None}].

Closes-Bug: #1228008

Change-Id: I75baeff91575cac6546fe2cc6fcf7a0d8e92853f

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

10 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

10 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

10 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"

10 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

10 years agoFix sqlalchemy DateTime type usage
Ann Kamyshnikova [Tue, 12 Nov 2013 11:49:43 +0000 (15:49 +0400)]
Fix sqlalchemy DateTime type usage

In migration f9263d6df56_remove_dhcp_lease there is mistake in
DateTime type usage for mysql, used sa.DATETIME() instead of
sa.DateTime()

Closes-Bug: #1250405

Change-Id: I41fcd3babc64e3307895a92f03c7417577fa7b1d

10 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

10 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"

10 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

10 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

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

10 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

10 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"

10 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

10 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

10 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"

10 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"

10 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

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

10 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()"

10 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

10 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"

10 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

10 years agoremove repeated network type definition in cisco plugin
Jiajun Liu [Thu, 7 Nov 2013 01:32:40 +0000 (09:32 +0800)]
remove repeated network type definition in cisco plugin

Fixes-bug: #1248374

Change-Id: I912f9cfc140b9a7ac6369526cc623865cf280313

10 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
10 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

10 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

10 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"

10 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

10 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

10 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"

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