From ee52541465829cc6d41b94a57e1bb6bdc252ef2b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 20 Dec 2018 20:17:55 +0100 Subject: [PATCH] Update git submodules * Update oslo.vmware from branch 'master' - Use template for lower-constraints Small cleanups: * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: I4e5d1eb4a8efe3a7a00d43c49adff40d7e5478a7 Needed-By: https://review.openstack.org/623229 - Change openstack-dev to openstack-discuss Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: If37edf0daa609cb51370b16f969a259bb2d28f18 - delete useless indent Change-Id: I318bfc0c1448ea87e52a66b97c1bee91b8dc5109 - Clean up .gitignore references to personal tools Developers run all sorts of different tools within Git repositories, any of which can leave their own special trashfiles all over the place. We can't every hope to catalog them all, so better to recommend developers simply configure a global core.excludesfile to filter the irrelevant files which tend to get created by their personal choice of tools. To this end, remove the long-standing sections for "Mr Developer" and "Editors" since their mere existence here sends the signal that we welcome (and have time to review) additions for any old tool someone ever might happen to try. Also add a comment block explaining this, for clarity. We can, and should of course, continue to list files created by the tools recommended by our workflow (test frameworks called from tox, documentation and packaging builds, et cetera). This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb from the openstack-dev/oslo-cookiecutter repository. Change-Id: Ib37eff063b8df1f46a0109f6683afd7b3e765a3b - Add DVS utility methods Provide methods that wil enable nova/neutron to manage port groups. Change-Id: I81fc039e86b56388881427a6fbc4efd41207fafa - Check if there is a context set before updating the store There are cases when there is no request context set when calling an async task in vCenter. Don't update the local store in those cases. Change-Id: Ieef237bd5de0ad1c12afbf57426c29e3ca678dfc - Merge "add lib-forward-testing-python3 test job" - Merge "Set request context when polling vCenter tasks" - Merge "py37: deal with Exception repr changes" - Imported Translations from Zanata For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I711cf7ca3e638f24b696fc0585a5f9d0e522d0c3 - add lib-forward-testing-python3 test job This is a mechanically generated patch to add a functional test job running under Python 3 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ia6a80a3a77c2e30fc7fa5461e30b28e670465140 Story: #2002586 Task: #24322 - add python 3.6 unit test job This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I071cc329cbbc1e0bfda4b90c81bc03f3d4bfe183 Story: #2002586 Task: #24322 - Set request context when polling vCenter tasks There are various useful log messages which come when polling vCenter tasks which are missing request context and thus are hard to correlate to API requests. This patch fixes this by passing the request context to the async jobs which poll the vCenter tasks. Change-Id: I8efbc343e5073d3deb18b5f87c378c271ea4d816 - import zuul job settings from project-config This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I9b3c11c10342d2233624999b551e876d2d75dffc Story: #2003250 - py37: deal with Exception repr changes Under Python 3.7, a trailing comma is no longer added to the init parameters generated by a repr() call: >>> repr(Exception('It Works')) "Exception('It Works')" vs >>> repr(Exception('It Works')) "Exception('It Works',)" Support pre and post Python 3.7 formats in test cases. Change-Id: Idff8c841fd6c489e887bd72b49e91ef6f0e2d4f3 Closes-Bug: #1784487 - Update reno for stable/rocky Change-Id: Iabb08a1fd55e9f31d014479a6584595971734563 - Utility method to check SDRS enabled status Adding a method to check whether vSphere Storage DRS is enabled for a given datastore cluster. Change-Id: Ib7441c8b2fe8a006d3eb5da70bf5b7230f4ae571 - Add function for getting recommended datastore Add utility function which returns the most recommended datastore from a datastore cluster where a VM can be cloned to. Change-Id: Ic532bb9c52270ba34f70d2b7977de49f8753d1d1 - Add utility function for datastore clusters Add new function which returns reference and name of the specified datastore cluster. The cluster can be specified either by name or by its moid. Change-Id: I73df95294accc1954da571437efc8302edf544d2 - Switch to stestr According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: Iea425a8583f7396cc4e9d6964f3efa9875dc59ac - Add release notes link to README Change-Id: I4930cb728c32590a63831290edb1685c781b541d - Add traversal spec for datastoreFolder StoragePods (a.k.a datastore clusters) are located under Datacenter.datastoreFolder, so we need a new traversal spec in order to retrieve them. Change-Id: I899f8f6ef05a94d21d13a55ca0a0f8fbd042a448 - Fix docstring which breaks doc generation Generating the documentation fails because the inherited docstring for HTTPAdapter.send() gives a warning and warnings are treated as errors. This patch fixes this by putting a sane docstring for the overridden method. Change-Id: Ief6c7964848e4acec29457bc29c327ce161524f7 - fix tox python3 overrides We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I1c8016a76062f21c7413da9fc3d422677a40712e Signed-off-by: Doug Hellmann - Merge "Fix session re-establish failure with PBM APIs" - Merge "Refactor _start_transfer" - Specify CA store when making secure connections with urllib3 We have been using FileHandle classes mostly in cases when we have to establish secure connection and we have an SSL thumbprint of the host we connect to. However, there are also cases when we don't have a thumbprint and we need CA store. This patch uses the requests library to provide such CA store. Change-Id: I8567c8c273a3bff41c4b80a77e1fa8af743bf98c - Merge "PBM WSDL for vSphere 6.7" - Fix session re-establish failure with PBM APIs PBM APIs break the API contract in vSphere 6.5 by raising NotAuthenticated fault instead of SecurityError when session is expired. We do catch NotAuthenticated faults (raised by VIM APIs), but PBM APIs use the 'vim25' namespace which result in not identifying the session expiry case. Therefore, the session is not re-established. Fixing it by matching the fault name suffix with 'NotAuthenticated' in the suds WebFault exception handler Closes-bug: #1769755 Change-Id: I35d48c12a5b1d5fe94a10b56b1ab06c34446de28 - Refactor _start_transfer Currently we create an instance of FixedIntervalLoopingCall (to update lease progress) even if the write handle is not of type VmdkWriteHandle. Also, we do not create any progress updater for VmdkReadHandle. Refactoring _start_transfer to create updater only if the handle is of type VmdkHandle. Change-Id: I6e306a5ff453f16e9bdfbd97996206db7db8447e - Merge "Remove stale pip-missing-reqs tox test" - PBM WSDL for vSphere 6.7 Adding WSDL files for SPBM APIs in vSphere 6.7. Change-Id: I8e7d7789e52d108b948e65a4f3aa2413e485b432 - Merge "fix a typo:s/extention/extension" - Remove stale pip-missing-reqs tox test pip_missing_reqs tool is no longer maintained and has broken with release 10 of pip Refer to: http://lists.openstack.org/pipermail/openstack-dev/2018-April/130027.html Change-Id: I30bfdeca565a21867ea8c1ddedca5d74293008cd - fix a typo:s/extention/extension Change-Id: I2b720a942484d7c1ce67fc7c25c6bd5c00ea6099 - Trivial: Update pypi url to new url Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/ [2] https://pypi.org/project/ Change-Id: Ia9c7ceb087303a73556f72a790ace3eac41f6a86 - Merge "set default python to python3" - set default python to python3 Set the default python to python3 except for the py27 environment. We have to set that explicitly to override the new default. Because flake8 now runs under python 3 there is no built-in name 'file'. Instead we can use the same symbols from the io module to build the spec for mocking out the open() call. The old version of that code that used to only run under python 3 used a private version of the io module, so that is also corrected. Change-Id: I2491e65736d2c79f1134eec6371967c39873891b Signed-off-by: Doug Hellmann - fix lower constraints and uncap eventlet Fix the lower constraints values to match the expected values. We will manage the eventlet version using constraints now. See the thread starting at http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html for more details. Change-Id: I113e66639c61d0a870037c252415a07879e24872 Signed-off-by: Doug Hellmann --- oslo.vmware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo.vmware b/oslo.vmware index a943629f85..a1f2a43651 160000 --- a/oslo.vmware +++ b/oslo.vmware @@ -1 +1 @@ -Subproject commit a943629f85fe7c324ab3a69f81fd566dd512904f +Subproject commit a1f2a43651f32394a567033668074b67a59b6a2f