12871 Commits

Author SHA1 Message Date
Jenkins
6dc9a79579 Merge "reject leading '0's in IPv4 addr to avoid ambiguity" 2015-12-23 23:04:40 +00:00
Jenkins
d6287bd5c5 Merge "Add constant to L3 extension for floating ips" 2015-12-23 21:38:35 +00:00
Jenkins
623a2ff0d8 Merge "API: _validate_ip_address should not raise an exception" 2015-12-23 19:42:48 +00:00
Miguel Lavalle
8f4eb2d38f Add constant to L3 extension for floating ips
Add a constant string to the L3 extension to access floating ips in request and
response dictionaries

Change-Id: I161ab583f4eca3a8f0ddda1dd533780591e3423d
2015-12-23 18:34:57 +00:00
Jenkins
c429ee18b6 Merge "Run functional gate jobs in a constrained environment" 2015-12-23 16:35:14 +00:00
Jenkins
a5b22858b8 Merge "DVR: Remove get_port call from dvr_update_router_addvm" 2015-12-23 12:33:05 +00:00
Jenkins
de7e9343bd Merge "update docstring for get_ports_on_host_by_subnet" 2015-12-23 11:44:00 +00:00
Jenkins
0bb97acca2 Merge "XenAPI: Fix netwrap to support security group" 2015-12-23 03:46:38 +00:00
Jenkins
ce703f7b91 Merge "Force L3 agent to resync router it could not configure" 2015-12-23 03:46:21 +00:00
armando-migliaccio
fce50f3beb Run functional gate jobs in a constrained environment
This patch modifies the gate hooks to run jobs with upper constraints.

Change-Id: I9eb1eb8e61381e9bb45678af8a24fa88a99e2c8f
2015-12-22 19:31:59 -08:00
lzklibj
044c04fb5d update docstring for get_ports_on_host_by_subnet
This patch updates docstring for get_ports_on_host_by_subnet, to
tell that the method will only get dvr serviced ports, not all ports
for given subnet and host.

Change-Id: I85ea5a9e37b6c894f7d51e73c10143b208a29f0e
2015-12-23 11:28:50 +08:00
Jenkins
455fee6b89 Merge "Updated from global requirements" 2015-12-23 02:54:32 +00:00
Jenkins
a3b47c475a Merge "Restore _validate_subnet/uuid_list not to break subproject gates" 2015-12-23 01:50:40 +00:00
OpenStack Proposal Bot
e1115a7de7 Updated from global requirements
Change-Id: I3782e12d497174fa30394f7d0e70d944f992d45f
2015-12-23 00:34:19 +00:00
Jenkins
b600129553 Merge "Don't raise if polling manager is running when stopped" 2015-12-22 21:00:23 +00:00
Jenkins
38fa3ce848 Merge "DVR:Fix _notify_l3_agent_new_port for proper arp update" 2015-12-22 11:14:54 +00:00
Akihiro Motoki
b147f60f9a Restore _validate_subnet/uuid_list not to break subproject gates
https://review.openstack.org/#/c/258867/ removed
_validate_subnet_list and _validate_uuid_list.
_validate_subnet_list is being used in VPNaaS and VPNaaS gate
is now broken. We need to remove validators more carefully
because subprojects may use them.
This commit restores them once.

Change-Id: I9c40b9d67a8364f698cc9bf604e4e1f4caea413e
Closes-Bug: #1528435
2015-12-22 19:22:30 +09:00
Jenkins
fb8200978f Merge "Add abstractmethod to FirewallDriver abstract class" 2015-12-22 09:45:42 +00:00
Jenkins
c4e1402e62 Merge "Add functional test for availability_zone support" 2015-12-21 22:16:07 +00:00
Swaminathan Vasudevan
dcbae504da DVR: Remove get_port call from dvr_update_router_addvm
The dvr_update_router_addvm un-necessarily calls the
get_port to retreive the port dict, even though the port
dict is already passed in.

So this patch will remove the get_port call.

Change-Id: Ib893024ef0cf811497f077f5ae9d3965ea19f288
2015-12-21 13:36:58 -08:00
Jenkins
8a878219b3 Merge "Add notes on loading strategies for ORM relationships" 2015-12-21 21:31:37 +00:00
Swaminathan Vasudevan
b223452e68 DVR:Fix _notify_l3_agent_new_port for proper arp update
Now with notifications coming from ml2 plugin on port create
and port update, it is worth fixing the existing _notify_
l3_agent_new_port for proper arp update and router scheduling.

Previously we have been sending arp update and calling router
scheduling for every update notification for service ports,
but now we can take necessary action only when required, since
the fix to update the arp and router scheduling was recently
done by sending the port info for every new port created.

When _notify_l3_agent_port_update is triggered, we check if the
original port host binding exists and if there is a change in
host binding with respect to the new port, then we go ahead and
reschedule the router on the new host and flush the arp entry.

Related-Bug: #1524020

Change-Id: Ifda623d5413b72bf80f38fba5c12a05a88bb7de5
2015-12-21 13:30:39 -08:00
Jenkins
aea286df77 Merge "Corrected wrong ethertype exception message" 2015-12-21 17:10:17 +00:00
Jenkins
72f6b99211 Merge "Remove duplicated code in attribute.py" 2015-12-21 17:08:38 +00:00
rossella
9783050e3e Don't raise if polling manager is running when stopped
AsyncProcess.stop() will raise if the process we are trying
to stop is not running. Some functional tests sporadically
fail because in the clean up the polling manager is stopped
without checking if it's still running. Add an except
in InterfacePollingMinimizer.stop() to avoid raising an
exception when the monitor is not running.

Change-Id: Iec8f5039ae5b830836564a1a402ad3e4ba38935d
Closes-bug: #1525856
2015-12-21 15:51:48 +00:00
Jenkins
252596cbed Merge "Use the constant HOST_ID instead of 'binding:host_id'" 2015-12-21 14:38:49 +00:00
Jenkins
c36b8df699 Merge "Correct return values for bridge sysctl calls" 2015-12-21 12:55:36 +00:00
Dariusz Smigiel (dasm)
e9ee5bd308 Add abstractmethod to FirewallDriver abstract class
FirewallDriver is abstract base class but do not have abstractmethods.
Updated methods to correspond with use-case of class.

Closes-bug: #1119119
Change-Id: I4b27b27d66c0b89cd9b65541cc1703103a2b00d2
2015-12-21 10:31:25 +01:00
Sreekumar S
be14e90541 Corrected wrong ethertype exception message
This patch resolves the issue where wrong message was being
shown when ethertype input parameter was not amongst one of
the types supported. New message made akin to other input
parameters like 'protocol'.

Change-Id: I5636f3582c9d9877dad4d091a374284b656923f4
Closes-Bug: #1508106
2015-12-21 13:13:10 +05:30
Jenkins
aa285ff82c Merge "Misspelling in message" 2015-12-20 21:20:30 +00:00
hgangwx
fb288a1189 Misspelling in message
Misspelling in the message: "Duplicate adddress detected"
    Should be "Duplicate address detected"
    Totally 1 occasion in Neutron base code.

Change-Id: I95adccffd80763cf9ab171b29e6812b821373b6e
2015-12-21 02:15:15 +08:00
Jenkins
7537d3286c Merge "Cleanup all the release notes" 2015-12-20 14:15:56 +00:00
Gary Kotton
19de679e8a Use the constant HOST_ID instead of 'binding:host_id'
This patch makes use of the constant defined in the extension.
In addition to this having value of debing defined in one place it
also enables the caller to understand that the portbindings
extension is required.

Note: the constant is not used in the API tests. This has import
issues so it is not relevant.

TrivialFix

Change-Id: I7bfe2528dbbd8017ddbdcf949dbb6264ce1eb5d8
2015-12-20 14:00:29 +00:00
Jenkins
520fe8fc37 Merge "QOS: add in missing translation" 2015-12-20 01:42:44 +00:00
Assaf Muller
822ad5f06b Force L3 agent to resync router it could not configure
If the L3 agent fails to configure a router, commit:
4957b5b43521a61873a041fe3e8989ed399903d9 changed it so
that instead of performing an expensive full sync, only that
router is reconfigured. However, it tries to reconfigure the
cached router. This is a change of behavior from the fullsync
days. The retry is more likely to succeed if the
router is retrieved from the server, instead of using
the locally cached version, in case the user or operator
fixed bad input, or if the router was retrieved in a bad
state due to a server-side race condition.

Note that this is only relevant to full syncs, as those retrieve
routers from the server and queue updates with the router object.
Incremental updates queue up updates without router objects,
so if one of those fails it would always be resynced on a
second attempt.

Related-Bug: #1494682
Change-Id: Id0565e11b3023a639589f2734488029f194e2f9d
2015-12-19 14:51:47 -05:00
Jenkins
a591f34881 Merge "Enable Guru Meditation Reports for other refarch agents" 2015-12-19 15:01:48 +00:00
Jenkins
d8af5f37e4 Merge "Updated from global requirements" 2015-12-19 10:32:39 +00:00
armando-migliaccio
fce62cf424 Add notes on loading strategies for ORM relationships
There have been a number of regressions caused by our inability
to thoroughly review relatiohships' loading strategies. We should
at least make an attempt to remind ourselves, and since I am guilty
as charged, this patch is my attempt to redemption.

Change-Id: I879cfceaa51386e9d6c683e7e02487df92b7e290
2015-12-18 16:34:21 -08:00
Ihar Hrachyshka
60a40ffcca Enable Guru Meditation Reports for other refarch agents
OVS agent already supports GMR, but LinuxBridge and SR-IOV agents don't.
To enable them for those agents, we should move their main() entry
points under neutron/cmd/, so that __init__.py code that initializes
them is triggered on their invocation.

Since we put their entrypoints under neutron/cmd/eventlet/, there is now
also no need to explicitly monkey patch stdlib for eventlet in the
agents code (neutron/cmd/eventlet/__init__.py already does it for us).
With that, there is no more code in the tree that directly patches
stdlib except neutron/cmd/eventlet/__init__.py.

Also removed a way to execute agent modules as scripts since it's not a
supported way to invoke them (instead, stevedore generated console
scripts should always be used).

Change-Id: I9b823d07a41b575334e52065eed7e6be2741e79d
Implements: blueprint guru-meditation-report
2015-12-18 22:04:56 +00:00
Jenkins
495f8c606e Merge "Use a joined relationship for AZ info on routers" 2015-12-18 19:05:25 +00:00
Jenkins
b6cb1f41f0 Merge "Adding a VNIC type for physical functions" 2015-12-18 19:00:07 +00:00
Jenkins
2f4d5935f5 Merge "Catch known exceptions during deleting last HA router" 2015-12-18 18:01:08 +00:00
Jenkins
7f45d3a1d5 Merge "L3 DB: set get_assoc_data to be an internal method" 2015-12-18 15:53:41 +00:00
OpenStack Proposal Bot
7d4ed31e85 Updated from global requirements
Change-Id: I2d197470280bac0adffe00e2bcaa6c321ecc2f18
2015-12-18 13:50:47 +00:00
LIU Yulong
f54cba0535 Catch known exceptions during deleting last HA router
In some scenarios, for instance rally test create_and_delete_routers,
it will get some exceptions, such as the network in use exception,
during the router deleting api call, but actually the router has
been deleted. There has race between HA router create and delete,
if set more api and rpc worker race raises exception more frequently.
Because the inconsistent error message was not useful for user,
this patch will catch those know exceptions ObjectDeletedError,
NetworkInUse when user delete last HA router.

At the same time, when user create the first HA router, but because
of the failure of HA network creation, the router will be deleted,
then the deleting HA network will raise AttributeError, this patch
also move HA network deleting procedure under ha_network exist check
block.

Change-Id: I8cda00c1e7caffc4dfb20a817a11c60736855bb5
Closes-Bug: #1523780
Related-Bug: #1367157
2015-12-18 16:39:27 +08:00
Jenkins
a314f3a38d Merge "Clean up code for bug1511311" 2015-12-18 07:50:22 +00:00
Jenkins
697a19534d Merge "Kill the vrrp orphan process when (re)spawn keepalived" 2015-12-18 07:48:37 +00:00
Jenkins
de756ae9f9 Merge "Add to deprecate OFAgent in release note" 2015-12-18 05:21:26 +00:00
Assaf Muller
aee9ac8db7 Add new troubleshooting bugs tag
The rationale is that we would have a single tag to track all
bugs that are about admin and user ease of use, logging quality,
and debuggability.

Change-Id: Ie42e08c924c9e742bdc6d9f4b68bdfbd1a622ba4
2015-12-17 18:59:13 -05:00
fumihiko kakuma
5c09ca7932 Add to deprecate OFAgent in release note
The OFAgent is decomposed completely.
And the OFAgent driver and its agent are depecated in the Mitaka and
will be removed in the next release.

Partial-Bug: #1521477
Change-Id: I8ce5e69d84bad486c95d5e3bd3f44effd29b2a62
2015-12-18 06:39:26 +09:00