summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX_CONSTRAINTS_FILE for stable/zedstable/zedOpenStack Release Bot2022-09-061-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/zed branch, tests will continue to use the upper-constraints list on master. Change-Id: Ie35ccead35dfd76954962c142084dd82e2045a81
* Update .gitreview for stable/zedOpenStack Release Bot2022-09-061-0/+1
| | | | Change-Id: I396c7acaf762a2b91c56fa1ebcf2d58b8cb08ae0
* Merge "Add support for glance-download import method"4.1.0Zuul2022-08-306-20/+232
|\
| * Add support for glance-download import methodPranali Deore2022-08-306-20/+232
| | | | | | | | | | Implements: blueprint glance-download-import-support Change-Id: Ia2bfad82bccf9acb6103b21112e680c44e295d39
* | Bump default pagesizeErno Kuvaja2022-08-263-3/+3
|/ | | | | | | | | | | | Bumping default pagesize to 200. With the previous default value of 20 glanceclient was doing lots of extra requests and schema validations. Based on my tests no performance improvement was seen over the pagesize of 200. Change-Id: I6d740ca3a9b32bf5d064d3ea74273bb619b32ad4 Closes-Bug: #1987834
* Delete python bytecode before every test runCyril Roelandt2022-08-021-0/+1
| | | | | | | | | | Because python creates pyc files during tox runs, certain changes in the tree, like branch switching or file deletion, can create spurious errors. Closes-Bug: #1368661 Change-Id: I93917b051039506d99837028700bc03337cf68f6
* Remove incorrect note from requirements files4.0.1Stephen Finucane2022-07-122-8/+0
| | | | | | | | | | This hasn't been true since pip 20.3 introduced the new dependency resolver [1] [1] https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html Change-Id: I394f1135a9f3073ebc17ae9662faf6071e868ca8 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Uncap warlockStephen Finucane2022-07-121-1/+1
| | | | | | | | | | | warlock recently had a 2.0.0 release that added support for jsonschema 4.x [1]. We no longer need to cap this. [1] https://github.com/bcwaldon/warlock/releases/tag/2.0.0 Change-Id: Idb4c33284ec36c6c5938bd9045f9729e4ed6f7ea Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-On: https://review.opendev.org/c/openstack/requirements/+/849284
* Merge "Check if stdin has isatty attribute"Zuul2022-07-072-3/+3
|\
| * Check if stdin has isatty attributeBenedikt Loeffler2022-07-072-3/+3
| | | | | | | | | | | | | | When the stdin is closed, it has no isatty atrribute which leads to a KeyError. Closes-Bug: #1980890 Change-Id: If9a3bf68b8dfd953b346697241166578d18bb563
* | Merge "Bump tox minversion to 3.18.0"Zuul2022-07-071-2/+2
|\ \ | |/ |/|
| * Bump tox minversion to 3.18.0Takashi Kajinami2022-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Since tox 3.18.0, the whitelist_externals option has been deprecated in favor of the new allow_list_externals option[1]. This change bumps the minversion of tox so that we can replace the deprecated option. [1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I76f328b8bed1338ab5496d21e54a4b0ff9251147
* | Update python testing as per zed cycle teting runtime4.0.0Ghanshyam Mann2022-05-103-4/+7
| | | | | | | | | | | | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Moving the py36 job to py38 based as well as updating the python classifier also to reflect the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: I9b3a05c708d53d1e7775eefdac802392fd18bc24
* | Merge "Documentation: Add options for "glance image-import""Zuul2022-05-051-0/+27
|\ \
| * | Documentation: Add options for "glance image-import"vihithad232022-01-131-0/+27
| | | | | | | | | | | | | | | Closes-bug:#1886537 Change-Id: I66d99be1ec06806494c5504c467dff759dd38f2d
* | | Merge "glance help <subcommand>: Clearly specify which options are mandatory"Zuul2022-05-052-1/+16
|\ \ \ | |_|/ |/| |
| * | glance help <subcommand>: Clearly specify which options are mandatoryCyril Roelandt2021-12-142-1/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Earlier glance help <subcommand> was listing required arguments as optional arguments in help text. Added new argument group to list required argument properly. $ glance help stores-delete Example before this change: usage: glance stores-delete --store <STORE_ID> <IMAGE_ID> Delete image from specific store. Positional arguments: <IMAGE_ID> ID of image to update. Optional arguments: --store <STORE_ID> Store to delete image from. After this change: usage: glance stores-delete --store <STORE_ID> <IMAGE_ID> Delete image from specific store. Positional arguments: <IMAGE_ID> ID of image to update. Required arguments: --store <STORE_ID> Store to delete image from. Change-Id: I51ea4c43fa62164ed43e78d1ae0fb0cb2521fc83 Closes-Bug: #1933390
* | Add doc and test for verbose parameterwhoami-rajat2022-04-212-0/+10
| | | | | | | | | | | | | | | | | | | | We currently have support to show verbose output for image-list with the command ``glance --verbose image-list`` but there is no documentation about it. This patch adds the documentation and a test to run it via CLI. Closes-Bug: #1969565 Change-Id: Ic6db4f5ab2fecded373b044aa002f9a9bc262513
* | Merge "Remove lower-constraints.txt"Zuul2022-03-113-81/+0
|\ \
| * | Remove lower-constraints.txtCyril Roelandt2021-12-103-81/+0
| | | | | | | | | | | | Change-Id: If4881229935d6f2ca0f1632cc9a9ad473f8de33e
* | | Merge "Update master for stable/yoga"Zuul2022-03-022-0/+7
|\ \ \
| * | | Update master for stable/yogaOpenStack Release Bot2022-02-242-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: Iffb4d1e400b000e4bcedb7e14515a9b9f09b9e05
* | | | Fix functional CI jobBrian Rosmaita2022-02-252-2/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The glanceclient-dsvm-functional job is currently running unit tests, whereas it should be running the functional tests. Fixed by honoring the path in .stestr.conf like other trees. Also removed tox.ini from the list of irrelevant-files for this job, because as it turns out, it is relevant. Change-Id: I59773caa00ff0dfc970c0e4d45aa5d8ae006b1c6
* | | Merge "Release notes for 3.6.0"3.6.0Zuul2022-02-231-0/+51
|\ \ \
| * | | Release notes for 3.6.0Abhishek Kekane2022-02-221-0/+51
| | | | | | | | | | | | | | | | Change-Id: I1b441808672c3e362175d20f1d1f282b7f5d70a9
* | | | Add support for Cache APIErno Kuvaja2022-02-226-1/+491
|/ / / | | | | | | | | | | | | | | | | | | This change provides support for the Cache API changes and deprecation path for glance-cache-manage command. Change-Id: I6fca9bbe6bc0bd9b14d8dba685405838131160af
* | | Merge "Add an optional parameter --append"Zuul2022-02-173-8/+35
|\ \ \
| * | | Add an optional parameter --appendMridula Joshi2022-02-163-8/+35
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add an optional parameter --append to the glanceclient command md-tag-create-multiple to provide the facility of appending the tags. If the parameter is present it will append the tags to existing one, else it will overwrite the existing tags. Depends-On: https://review.opendev.org/c/openstack/glance/+/804966 Change-Id: I1841e7146da76b13f4cd8925e19f59d0eaf08f7a
* | | Merge "Add an optional parameter --detail"Zuul2022-02-163-4/+63
|\ \ \
| * | | Add an optional parameter --detailMridula Joshi2022-02-023-4/+63
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This patch appends th --detail parameter to the ``stores-info`` command. With sufficient permissions, display additional information about the stores. Depends-On: https://review.opendev.org/c/openstack/glance/+/824438 Change-Id: I6ae08ab3eaab0c2b118aa7607246214b28025dfe
* | | Add support for usage APIDan Smith2022-01-315-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | This is really a very simple activity of fetching and showing the results of the usage API in table form for the user. Depends-On: https://review.opendev.org/c/openstack/glance/+/794860 Change-Id: I3d9360785a759e4a6e7905710400baea80776052
* | | Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable"Zuul2022-01-111-2/+10
|\ \ \
| * | | Replace deprecated UPPER_CONSTRAINTS_FILE variableXinxinShen2021-12-101-2/+10
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Co-Authored-By: Cyril Roelandt <cyril@redhat.com> Change-Id: I8aec0f3ab5b33c6ee1ccd0fafafc7c3e447082db
* | | Merge "Updating python testing classifier as per Yoga testing runtime"Zuul2021-12-202-1/+2
|\ \ \ | |/ / |/| |
| * | Updating python testing classifier as per Yoga testing runtimeGhanshyam Mann2021-12-142-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Yoga testing runtime[1] has been updated to add py39 testing as voting. Unit tests update are handled by the job template change in openstack-zuul-job - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286 this commit updates the classifier in setup.cfg file. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: Ibde540f7950a5ea27af5327dfa662ee9187171c8
* | Merge "Fix pygments style"Zuul2021-12-100-0/+0
|\ \
| * | Fix pygments stylefuzihao2020-05-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | New theme of docs (Victoria+) respects pygments_style. Since we starts using Victoria reqs while being on Ussuri, this patch ensures proper rendering both in Ussuri and Victoria. Change-Id: Ic43d545349d8aff1603ed7f8bf3dcd1aa2b3538e
* | | Merge "Clean up extra spaces"Zuul2021-12-101-1/+1
|\ \ \ | |_|/ |/| |
| * | Clean up extra spacesjinyuanliu2021-09-151-1/+1
| | | | | | | | | | | | | | | | | | Although these errors are not important, they affect the code specification. Change-Id: I1f91dba079ecf60b1d4b57123048d8409476dde0
* | | Correct releasenote path for member-get commandRajat Dhasmana2021-09-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch moves the releasenote of member-get command to correct path. Closes-Bug: #1944798 Change-Id: Ifa76fc993b0ff47131401ba233e77001cd74107c
* | | Add Python3 yoga unit testsOpenStack Release Bot2021-09-101-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I98553ae1ab9b8b3f530476629dc7f901d5d2bd67
* | Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: Idad534678f8e66469b46e293e2aa3d965ff2c9cf
* | Merge "setup.cfg: Replace dashes with underscores"xena-em3.5.0Zuul2021-08-251-4/+4
|\ \
| * | setup.cfg: Replace dashes with underscoresXinxinShen2021-05-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I5f8ed2d6b1ca8c26d7fafd280b135554ed597e99
* | | Fix undesirable raw Python errorMridula Joshi2021-08-033-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the glanceclient without a subcommand while passing an optional argument triggers the raw Python error `ERROR: 'Namespace' object has no attribute 'func'`. This bug can be reproduced by issuing the command `glance --os-image-api-version 2`. Added a default value to `func` as placeholder so that a help message is shown instead of the Python error. Closes-Bug: #1903727 Change-Id: Ie4288262e408192310cbbc240bd1779b265a64fd
* | | Add member-get commandMridula Joshi2021-08-025-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | It is observed that python-glanceclient was missing support for GET /v2/image/{image_id}/member/{member_id} API. This patch adds new command `member-get` to support this missing operation. Closes-Bug: #1938154 Change-Id: I3709f6a39535aa45bee70f468f015ac60a1375a8
* | | Clean up extra spacesjayonlau2021-07-071-1/+1
| | | | | | | | | | | | | | | | | | Clean up extra spaces, although these errors are not important, they affect the code specification. Change-Id: I5cf3c668e89a11c7906e0b0aeeb85ebcef3c1352
* | | Uncap PrettyTable3.4.0Wander Way2021-05-171-1/+1
|/ / | | | | | | | | | | | | | | This is now maintained as a Jazzband project [1]. [1] https://github.com/jazzband/prettytable Change-Id: Ib85f2fa95b95e95ac5711b1dcd626a9a84ac8b0b
* | Add Python3 xena unit testsOpenStack Release Bot2021-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ia7ed638cda0d3f1e0e96fec9bb73eb4315ed810b
* | Update master for stable/wallabyOpenStack Release Bot2021-03-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I7562fd0e795c2dab0f999729b467b05b0ad0875d