summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuristable/ussuriOpenStack Release Bot2020-04-141-2/+2
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/ussuri branch, tests will continue to use the upper-constraints list on master. Change-Id: I0b746cfcd8c5a03b758f6ed1ab1f3a1b874b79dd
* Update .gitreview for stable/ussuriOpenStack Release Bot2020-04-141-1/+2
| | | | Change-Id: I70a7d719d518a55fee3bc6b096ed8aaadc0b07c6
* Use unittest.mock instead of third party mockussuri-em3.3.1Sean McGinnis2020-03-3113-41/+22
| | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I4d8eada1df0ec43162d4729bf75147eb40252b72 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Document disable flake8/hacking warningsAndreas Jaeger2020-03-301-0/+2
| | | | | | document the ignored warnings in tox.ini. Change-Id: I4d22611f6676e96e5d5287bee4620e16ad41c3a1
* Update hacking for Python33.3.0Andreas Jaeger2020-03-307-15/+15
| | | | | | | | | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix: F601 dictionary key 'cr_to_rp' repeated with different values F841 local variable 'excep' is assigned to but never used F821 undefined name 'excep' E305 expected 2 blank lines after class or function definition, found 1 E731 do not assign a lambda expression, use a def Blacklist: W504 line break after binary operator Update hacking extension for newer flake8 version. Change-Id: I9f0d7b166e285091111c42fe978d29d7dd3bf5db
* Merge "Drop use of six"Zuul2020-03-2115-54/+38
|\
| * Drop use of sixHervé Beraud2020-03-0215-54/+38
| | | | | | | | Change-Id: I7b1fd3412b815d88b6d54178566f4089433f98ff
* | Merge "Pass "base_image_ref" to backend when transfer volume to image"Zuul2020-03-182-7/+13
|\ \
| * | Pass "base_image_ref" to backend when transfer volume to imageRajat Dhasmana2020-03-062-7/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | Cinder has a current implementation to support glance colocation of volume images[1]. To support this feature for vmdk driver, we need to pass the base image reference (from which the volume was originally created) to the image service update method which this patch addresses. [1] https://review.opendev.org/#/c/697636/ Change-Id: Iba7cbdd3f50877d360201391e87f1748433348a7
* | Fix object has no attribute 'readinto' in Python33.2.1xuel2020-03-112-9/+8
| | | | | | | | | | | | File Object in Python3 do not have readinfo function. Change-Id: Ifcda45d7641b895a58472a533655ca4d3f33f246
* | Update the tox minversion parameter.Daniel Bengtsson2020-03-101-1/+1
|/ | | | | | | | | | | | Update the minversion parameter to use the python -m pip to install python packages: https://tox.readthedocs.io/en/latest/changelog.html#id185 It's recommend to use this. Remove the useless install_command parameter. Change-Id: I17588a5702fa1f9429dd6bc2d1a8c4ad9e90c539
* Merge "Add ability to change read chunk size"3.2.0Zuul2020-03-022-5/+22
|\
| * Add ability to change read chunk sizeHemna2020-02-052-5/+22
| | | | | | | | | | | | | | | | | | This patch adds the ability to change the read chunk size during a call to VmdkReadHandle.read calls. The read size defaults to READ_CHUNKSIZE, which was the previous behavior. Change-Id: I2480a2dfc42b51a22a2fce071c62c97d84555cf1
* | Merge "Ensure lease polling raises proper exception"Zuul2020-03-023-11/+57
|\ \
| * | Ensure lease polling raises proper exceptionHemna2020-02-063-11/+57
| | | | | | | | | | | | | | | | | | | | | This patch adds the ability to properly translate and raise VimExceptions when polling the state of the lease. Change-Id: Ie22808471d4c72e26607e817167e0e2283630b5a
* | | Merge "Adds standard file operation functions"3.1.0Zuul2020-02-132-0/+57
|\ \ \
| * | | Adds standard file operation functionsHemna2020-02-052-0/+57
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds some standard file handle functions to the FileHandle class. This adds seek fileno tell flush Change-Id: I2ae5af9f79732a757788a03f2aabdf784f461d40
* | | remove outdated headerHervé Beraud2020-02-101-1/+0
| | | | | | | | | | | | Change-Id: I6fa0378b122f227970c32bc2ab8b6c0393d336bd
* | | reword releasenote for py27 support droppingHervé Beraud2020-02-061-1/+1
|/ / | | | | | | Change-Id: I75c5420de8615a17692704182e79f571ac27ede2
* | [ussuri][goal] Drop python 2.7 support and testing3.0.0Hervé Beraud2020-02-048-23/+12
|/ | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in Ussuri cycle. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: I4b1f1b65d21340e76971d2bf31ee79d97392c454 Sem-Ver: api-break
* Pass "store_id" to backend when transfer volume to image2.35.0Damon Li2020-01-102-3/+7
| | | | | | | | | | | Glance supports multiple stores now. In order to use this feature, on patch #661676, it added parameter "store_id" when call function "image_transfer.upload_image". We need to parse this parameter and pass it to "image_service.update" function. Closes-Bug: #1857094 Change-Id: I03747f54545ae3f91bf10de76d07de6828a419d6
* tox: Trivial cleanupcaoyuan2019-12-231-10/+3
| | | | | | move 'basepython' to the top-level 'testenv' Change-Id: Ic3474388671341921bbfe3267405b4d90412ace0
* Merge "Switch to Ussuri jobs"Zuul2019-12-021-1/+1
|\
| * Switch to Ussuri jobszhangboye2019-10-251-1/+1
| | | | | | | | Change-Id: Iee79b99c9375342bdb1a081fff40c604da8962b3
* | tox: Keeping going with docscaoyuan2019-10-243-5/+8
|/ | | | | | | | | | | | Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name suggests, keeps the build running when it encounters non-fatal errors. This is exceptionally useful in avoiding a continuous edit-build loop when undertaking large doc reworks where multiple errors may be introduced. [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045 Change-Id: I390f8f7add7530f1442f66816389202e3ed21f05
* Update master for stable/trainOpenStack Release Bot2019-09-202-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: Iadf764c8127ff1713f2c5e9bededdb8d29f294af Sem-Ver: feature
* Follow the new PTI for document buildtrain-em2.34.1ZhongShengping2019-07-198-91/+38
| | | | | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detailed information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Id20646cd51ffc13cf4e77c640eb677fe376c1b1f Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
* Add Python 3 Train unit testsCorey Bryant2019-07-193-3/+3
| | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I4625a70e74f5c01c7b69ef14f1112c5057d10255 Story: #2005924 Task: #34234
* Add local bindep.txtStephen Finucane2019-07-182-0/+24
| | | | | | | | | | | | | As it was announced [1] global bindep-fallback.txt was removed and now projects need to have a local bindep.txt to be able to install binary dependencies for testing. We use lxml which requires a number of underlying packages. [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html Change-Id: Ie635fa5d613cb89f8de8c8c8d5b119621acb926d Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Sync Sphinx requirementjacky062019-06-031-1/+2
| | | | | | | | | | Sync sphinx dependency with global requirements. It caps python 2 since sphinx 2.0 no longer supports Python 2.7. This change fixes `requirements-check` Zuul job. Change-Id: I9c3dff8c0a87d3bad327f83770f8a6f8484abac6 Closes-Bug: #1831410
* Merge "Dropping the py35 testing"2.34.0Zuul2019-05-203-3/+2
|\
| * Dropping the py35 testingGhanshyam Mann2019-05-143-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the integration testing has been moved to Bionic now[1] and py3.5 is not tested runtime for Train or stable/stein[2]. As per below ML thread, we are good to drop the py35 testing now: http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html [2] https://governance.openstack.org/tc/reference/runtimes/stein.html https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: I29cc5d550d36fc2d80ca4364aa972567fa70d280
* | Merge "Ensure that log message with non-ascii code does not raise exception"Zuul2019-05-151-3/+1
|\ \
| * | Ensure that log message with non-ascii code does not raise exceptionGary Kotton2019-05-141-3/+1
| | | | | | | | | | | | | | | | | | This may cause the looping task to freeze. Change-Id: Ibf1ace8f0c45a56738432028c8125154c5aa3c15
* | | Merge "Update NFC lease progress"Zuul2019-05-142-3/+17
|\ \ \ | |_|/ |/| |
| * | Update NFC lease progressVipin Balachandran2019-05-102-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | Adding a looping call to periodically update NFC lease progress during virtual disk copy from ESXi to file handle. Change-Id: Id562d200c92af94151b08d3ae4217da41edea55e
* | | Merge "Replace git.openstack.org URLs with opendev.org URLs"Zuul2019-05-143-8/+8
|\ \ \ | |_|/ |/| |
| * | Replace git.openstack.org URLs with opendev.org URLsjacky062019-05-053-8/+8
| | | | | | | | | | | | Change-Id: I335d3b2493f53a305ec0e22c31d817ca8ba87e40
* | | Set locale to englishVipin Balachandran2019-05-132-4/+5
| |/ |/| | | | | | | | | | | | | | | oslo.vmware library does not need to emit localized messages from vCenter. Explicitly setting the locale to 'en' during session establishment to avoid UnicodeDecodeError while handling non- english vCenter messages. Change-Id: Ifb26a7832c15af3ed3227c94131fe0b22579e889
* | Add nosec to skip bandit checkVipin Balachandran2019-05-101-1/+1
| | | | | | | | | | | | | | Bandit is flagging one of the lines in unit test as a security issue which is false positive. Adding nosec to skip that line. Change-Id: I36feb93bc23ba5ef0cb497859140bb5f962f2bee
* | Merge "When looping call fails do not log the exception trace"Zuul2019-04-231-2/+3
|\ \ | |/ |/|
| * When looping call fails do not log the exception traceGary Kotton2019-04-151-2/+3
| | | | | | | | | | | | | | This makes debugging terribly difficult when there are random legitimate errors, for example a file is not found. Change-Id: Iec76b95a70552de8e27683c0ea388b55b519db9f
* | OpenDev Migration Patch2.33.0OpenDev Sysadmins2019-04-191-1/+1
|/ | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Fix invalid escape sequence warningSean McGinnis2019-04-101-1/+1
| | | | | | | | | | Python 3.6 is more strict about special characters in regular strings if they are invalid escape sequences. This most often happens in regex strings. This fixes one instance by switching the regex string to use a raw string. Change-Id: I73a7393fe04c920c7d82a2fa68f1cf0c7d453a7d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Fix doc build error under Python 3Sean McGinnis2019-04-102-1/+2
| | | | | | | Small fix to switch "print foo" to "print(foo)". Change-Id: Ib49a5e9420a4ab2ab62db2886a78c070ff6c5ba0 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update master for stable/steinOpenStack Release Bot2019-03-182-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: I18c08f5200dc7cceb8d8b8bf8133b2c89c8ce367 Sem-Ver: feature
* Merge "Return None if no suitable datastore is found"Zuul2019-03-071-0/+3
|\
| * Return None if no suitable datastore is foundGary Kotton2019-03-031-0/+3
| | | | | | | | | | | | | | | | In the case of a datastore cluster, if no datastor is found then return None. Do not fail on a key exception for accessing a field that does not exist Change-Id: I036f8022e2b9f454f7cd10846b408153a18b7b60
* | Merge "SDRS recommendation for create VM"Zuul2019-03-071-6/+27
|\ \ | |/
| * SDRS recommendation for create VMVipin Balachandran2019-03-031-6/+27
| | | | | | | | | | | | | | | | Adding a method to return SDRS recommendation key for creating a VM. Change-Id: If759114357c2929c813f55d57df3775f0eb9533d Authored-by: Vipin Balachandran <vbala@vmware.com>