Update git submodules
* Update python-glanceclient from branch 'master' - Merge "Add image-list filter for multihash" - Add image-list filter for multihash 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-discuss Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I0b00d5a692dfcc04b7f8f9fc3ccfaba41c2a84a7 - Merge "Show the backend store info" - Show the backend store info 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 headers 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" jobs 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" - Cleanup .zuul.yaml * 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 - Use "multihash" for data download validation 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 - add lib-forward-testing-python3 test job 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 job 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 PTI 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 - import zuul job settings from project-config 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. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: If6a88f851bf2509ae6e452aa27de34cd9a3b5f88 Story: #2002586 Task: #24297 - Remove team diversity tags note in README In this commit(https://review.openstack.org/#/c/579870/) removed diversity tags, it should also be updated here. Change-Id: I035e6286286558b74a6949dc2f1826ce25b1786f - Merge "Update reno for stable/rocky" - Update reno for stable/rocky Change-Id: I604e167d66f498f99fa7be584586e74dfce96874 - Skip quote '=' for token header If the token is encoded by base64, it may contain '=' char as well. We should skip quoting it. Change-Id: I1ca63d251fa366f0e8e58128d45b729a2489b65c Partial-Bug: #1783290 - Merge "Correct typo in releasenote" - Correct typo in releasenote A missing space is messing up the html rendering. Change-Id: If65cae35384995c7dbb138ee3993ee4d99850e64 - Releasenotes for bugfixes in 2.12.0 Change-Id: I4094fe3e08b418dc6e62b929789cb06379bb368f - Merge "Do not quote '+' for token header" - Merge "Add release note for hidden images support" - Add support for hide old images Added --hidden argument to list, create and update call. Related to blueprint hidden-images Change-Id: I1f2dcaa545c9da883186b20a96a70c7df994b994 - Do not quote '+' for token header The token in request header may contain url char, such as '+', if quote it, '+' will change to '%2B' which will lead to 401 error. Our CI doesn't notice this bug because Keystone use fernet token which doesn't contain url char by default. But token format in keystone is plugable, some out-tree token formats may contain url char (for example, PKI/PKIZ token). So we should skip quote token to avoiding information changing. Closes-bug: #1783290 Change-Id: I5aa71b3e2b9b19581e46ccf8a80eda5d637f17d1 - Add release note for hidden images support Related to blueprint hidden-images Change-Id: Ie915c6af1142b02716aef89d4832cd8e466e5ec9 - Merge "Unit tests for multi-store support" - Merge "Add release note for multi-store support" - Merge "Add multi-store support" - Merge "Add multihash release note." - Merge "Add support for multihash" - Add release note for multi-store support Related to blueprint multi-store Change-Id: I88dbaa3f761519d1d959541a74fdfd760d942b2e - Add multihash release note. Related to blueprint multihash Change-Id: I3dd3c06f970b5d1e9373b3240863e3806e759811 - Unit tests for multi-store support Related to blueprint multi-store Change-Id: Ib22cc5fd4eee0326c307abb236ef31a39edfa6a6 - Add multi-store support Added multi-store support. User can now use '--backend' option to pass desired store while creating, uploading or importing image to speific store backend. Added new command 'stores-info' which will return available stores information to the user. Related to blueprint multi-store Change-Id: I7370094fc4ed47205b5a86a18b22aaa7b9457e5b - image-list: add checksum algorithm description We use MD5 for checksum, add this description in cli helps. Change-Id: I3469b0dface63f4684ad39421eee4c2a2de4d80b Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn> - Add support for multihash Related to blueprint multihash Change-Id: Iff4a5fe224b5d47255d7f23f65bbc08468f47f02 - Merge "Fix docs cli authorize environment variables" - Merge "Update 'doc/source/reference/apiv2.rst'" - Merge "Remove PyPI downloads" - Merge "Replace 'raise StopIteration' with 'return'" - Merge "fix tox python3 overrides" - Replace 'raise StopIteration' with 'return' With PEP 479, the behaviour of StopIteration is changing. Raising it to stop a generator is considered incorrect and from Python 3.7 this will cause a RuntimeError. The PEP recommends using the return statement. More details: https://www.python.org/dev/peps/pep-0479/#examples-of-breakage Change-Id: Ia067940066a5666926dcf61136b03d721a87666e - Add release note link in README Change-Id: I7de7c27a067f6346ebb9a29f76a7531502801a71 - Merge "update shell tests to not rely on the serialization order of a dict" - Add experimental python3 functional test gate Change-Id: I7dcdc23c5fbfa21f194fb5a45cd8ca157b1e0362 - fix tox python3 overrides 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: I8a41be18dac0fc3199ee5fa691a4ab48fae66849 Signed-off-by: Doug Hellmann <doug@doughellmann.com> - update shell tests to not rely on the serialization order of a dict Under python 3 with ordering randomized we cannot depend on the JSON output matching exactly. Instead we de-serialize the data structure that was written and compare the structures, which will always match. Change-Id: I134b62413a7cde25f3efda6a2452c1e3d11d41d0 Signed-off-by: Doug Hellmann <doug@doughellmann.com> - Remove PyPI downloads According to official site, https://packaging.python.org/guides/analyzing-pypi-package-downloads/ PyPI package download statistics is no longer maintained and thus should be removed. Change-Id: I36ad2c12e881149400c17174f56e8962df4c1aba - Merge "Add release note for HTTP headers fix" - Add release note for HTTP headers fix Change-Id: I08838ff4682290527565e8cf687945307034c5ba - Remove functional-identity-v3-only job The glanceclient-dsvm-functional-identity-v3-only job is exactly like the glanceclient-dsvm-functional job, except that it sets the devstack config option ENABLE_IDENTITY_V2 to False. Change I5afcba6321f496b8170be27789bee7c9ad8eacce in devstack makes False the default value for this option, so we already have a voting gate job that uses identity v3. This patch removes the redundant non-voting identity-v3-only job. Change-Id: I5d5550c06b179810d25a472cc423403daed43776 - Merge "Enable Python hash seed randomization in tests" - Merge "Switch to using stestr" - Switch to using stestr When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're supposed to invoke stestr rather than testr so lets do that Change-Id: I1b401c583d5e7677fc719bfc4eb2f2bba7b98cfa - Merge "Remove usage of ordereddict" - Merge "Add periodic tips jobs" - Image show: print human readable string when the virtual size is unknown Currently, when the virtual size of an image is not known, "None" is displayed. To a regular user, it feels like a programming error. We try and make things clearer by using a "human readable" string instead. Change-Id: Id7b8799356857d9bc58cc8a3677024fe1a7f4f56 Partial-Bug: #1665037 - Add periodic tips jobs Add jobs to the periodic queue that run the glanceclient unit tests against the master of various libraries we consume so that we don't have to wait for a release to detect a change that could be problematic. Change-Id: If4090462449b4c5340754490aa8f4116d5608e34 - Merge "Removes unicode 'u' response from "glance image-tag-update"" - Handle HTTP headers per RFC 8187 According to RFC 8187, HTTP headers should use 7-bit ASCII encoding. The glanceclient was encoding them as UTF-8, which can leave the 8th bit nonzero when representing unicode, and which presents problems for any recipient following the standard and decoding the headers as ASCII. This change requires keystoneauth1 3.6.2, which has a fix for a bug that made it unable to handle bytes in headers. The dependency is a patch bumping the keystoneauth1 version in upper-constraints. Depends-on: https://review.openstack.org/#/c/569138/ Change-Id: I0d14974126fcb20e23a37347f4f1756c323cf2f5 Closes-bug: #1766235 - Merge "Trivial: Update pypi url to new url" - Update property keys document The list of useful image properties really belongs in the Glance Administration Guide. The only connection they have with the glanceclient is that you can use it to set them. Rewrite the property keys document to reflect this. The dependency moves the relevant text to the Glance Admin Guide. Depends-on: https://review.openstack.org/565780 Change-Id: I39add6728aad42988a07d2ad97cd81dbdaf4c54a - Trivial: Update pypi url to new url Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: I633a8efb61d6b990f77acf3d6e7d1532f73d4278 - Merge "Split glanceclient functional tests" - Follow the new PTI for document build - Follow new PTI for docs build - Add sphinxcontrib.apidoc to replace pbr autodoc REF: https://governance.openstack.org/tc/reference/project-testing-interface.html http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com> Change-Id: Id16a5eaa57bc0d96332849abfb62898e6766ef86 - Add releasenotes for 2.11.0 Change-Id: I546711a58b3977dc6302debdea1de978054f1a2b - Merge "Update local copy of image schema for 2.6" - add lower-constraints job Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: I6a7a78800caf3c536603ae0bcfeb03830c8a5860 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com> - Merge "Make image-import fail faster" - Merge "Fix python 3.6 escape char warning" - Update local copy of image schema for 2.6 Update the local copy of the image schema to reflect Image API 2.6. Change-Id: Ib0e56027927880d0fa198ffd8ea4b57e39f9d0fe Closes-bug: #1762044 Depends-on: https://review.openstack.org/#/c/559501/ - Make image-import fail faster Add checks to image-import command so that it provides better user feedback in failure situations. Change-Id: I8b6b32c3d1d1a745aa68ff8dc629419dff9bb130 Closes-bug: #1758718 - Make image-create-via-import fail faster Add checks to the image-create-via-import commmand so that it provides better user feedback and doesn't begin the import workflow unless the input has a chance of succeeding. Preserves backward compatibility with the current image-create command by (1) allowing an image record only to be created when no import-method is specified AND no data is supplied, and (2) doing the glance-direct workflow when no import- method is specified AND data is provided. Also adds the ability for the import-method to be set as an env var OS_IMAGE_IMPORT_METHOD. Change-Id: I0a225f5471a9311217b5d90ebb5fd415c369129a Closes-bug: #1758149 - Merge "Fix intermittent v2 shell unit test failures" - Merge "Updated from global requirements" - Fix intermittent v2 shell unit test failures The do_image_download code has a check to make sure that there's a place to put the data (either filename or stdout redirect) before initiating the download. The location of this check was moved by change I841bebeda38814235079429eca0b1e5fd2f04dae to happen at the beginning of the function. The two intermittently failing tests do not explicitly address the check condition, and as a result the tests do exit early, but before they can check what they're supposed to be testing. Closes-bug: #1759951 Change-Id: I3c85bb358f669504b364d55618c21382b7a2a66b - Split glanceclient functional tests Prepare for the Image API v1 to be removed from glance during Rocky by splitting the functional tests that hit v1 from the tests that hit v2. Introduce a new job that runs the functional-v1 tests against a devstack running glance stable/queens, and configure this job for both check and gate for the glanceclient. The v2 functional tests continue to be run for both check and gate against a devstack running glance master. Change-Id: Ifa98ada26a84e4cca3ea8c98173f61a6174cca27 - Merge "Remove usage of ordereddict" - Updated from global requirements Change-Id: Ie6eaac4b47a6f61f5fb459581d146c9d13aab408 - Merge "Update properties URL" - Check for container,disk_format on web-download Fail image-create-via-import requests for the web-download import method that don't include values for container_format or disk_format. Closes-bug: #1757927 Change-Id: Ic5c81916823ff32f2dbddd32b40e825de0697dc9 - Update properties URL Help text for some image properties (architecture, os_distro) is pulled from the glanceclient's local version of the image schema. The URL for those property definitions has gotten out of sync with Glance. This patch updates the URL to be the same as that given in the Glance image-schema response. Change-Id: I4e46e78525fe5c00e031a98c47cacc17e5693d53 Closes-bug: #1757918 - Add support for web-download import method This change adds support for 'web-download' import method to 'image-import' and 'create-image-via-import' call. To use this 'web-download' import method, user needs to pass --uri option 'a valid uri to external image to import in glance' to 'image-import' and 'create-image-via-imaport' calls. Co-authored-by: Pranali Deore <pdeore@redhat.com> Co-authored-by: Erno Kuvaja <jokke@usr.fi> Change-Id: I0e1d18844f64723608288de473e97710798eb602 - Fix docs cli authorize environment variables OpenStack is deprecating 'tenant'. So use 'project' instead of 'tenant' Change-Id: I1dc4dbbbe1eb1d01b0750eaf7994956eb657c7a6 - Remove usage of ordereddict This was only needed for Python < 2.7, but glanceclient's setup.cfg already declares compatibility only with 2.7. Change-Id: I32e346df8b79e34027a85d9b4be59fe678953901 - Updated from global requirements Change-Id: I7d1cc411d745f9d9257bc69e389aa9990f5c4f03 - Updated from global requirements Change-Id: I75fd4a32f114ee040b04fe6b08be75d997cb3063 - Update 'doc/source/reference/apiv2.rst' - Add a simple introduction for the original parameters - Add two necessary parameters for Identity API v3: - user_domain_{name|id} - project_domain_{name|id} Change-Id: Iebd9bb57fcdbd6abb8fc369e69ba52805fb77170 - Merge "Remove setting of version/release from releasenotes" - Remove usage of ordereddict This was only needed for Python < 2.7, but glanceclient's setup.cfg already declares compatibility only with 2.7. Change-Id: I80d42abf5dd5565da424a90a93545ba82ef7a58d - Merge "Zuul: Remove project name" - Updated from global requirements Change-Id: I346f38b435c57b3b26d743c0053acaf99e8f3cd0 - Merge "Revert "Remove team:diverse-affiliation from tags"" - Removes unicode 'u' response from "glance image-tag-update" "glance image-tag-update" command returns unicoded response for lists. Therefore it requires print_list method from util class to handle such case. Added unicode_key_value_to_string() method to remove extra 'u' from lists and dictionaries. This fix is inspired from cinderclient's implementation. Change-Id: I16a04e8d34f7629f72fe389456001ca1db9335ea Closes-bug: #1534046 - Zuul: Remove project name Zuul no longer requires the project-name for in-repo configuration. Omitting it makes forking or renaming projects easier. Change-Id: I6d35871757dc864d7fe6fad2fa9e62a9062a7575 - Merge "Updated from global requirements" - Update reno for stable/queens Change-Id: Iaab87d6948db7b18f339d8e511ed08326cbfbaa0 - Merge "Remove deprecated ssl options" - Updated from global requirements Change-Id: Ic3aee2ad37026ed09b31e327fc6f0af443c6e0fa - Revert "Remove team:diverse-affiliation from tags" The diverse-affiliation tag was restored to Glance on 2017-09-05 by change I9c61fb6d09a51adbe0a3b4bf2098ec1c98ea33e1 This reverts commit 3dae473c3acfae16cd3f51eea6367fbf289591cc. Change-Id: I389375c47de56fdfdfa3aa8fbf28086a44b00d78 - Updated from global requirements Change-Id: Id6510579123bd2eb5f54f8f7cf02eb74cc1e777c - Remove deprecated ssl options Old deprecated ssl options block the new keystoneauth parser get the correct value, should be removed. Change-Id: Ie080f9a8fa7f4407b1fcbb7fb7c763152c5ec295 Closes-Bug: 1697163 - Avoid tox_install.sh for constraints support We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: I02c57a8eeaf9540e4b94882a581b89533a129350 - Merge "Compare against 'RequestIdProxy.wrapped'" - Merge "Update Image service property keys doc" - Compare against 'RequestIdProxy.wrapped' Due to the 'glanceclient.common.utils.add_req_id_to_object' decorator, an instance of 'glanceclient.common.utils.RequestIdProxy' is returned for most calls in glanceclient. If we wish to compare to None, we have to compare the contents of this wrapper and not the wrapper itself. Unit tests are updated to highlight this. Change-Id: I7dadf32d37ac2bda33a92c71d5882e9f23e38a82 Closes-Bug: #1736759 - Update Image service property keys doc Doc update for change Ie8227fececa40e502aaa39d77de2a1cd0cd72682 Change-Id: I4b35d0ae768b331945cd014c004cef16ed2155b3 Closes-bug: #1694441 - Update Image service property keys docs Doc update for change I7c77fb13f20b59ad764070d14dc98a46f8b7c823 Change-Id: I8a636019c88526f6d65a96e9184aad10010eded2 Closes-bug: #1651907 - Merge "Updated from global requirements" - Merge "Restore functional testing under ssl" - Updated from global requirements Change-Id: If0232005809670f9b55da915fbdad11cbbc7b146 - Revise functional testing README file Clarifies the location of clouds.yaml for functional testing. Change-Id: Ib0b8e84579bca72e791229752df14542358e21b7 - Restore functional testing under ssl Closes-bug: #1738033 Change-Id: Ia3e2e210eea09ac07311f25ffa99ad0f4ced418d - Migrate dsvm functional test jobs to project repo Migrate legacy dsvm functional test jobs for python-glanceclient to the project repository as zuul3 jobs using the devstack functional base job. Co-authored-by: Monty Taylor <mordred@inaugust.com> Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Needed-By: I0b974bf60da6bafabeb037a75ac10654e2a6406c Needed-By: I0271a1430843ef546e991a7a3c4b572b3e404963 Depends-On: I84de60181cb88574e341ff83cd4857cce241f2dd Change-Id: I1977ee0d348645987107c2efb5b454d7f8b81adf - Add domain info to functional test clients Keystone wants domain info, so pass it on. Change-Id: Ie99f79b61e5f8d469695fa19ad99d919fa23ae8e Closes-bug: #1737583 - Remove setting of version/release from releasenotes Release notes are version independent, so remove version/release values. We've found that most projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. Change-Id: I9c1154453f5a5263771e42b0eb5ebdc3a78ffc16 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8 - Merge "Remove Babel as a runtime requirement" - Updated from global requirements Change-Id: I8448038730b593d69b912cde62a13f0c6baf6f7f - Enable Python hash seed randomization in tests Unit tests should run with hash seed randomization on, to ensure code is not introduced that relies on ordered access of dicts, sets, etc. Python 3.3 enables this at runtime by default. Change-Id: I67804f6238c09b40b1828e4d15e703756ccfef31 - Remove Babel as a runtime requirement Babel is in requirements.txt but is no longer required post [0]. [0] https://review.openstack.org/#/c/145273/ Change-Id: I5d906f84ecbd144073a019936af227702b1c699a - Fix python 3.6 escape char warning In python 3.6, escape sequences that are not recognized in string literals issue DeprecationWarnings. Convert these to raw strings. Change-Id: I508a9147b932e219069eeee756bcbc43c7e961c5
This commit is contained in:
parent
7a2c62cb7d
commit
938085c87b
|
@ -1 +1 @@
|
|||
Subproject commit d158f1e75f915ee79cf7f4fd29a392a2c8f66483
|
||||
Subproject commit b08351cf0da6e27f9e49c435fb980153452d2830
|
Loading…
Reference in New Issue