summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup session objecttrain-em2.17.1stable/trainAlex Schultz2020-03-171-0/+9
| | | | | | | | | | | | | If a session object is not provided to the get_http_client function (as is done via osc), the glance client uses it's own HTTPClient class. This class creates a session but does not properly close it when it is done. This can lead to resource warnings about unclosed sockets. This change adds a __del__() to the HTTPClient class to close out the session correctly. Change-Id: Idccff338fa84c46ca0e429bb533a2a5217205eef Closes-Bug: #1838694 (cherry picked from commit 436f797e8db2fc11b7dace7cb7020e4d44a3d2d7)
* Remove v1 testsErno Kuvaja2020-03-112-62/+0
| | | | | Change-Id: Ic6cb15670a42d0cea424f58d6a1d85d5471e162e (cherry picked from commit 993406d57d933cd4f789f97b48cf4d7b5b0b9bc4)
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot2019-09-131-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: Icfe93ee2d2da8e153ab33685e9b67fdf33098628
* Update .gitreview for stable/trainOpenStack Release Bot2019-09-131-0/+1
| | | | Change-Id: I28c2dac266fc718290fc65fb6c3b130ce031ac8c
* Merge "Rename --backend to --store"2.17.0Zuul2019-09-132-43/+43
|\
| * Rename --backend to --storeAbhishek Kekane2019-05-142-43/+43
| | | | | | | | | | | | | | | | As a part of vocabulary correction renamed --backend parameter to --store. Modfied corresponding tests as well. bp:multi-store-vocabulary-correction Change-Id: I3dc115f5f0f3c4edcca0209e139aa3d1d816357c
* | Add release note for glanceclient 2.17.0Brian Rosmaita2019-09-121-0/+35
| | | | | | | | Change-Id: Ib5cc95d4faad4847297c62ed6943dbc357a64234
* | Merge "Add upper-constraints.txt to releasenotes tox environment"Zuul2019-08-211-1/+3
|\ \
| * | Add upper-constraints.txt to releasenotes tox environment98k2019-01-091-1/+3
| | | | | | | | | | | | | | | | | | | | | Without these dependencies, the releasenotes build does not actually work. Change-Id: I76285c90efec07edc25b22a846379e6d600fa036
* | | Merge "Modify the url of upper_constraints_file"Zuul2019-07-311-1/+1
|\ \ \
| * | | Modify the url of upper_constraints_filepengyuesheng2019-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Depends-On: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I63be5a18a8221f0ca2b1f2a96367288833e4a096
* | | | Merge "Trivial: fix image format typo"Zuul2019-07-311-1/+1
|\ \ \ \
| * | | | Trivial: fix image format typoLucian Petrut2019-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Glance V1 image format list contains "VDHX", which is a typo. This change fixes it, using the correct format name, which is "VHDX". Luckily, this seems to be used only as part of a help string. Change-Id: I392f25b3ee0ee9ac6024e1670053191e4bba937a
* | | | | Correcting typo in shell.py - enviroment to environment.root2019-07-301-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | There is a typographical error in glanceclient/v2/shell.py. Correcting spelling from enviroment to environment. Change-Id: Ia19a4417cd05d228adc26f9d7c82f4aa3c24488c
* | | | Merge "Bump openstackdocstheme to 1.20.0"Zuul2019-07-173-3/+2
|\ \ \ \
| * | | | Bump openstackdocstheme to 1.20.0翟小君2019-07-023-3/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Change-Id: I2577ca452a014402f1377474457095176d422b42
* | | | Add Python 3 Train unit testsCorey Bryant2019-06-253-5/+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: I4f689ee8b9534952ca30db944e547cb7ca74a17f Story: #2005924 Task: #34208
* | | | Merge "Update hacking version"Zuul2019-06-246-15/+17
|\ \ \ \
| * | | | Update hacking versionjacky062019-03-276-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: Ifc3b96d98c1a7feff187f953d487e12135887fb9
* | | | | Blacklist sphinx 2.1.0 (autodoc bug)pengyuesheng2019-06-101-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details Depend-On: https://review.opendev.org/#/c/663060/ Change-Id: I8a96eea9d3d8f6d8beae9d86f307f0edd075392c
* | | | Update sphinx dependencypengyuesheng2019-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well depend on https://review.opendev.org/#/c/657890/ Change-Id: Ic77e0db24ab7d7f068faf3e237beefa8856a710a
* | | | Merge "HTTPClient: actually set a timeout for requests"Zuul2019-05-151-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | HTTPClient: actually set a timeout for requestsCyril Roelandt2019-04-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'timeout' attribute was previously left unused. Change-Id: If615c390302425fe5a646b4651ec6f56aa08fd22 Closes-Bug: #1822052
* | | | OpenDev Migration PatchOpenDev Sysadmins2019-04-192-4/+4
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | 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: Iefe298a0e35fb2d92f3e4a15f32955ebd6e560ca Sem-Ver: feature
* | | Release notes for 2.16.0stein-em2.16.0Erno Kuvaja2019-03-072-1/+13
| | | | | | | | | | | | Change-Id: Icd4dc29d6492053b90944f5a57435fc29c6147f2
* | | Merge "Embed validation data when adding location"Zuul2019-03-074-10/+46
|\ \ \
| * | | Embed validation data when adding locationimacdonn2018-10-244-10/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for embedding of checksum, os_hash_algo and os_hash_value when adding a location to an image. Depends-On: https://review.openstack.org/597648 Change-Id: Ibbe2f2bb226f52cc6b2ab591913b1797d2b086c0
* | | | Merge "Remove redundant information from error message"Zuul2019-03-061-1/+1
|\ \ \ \
| * | | | Remove redundant information from error messagebhagyashris2019-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently user get redundant HTTP error code in error message. Removed redundant HTTP error code from the message. For Example: Error message display when user trying to get the non existing image: $ glance image-show f433471a-53a8-4d31-bf8f-f0b6b594dfc Error message: 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc (HTTP 404) After this fix: HTTP 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc Closes-Bug: #1598714 Change-Id: I33971a2a16416c8538158299325471c2a69dbb3e
* | | | | Merge "add python 3.7 unit test job"Zuul2019-03-061-0/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | add python 3.7 unit test jobCorey Bryant2019-02-141-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 Change-Id: I4f764b17155bc6cbaf9f03bd9f295de178ed0272 Story: #2004073 Task: #27415
* | | | Merge "Update min tox version to 2.0"Zuul2019-03-041-1/+1
|\ \ \ \
| * | | | Update min tox version to 2.0huang.zhiping2019-03-041-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commands used by constraints need at least tox 2.0. Update to reflect reality, which should help with local running of constraints targets. Change-Id: Ic477c7af3687535d54d779cce071f3eb1fb5490c Closes-Bug: #1801676
* | | | Update irrelevant-files for dsvm-functional testsBrian Rosmaita2019-02-281-0/+18
|/ / / | | | | | | | | | | | | | | | | | | | | | Update the irrelevant files so the expensive dsvm-functional test jobs are not run for documentation, release note, or other minor non-code changes. Change-Id: Ifbac5e891131b3f66d9332a33d818437fa67c0cc
* | | Merge "Add Python 3.6 classifier to setup.cfg"Zuul2019-02-141-0/+1
|\ \ \
| * | | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-291-0/+1
| | | | | | | | | | | | | | | | Change-Id: I96e9aad54e405395d2cfe7a8d30f6ae3bd72efdc
* | | | Merge "Add image-list filter for multihash"Zuul2019-01-184-1/+85
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add image-list filter for multihashBrian Rosmaita2019-01-174-1/+85
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed when multihash support was added to the glanceclient. The os_hash_value is an indexed field in the API. Includes a release note. Closes-bug: #1788271 Change-Id: Ibfe28b8c644967b7e0295dfd3f55c3ae1b0cbb2d
* | | Change openstack-dev to openstack-discusssunjia2018-12-031-1/+1
|/ / | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I0b00d5a692dfcc04b7f8f9fc3ccfaba41c2a84a7
* | Merge "Show the backend store info"2.15.0Zuul2018-11-152-0/+92
|\ \
| * | Show the backend store infoLiang Fang2018-11-082-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running "glance -v image-list" there's no store info listed, so user cannot know the type of the backend. This patch added an new option "--include-stores" and is to add the store id to the output of "glance image-list --include-stores". The final output may like: +-----+------+-------------+-----+----------+--------+-----+------+ | ID | Name | Disk_format | ... | Size | Status |Owner|Stores| +-----+------+-------------+-----+----------+--------+-----+------+ | xxx | img1 | raw | ... | 10737418 | active | xxx | ceph | | xxx | img2 | raw | ... | 5086345 | active | xxx | file | +-----+------+-------------+-----+----------+--------+-----+------+ Change-Id: If86ef714c3aa03ce43ef29f26892f431f4766560 Co-authored-by: Jack Ding <jack.ding@windriver.com> Signed-off-by: Liang Fang <liang.a.fang@intel.com>
* | | Don't quote colon in HTTP headersimacdonn2018-11-012-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the introduction of quoting of header content in https://review.openstack.org/568698, the 'x-image-meta-location' header has been broken, because urllib.quote() is really intended to be applied to only the path section of a URL, but in this case, it gets applied to the entire URL, and catches the colon that separates the scheme from the remainder of the URL. This change adds the colon to the list of characters that should not get quoted. Since a colon can be directly represented in ASCII, this should not invalidate the previous change. Change-Id: I76a1c9a361b6c9f6eb95ae766b8c3bcf2267703a Closes-Bug: #1788942
* | | Refactor periodic "tips" jobs2.14.0Brian Rosmaita2018-10-111-4/+22
|/ / | | | | | | | | | | | | | | | | | | Two changes: 1 - declare the abstract base tips jobs 'abstract' 2 - add a branch matcher to where the periodic tips jobs are invoked in the project definition so that they only apply to the master branch Change-Id: If80ead2796c370b9539a0d7dd12bb8d35de8abcf
* | Merge "Use "multihash" for data download validation"Zuul2018-09-188-24/+394
|\ \
| * | Use "multihash" for data download validationBrian Rosmaita2018-09-078-24/+394
| |/ | | | | | | | | | | | | | | | | | | | | | | When the Glance "multihash" is available on an image, the glanceclient should use it instead of MD5 to validate data downloads. For cases in which the multihash specifies an algorithm not available to the client, an option is added to the image-download command that will allow fallback to the legacy MD5 checksum verification. Change-Id: I4ee6e5071eca08d3bbedceda2acc170e7ed21a6b Closes-bug: #1788323
* | Cleanup .zuul.yamlAndreas Jaeger2018-09-171-9/+6
| | | | | | | | | | | | | | | | | | * Sort list of templates alphabetically * Use lower-constraints-jobs template, remove jobs * Use tox-cover template that runs job voting in gate instead of in post queue, remove job Change-Id: Ifdfa5c4b27cdeb1b4671188bf9fc30cb7f721c07
* | add lib-forward-testing-python3 test jobNguyen Hai2018-08-201-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: I6c76d04d28a610d3bf563f9cecffcdcbd432fc52 Story: #2002586 Task: #24297
* | add python 3.6 unit test jobNguyen Hai2018-08-201-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: I4530174cfa59bbaef474847276e4bc39c593f670 Story: #2002586 Task: #24297
* | switch documentation job to new PTINguyen Hai2018-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs 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: I15c2d1da21c05c6530e7c05e8e90c2660a041144 Story: #2002586 Task: #24297