summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainstable/trainOpenStack Release Bot2019-09-201-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/train branch, tests will continue to use the upper-constraints list on master. Change-Id: I7fb67a78c9317b6a04ae8d3fc9f453c04f963204
* Update .gitreview for stable/trainOpenStack Release Bot2019-09-201-1/+2
| | | | Change-Id: I1bf24f3d785ca4e2666c00de697bf0615fa8f90f
* 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>
* | Merge "Change python3.5 job to python3.7 job on Stein+"Zuul2019-03-040-0/+0
|\ \ | |/ |/|
| * Change python3.5 job to python3.7 job on Stein+Corey Bryant2019-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.7 and drop the Python 3.5 unit test job. python3.5 was the only supported python3 version on Xenial. Now that we have Bionic nodes supporting python3.6 and python3.7, let's switch to testing with python3.7 in addition to python3.6 in Stein and beyond. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Change-Id: Ic540fd39a82938e5fc84dc270bd5238097a4575e Story: #2004073 Task: #27440
* | add python 3.7 unit test jobstein-em2.32.2ZhongShengping2019-02-191-0/+1
|/ | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.7. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Story: #2004073 Task: #27440 Change-Id: I70538eef8d6ffc72b70d1cd949a05a49132b381a
* Use template for lower-constraintsAndreas Jaeger2018-12-201-10/+5
| | | | | | | | | | | 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-discussqingszhao2018-12-041-1/+1
| | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: If37edf0daa609cb51370b16f969a259bb2d28f18
* delete useless indentwangqi2018-11-071-2/+2
| | | | Change-Id: I318bfc0c1448ea87e52a66b97c1bee91b8dc5109
* Clean up .gitignore references to personal toolsZhongShengping2018-10-151-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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 methods2.32.12.32.0Gary Kotton2018-09-042-0/+298
| | | | | | | Provide methods that wil enable nova/neutron to manage port groups. Change-Id: I81fc039e86b56388881427a6fbc4efd41207fafa
* Check if there is a context set before updating the storeRadoslav Gerganov2018-08-312-1/+32
| | | | | | | 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"Zuul2018-08-271-0/+1
|\
| * add lib-forward-testing-python3 test jobDoug Hellmann2018-08-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Set request context when polling vCenter tasks"Zuul2018-08-235-6/+25
|\ \
| * | Set request context when polling vCenter tasksRadoslav Gerganov2018-08-075-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "py37: deal with Exception repr changes"Zuul2018-08-171-6/+10
|\ \ \
| * | | py37: deal with Exception repr changesCorey Bryant2018-07-301-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Imported Translations from ZanataOpenStack Proposal Bot2018-08-141-3/+6
| |_|/ |/| | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I711cf7ca3e638f24b696fc0585a5f9d0e522d0c3
* | | add python 3.6 unit test jobDoug Hellmann2018-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | import zuul job settings from project-configDoug Hellmann2018-08-031-0/+7
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update reno for stable/rockyOpenStack Release Bot2018-07-262-0/+7
|/ | | | Change-Id: Iabb08a1fd55e9f31d014479a6584595971734563
* Utility method to check SDRS enabled statusrocky-em2.31.0Vipin Balachandran2018-07-181-0/+14
| | | | | | | Adding a method to check whether vSphere Storage DRS is enabled for a given datastore cluster. Change-Id: Ib7441c8b2fe8a006d3eb5da70bf5b7230f4ae571
* Add function for getting recommended datastoreRadoslav Gerganov2018-07-172-0/+56
| | | | | | | 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 clustersRadoslav Gerganov2018-07-092-0/+68
| | | | | | | | 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 stestrVu Cong Tuan2018-07-046-12/+7
| | | | | | | | | | 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 README2.30.0melissaml2018-06-211-0/+1
| | | | Change-Id: I4930cb728c32590a63831290edb1685c781b541d