summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
* Add traversal spec for datastoreFolderRadoslav Gerganov2018-06-192-0/+11
| | | | | | | | 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 generationRadoslav Gerganov2018-06-191-0/+1
| | | | | | | | | 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 overridesDoug Hellmann2018-06-071-5/+9
| | | | | | | | | | | | | | | 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 <doug@doughellmann.com>
* Merge "Fix session re-establish failure with PBM APIs"2.29.2Zuul2018-06-022-7/+15
|\
| * Fix session re-establish failure with PBM APIsVipin Balachandran2018-05-072-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Refactor _start_transfer"Zuul2018-06-021-6/+16
|\ \
| * | Refactor _start_transferVipin Balachandran2018-05-071-6/+16
| |/ | | | | | | | | | | | | | | | | | | 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
* | Specify CA store when making secure connections with urllib32.29.1Radoslav Gerganov2018-05-212-3/+7
| | | | | | | | | | | | | | | | | | | | 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"2.29.0Zuul2018-05-088-0/+39466
|\ \