summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [stable-only] Pin virtualenvwallaby-em3.8.2stable/wallabyIgnacio Horcada Bernal2022-07-201-0/+1
| | | | | | | | This patch introduces pinning virtualenv version to ensure compatibility of setuptools with suds-jurko. Change-Id: I472bcfd7b396c7567117a0d2a626235d471750e3 (cherry picked from commit 3a739bdd8510bbd18c0dc9a63735c875450cb0ea)
* Update TOX_CONSTRAINTS_FILE for stable/wallaby3.8.1OpenStack Release Bot2021-04-151-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/wallaby branch, tests will continue to use the upper-constraints list on master. Change-Id: I644928f8b13da1a1e3dd7fe9767f1ba2234777d2
* Update .gitreview for stable/wallabyOpenStack Release Bot2021-04-151-1/+2
| | | | Change-Id: Ia36c4287dbbfd7b635e9fb653234123c5b6451a8
* Move flake8 as a pre-commit local target.Daniel Bengtsson2021-04-151-3/+7
| | | | | | | | | | | | | | | | The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach[1]. The flake8 version to install will be determined by hacking and requirements[2] will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Change-Id: I7e22a1530e531185f64eef524b06b49544af407e (cherry picked from commit ce8d61bfa2a5f33331fcde1aab81c12a9b417777)
* Add PBM WSDL for vSphere 7.03.8.0Xiangfei Zhu2021-01-2510-2/+40876
| | | | | | Adding WSDL files for SPBM APIs in vSphere 7.0. Change-Id: I8e190d00f3140f9f0864b83b723f0aec9235f1e3
* Imported Translations from ZanataOpenStack Proposal Bot2020-10-112-4/+61
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8ad3f9a82802c6233dd8776011560b845656d3d5
* Merge "Adding pre-commit"Zuul2020-09-2210-2350/+2392
|\
| * Adding pre-commitHervé Beraud2020-09-0810-2350/+2392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced changes: - pre-commit config and rules - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: I593196cf0d099fe1dcc3a6298fd6cc6b7a883ea2 Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | Add Python3 wallaby unit testsOpenStack Release Bot2020-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I65e952d5d7e23efc4ab1e15da54f26e278d25c96
* | Update master for stable/victoriaOpenStack Release Bot2020-09-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: I3501779b248b21acba11a1e097447a3e0aa65b5c Sem-Ver: feature
* | Merge "Bump bandit version"victoria-em3.7.0Zuul2020-08-061-1/+1
|\ \
| * | Bump bandit versionMoisés Guimarães de Medeiros2020-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393 Change-Id: If1e25c02adf0fb8f96f7bfb9134c5d170fab15eb Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | | [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-08-042-5/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40207 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h> Change-Id: Ib0a675e53ad060e9e0f8c6bcdce45f7a870e379c
* | Add backend-independent access to cookiejar3.6.0Johannes Kulik2020-07-146-14/+41
|/ | | | | | | | | | | | Having the cookiejar available as attribute on the client instead of some child objects exposes an interface which depending code can rely on. This will help with upcoming efforts to switch the SOAP library backing oslo.vmware. This is part of phase 1 of https://specs.openstack.org/openstack/oslo-specs/specs/victoria/oslo-vmware-soap-library-switch.html Change-Id: I72082f10a184a2451dfda3d002a9288fefcef961
* Add moref helper functions3.5.0Johannes Kulik2020-07-0912-46/+97
| | | | | | | | | | | | | | | | | | | | | | | Since the attribute access on a ManagedObjectReference can differ depending on the SOAP library used in the backend, we and especially depending projects should not rely on it, because that breaks the abstraction layer oslo.vmware is supposed to provide. To help transitioning to a newer backend library, we introduce two methods for retrieving a ManagedObjectReference's value and type: get_moref_value() and get_moref_type(). We cannot handle this by just returning our own ManagedObjectReference object with uniform access, because it's hard to get control of all morefs returned by the API. In that spirit, we also change all references inside of oslo_vmware to using `get_moref_value()` and `get_moref_type()` instead of directly accessing the attributes. This is part of phase 1 of https://specs.openstack.org/openstack/oslo-specs/specs/victoria/oslo-vmware-soap-library-switch.html Change-Id: I0b0a3d37f6c7d0c750b48596bc3d79b8b2cb0cee
* Merge "Align contributing doc with oslo's policy"Zuul2020-06-301-0/+5
|\
| * Align contributing doc with oslo's policyHervé Beraud2020-05-051-0/+5
| | | | | | | | | | | | | | | | Related to: - https://review.opendev.org/#/c/723044/ - https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Change-Id: I4ca5d293e1ca6fa3be52791c7ae2ffc612b329f3
* | Merge "Validation of VMDK upload completion"3.4.0Zuul2020-05-283-2/+45
|\ \
| * | Validation of VMDK upload completionIvaylo Mitev2020-05-273-2/+45
| |/ | | | | | | | | | | | | | | Validate the completion of VMDK upload in ImportVApp. Otherwise, an incomplete upload is falsely marked as successful which results in corrupted VM. Change-Id: I0608afd31daf95b564d3fc32028401d4aa526055
* | Merge "Remove translation sections from setup.cfg"Zuul2020-05-262-15/+0
|\ \
| * | Remove translation sections from setup.cfgmelissaml2020-05-152-15/+0
| |/ | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: I49fb3d1d1af4d32a4f6154b35d0d78ff9f7e31a9
* | Merge "Fix hacking min version to 3.0.1"Zuul2020-05-261-1/+1
|\ \
| * | Fix hacking min version to 3.0.1zhangboye2020-05-221-1/+1
| | | | | | | | | | | | Change-Id: I11fdd5a0779ed6d638682ac9273e3e50ec64261b
* | | Merge "Add release notes links to doc index"Zuul2020-05-261-1/+11
|\ \ \
| * | | Add release notes links to doc indexHervé Beraud2020-04-161-1/+11
| | | | | | | | | | | | | | | | Change-Id: I56708cf43ea422a8ce1e69e41130d04f4ea42cbb
* | | | Merge "Imported Translations from Zanata"Zuul2020-05-261-3/+26
|\ \ \ \
| * | | | Imported Translations from ZanataOpenStack Proposal Bot2020-05-201-3/+26
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ie9c93412282e68786dcdd96618f816dec95044e1
* | | | Merge "Remove the unused coding style modules"Zuul2020-05-261-5/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove the unused coding style modulesjacky062020-05-151-5/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt as they are not actually used in tests (other than pep8). more info: https://github.com/openstack/requirements/blob/master/blacklist.txt Change-Id: I653b11858860f30a5ce10476d3f0a0b6df3d7eab
* | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-184-18/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering Update Sphinx version as well. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. Depends-On: https://review.opendev.org/728938 Change-Id: I6e7adce626eeba8010c915bf579b79e07ea645cf
* | Merge "Add py38 package metadata"Zuul2020-04-271-0/+1
|\ \
| * | Add py38 package metadataSean McGinnis2020-04-241-0/+1
| |/ | | | | | | | | | | | | | | | | Now that we are running the Victoria tests that include a voting py38, we can now add the Python 3.8 metadata to the package information to reflect that support. Change-Id: Ibfb252d74656dd517686082328048db8ce48384d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
|/ | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: Ie160ee9faca27890e5fdcd21b1212d6c93cde735 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Add Python3 victoria unit testsOpenStack Release Bot2020-04-141-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I313cbfd89de29ad5d8f4e2782e1efefb230945d0
* Update master for stable/ussuriOpenStack Release Bot2020-04-142-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: I43ff22bd52ca8f14ddf807c629322752e5752801 Sem-Ver: feature
* 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