18632 Commits

Author SHA1 Message Date
Jenkins
c9a9b5d41a Merge "Fixes import_modules_recursively for Windows" 2017-06-19 13:56:28 +00:00
Jenkins
7cb56a1628 Merge "Pass the complete info in sg/rules db into PRECOMMIT_XXX callback" 2017-06-19 08:24:09 +00:00
Jenkins
ab0dba40d1 Merge "docs: Fix indent level" 2017-06-17 10:11:01 +00:00
Jenkins
baa4ac9151 Merge "docs: reorganize developer reference for new theme" 2017-06-17 10:10:45 +00:00
Jenkins
f89a2467d8 Merge "docs: switch to openstackdocstheme" 2017-06-17 10:10:30 +00:00
Jenkins
2cdb1fc1fd Merge "Add a missing _LW()" 2017-06-17 09:22:53 +00:00
Jenkins
37e9999c8f Merge "Remove unreachable code in OVS mech driver" 2017-06-17 09:17:50 +00:00
Jenkins
1f27539c04 Merge "Add "default" behaviour to QoS policies documentation" 2017-06-17 08:03:53 +00:00
Reedip
89abce3efe Pass the complete info in sg/rules db into PRECOMMIT_XXX callback
PRECOMMIT_XXX events callback need completed sg info, like the sg id
and its related rules for registered driver.

Change-Id: I6f49f25eb2ad16221357024f45a6bb6175d5cd55
Co-Authored-By: Rui Wang <starwangrui@gmail.com>
Co-Authored-By: Manjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Co-Authored-By: Yalei Wang <yalei.wang@intel.com>
Closes-bug: #1546910
2017-06-16 16:32:46 -07:00
Jenkins
607c1810db Merge "Don't log ipam driver on every IP allocation" 2017-06-16 23:04:17 +00:00
Jenkins
0cdddcd7b6 Merge "OVO: ensure decomposed plugin do not break with OVO" 2017-06-16 22:33:01 +00:00
Jenkins
da0c0be9d9 Merge "use neutron-lib's callback fixture" 2017-06-16 20:34:38 +00:00
Boden R
98b9177c3e OVO: ensure decomposed plugin do not break with OVO
Commit af52d499a53f9dddacd8c9116d1bb0570e8f579c broke decomposed
plugins.

This was for a number of reasons:
1. _make_security_group_dict should always get the object as
   as parameter. There were some cases where it received the
   database object
2. The returned port security groups needed to be a list
3. A rule create needed to fetch from the DB

In addition to this the methods resource_extend.apply_funcs
should receive the database object.

Change-Id: I740da1ea65a0af9451701e3a40fd673fa82f0f5b
2017-06-16 13:42:34 -06:00
Jenkins
5a1de1be7d Merge "replace WorkerSupportServiceMixin with neutron-lib's WorkerBase" 2017-06-16 15:36:08 +00:00
Jenkins
243c742f4e Merge "Split allowed ICMPv6 types into two constants" 2017-06-16 06:14:01 +00:00
Jenkins
8829d90204 Merge "python3: Do not pass MagicMock as ConfigOpts" 2017-06-16 05:29:14 +00:00
Jenkins
e17e58ee5a Merge "Updated from global requirements" 2017-06-16 05:13:25 +00:00
Jenkins
211fb55fab Merge "net_helpers: Set process streams to text mode" 2017-06-16 04:33:10 +00:00
Jenkins
40d2df0094 Merge "Removed Mitaka times compatibility code from RPC callbacks" 2017-06-16 04:14:15 +00:00
Jenkins
934641e59e Merge "Lazy load of resources in resource cache" 2017-06-16 00:15:54 +00:00
Jenkins
6509f92e4f Merge "functional: Add support for python35 flavor" 2017-06-15 23:33:35 +00:00
Jenkins
fa5babc9a5 Merge "python3: use a list of IPDevice objects in tests" 2017-06-15 23:33:15 +00:00
Akihiro Motoki
eee9d2ca80 docs: Fix indent level
Leading spaces before item lists leads to vertical line
on the left side. They are completely unnecessary.

Change-Id: I08c3f077e470aa593076a525de1445bc5d0bdb9a
2017-06-16 08:21:56 +09:00
Akihiro Motoki
a23cd43abe docs: reorganize developer reference for new theme
openstackdocstheme generates the toc tree in the left sidebar
based on the page hierarchy from the top page.
The previous developer guide hirarchy is a bit deep, and
this commit reorganizes the devref pages for better navigation
with openstackdocstheme.

Change-Id: I1412b047efc1c268b34ef97e78073da7bcbb6d7e
2017-06-16 08:21:56 +09:00
Akihiro Motoki
2a1b0b0523 docs: switch to openstackdocstheme
The docs reorganization proposed in the docs-specs [1],
we will migrate our sphinx theme to openstackdocsthems.
This commit switches our docs theme to it,

Also ajust title levels. openstackdocstheme assume one title (first
level) per page.  Second or later first-level titles are not shown.
This changes title levels to match openstackdocsthem requirements.

Note that oslosphinx is used by releasenotes build,
so it is not dropped from test-requirements.txt.

[1] https://review.openstack.org/#/c/472275/

Change-Id: I72d55c26401ae9bfd06626d1b1584a368bbd9f86
2017-06-16 08:20:54 +09:00
Jenkins
674b354e61 Merge "Remove unnecessary debug statement from OVO push" 2017-06-15 22:45:49 +00:00
OpenStack Proposal Bot
8cc9348181 Updated from global requirements
Change-Id: I047caa0164ea3aeff08bb442329b97889ccd92e8
2017-06-15 22:45:38 +00:00
Jenkins
c3803b1701 Merge "Decompose SG RPC API DB methods" 2017-06-15 22:37:55 +00:00
Jenkins
ebf0e5dafd Merge "Move info retrieval methods below notifier" 2017-06-15 22:36:46 +00:00
Jenkins
dfeab00048 Merge "Move db methods to bottom of SG RPC class" 2017-06-15 22:36:31 +00:00
Jenkins
cd5c480fc4 Merge "Move retry decorator to DB methods" 2017-06-15 22:26:38 +00:00
Jenkins
177c665052 Merge "Switch to olso.messaging:get_rpc_transport" 2017-06-15 21:52:25 +00:00
Kevin Benton
a919ab2959 Lazy load of resources in resource cache
This gets rid of the bulk_flood call and adjusts
the cache to query the server on demand as it's asked
for things it hasn't been asked for before.

Change-Id: I58f3d4dd9bcf545fd9dca8cd42673d705db06c10
Partially-Implements: blueprint push-notifications
2017-06-15 13:26:20 -07:00
Jenkins
1bbb8a421d Merge "Send port ID in network-changed event to Nova" 2017-06-15 17:22:36 +00:00
Brian Haley
b212951e17 Add a missing _LW()
Missed a _LW() in a recent ip_lib change.

Trivalfix

Change-Id: I1df870258fad2fb0f01c6bd34685efcb89acf4ce
2017-06-15 12:00:51 -04:00
Jenkins
a56fcd6728 Merge "Trigger port status DOWN on VIF replug" 2017-06-15 14:58:56 +00:00
Jakub Libosvar
33778d9605 functional: Add support for python35 flavor
configure_for_func_testing.sh configures rootwrap into venv directory.
This patch consumes venv passed from project-config including python
version flavor.

Change-Id: I7fea6e9aa09550e00edf6ce2d7301312307df5fd
2017-06-15 13:57:30 +00:00
Jakub Libosvar
5d619e54e2 net_helpers: Set process streams to text mode
RootHelperProcess extends Popen from subprocess and sets all
stdin/stdout/stderr descriptors to PIPE. These descriptors use byte
array by default in Python 3. If universal_newlines [1] is set for Popen
object, then those descriptors work in text mode.

[1] https://docs.python.org/3.5/library/subprocess.html#popen-constructor

Change-Id: I3fa2192271aed81fb6da658b8196b365a20fa286
2017-06-15 12:32:18 +00:00
Jenkins
2d752108d0 Merge "Fix test_dvr_gateway_host_binding_is_set" 2017-06-15 11:56:14 +00:00
Kevin Benton
0d7952400b Trigger port status DOWN on VIF replug
Now with the merge of push notifications, processing a port update
no longer automatically implies a transition from ACTIVE to BUILD
to ACTIVE again.

This resulted in a bug where Nova would unplug and replug an interface
quickly during rebuild and it would never get a vif-plugged event.
Nothing in the data model was actually being updated that resulted in
the status being set to DOWN or BUILD and the port would return before
the agent would process it as a removed port to mark it as DOWN.

This fixes the bug by making the agent force the port to DOWN whenever
it loses its VLAN. Watching for the VLAN loss was already introduced
to detect these fast unplug/plug events before so this just adds the
status update.

Closes-Bug: #1694371
Change-Id: Ice24eea2534fd6f3b103ec014218a65a45492b1f
2017-06-15 02:48:11 -07:00
Rodolfo Alonso Hernandez
7064e587db Remove unreachable code in OVS mech driver
Removed an unreachable section of code in OpenvswitchMechanismDriver.

Trivial-Fix

Change-Id: I756594d4d2cc6a63e2ecfdf713f18bebdffeb4d2
2017-06-15 09:26:31 +01:00
Rodolfo Alonso Hernandez
3e87e4ab0d Add "default" behaviour to QoS policies documentation
Added devref documentation related to the "default" behaviour
for QoS policies.

Change-Id: Ic3b149ec5dfdc732a4b5851237389abaef8992b7
Closes-Bug: #1694298
2017-06-15 09:02:12 +01:00
Jenkins
c507656044 Merge "Integrate Security Groups OVO" 2017-06-15 07:37:38 +00:00
Kevin Benton
803f7b8544 Fix test_dvr_gateway_host_binding_is_set
Router scheduling was happening before the schedule call
so sometimes the router was being scheduled to a different
host than the test was expecting.

This fixes it by explicitly setting the router to not be HA
and calls schedule before adding interfaces that would trigger
scheduling.

Closes-Bug: #1698058
Change-Id: I6c6319f1da72546a9d21af198daf9a2a67e6dec8
2017-06-15 00:25:35 -07:00
Jenkins
920c2f6afa Merge "Add myself to the list of our Infra liaison" 2017-06-15 05:51:46 +00:00
Jenkins
0f2bb3ca1d Merge "Add a dashboard for Infra reviews" 2017-06-15 05:51:31 +00:00
Jenkins
4b4fdee678 Merge "Integration of Allocation/Endpoints OVO" 2017-06-15 03:20:09 +00:00
Jenkins
817ca843fa Merge "Add support for ingress bandwidth limit rules in ovs agent" 2017-06-15 03:19:53 +00:00
Kevin Benton
5d66e3f198 Decompose SG RPC API DB methods
Break apart the SG RPC API into sg info generation logic,
notification logic, and logic to retrieve the rules from
the database.

This allows a follow-up patch to re-use the same security
group info generation logic while retrieving the security
group info from a push notification cache on the agent rather
than a DB on the server.

Partially-Implements: blueprint push-notifications
Change-Id: Ib4359e4016b5a72f70f3fd4f9134887eef59a0bd
2017-06-14 16:11:41 -07:00
Jenkins
1720468638 Merge "DVR: Fix DVR Router snat ports and gateway ports host binding issue" 2017-06-14 22:43:09 +00:00