Commit Graph

1444 Commits

Author SHA1 Message Date
Zuul fa7d4bf42a Merge "Update master for stable/yoga" 2022-03-02 18:01:40 +00:00
Brian Rosmaita 6c8108ea33 Fix functional CI job
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
2022-02-25 13:31:42 -08:00
OpenStack Release Bot b369f75d9a Update master for stable/yoga
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
2022-02-24 14:55:11 +00:00
Zuul 626c50061f Merge "Release notes for 3.6.0" 2022-02-23 15:21:34 +00:00
Abhishek Kekane ac0324c10d Release notes for 3.6.0
Change-Id: I1b441808672c3e362175d20f1d1f282b7f5d70a9
2022-02-22 20:43:20 +00:00
Erno Kuvaja 62f4f67d1d Add support for Cache API
This change provides support for the Cache API changes and
deprecation path for glance-cache-manage command.

Change-Id: I6fca9bbe6bc0bd9b14d8dba685405838131160af
2022-02-22 16:39:33 +00:00
Zuul 63bb03a145 Merge "Add an optional parameter --append" 2022-02-17 18:51:52 +00:00
Zuul 683b694fff Merge "Add an optional parameter --detail" 2022-02-16 19:32:15 +00:00
Mridula Joshi b8863535a8 Add an optional parameter --append
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
2022-02-16 14:00:28 +00:00
Mridula Joshi 282ce9c209 Add an optional parameter --detail
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
2022-02-02 14:31:44 +00:00
Dan Smith 3f001f5f11 Add support for usage API
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
2022-01-31 13:27:54 -08:00
Zuul b4c3be8aac Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable" 2022-01-11 17:48:34 +00:00
Zuul a157587b73 Merge "Updating python testing classifier as per Yoga testing runtime" 2021-12-20 18:30:23 +00:00
Ghanshyam Mann e1b5e72120 Updating python testing classifier as per Yoga testing runtime
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
2021-12-14 02:34:40 +00:00
XinxinShen 51c5c674c5 Replace deprecated UPPER_CONSTRAINTS_FILE variable
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
2021-12-10 21:09:47 +00:00
Zuul 8aac1597cd Merge "Fix pygments style" 2021-12-10 15:51:35 +00:00
Zuul d1b110fcfa Merge "Clean up extra spaces" 2021-12-10 15:38:55 +00:00
Rajat Dhasmana 5d714bed0b Correct releasenote path for member-get command
This patch moves the releasenote of member-get command to correct
path.

Closes-Bug: #1944798
Change-Id: Ifa76fc993b0ff47131401ba233e77001cd74107c
2021-09-22 10:15:16 -04:00
jinyuanliu ec0adb16b5 Clean up extra spaces
Although these errors are not important, they affect the code specification.

Change-Id: I1f91dba079ecf60b1d4b57123048d8409476dde0
2021-09-15 04:33:07 -04:00
OpenStack Release Bot ef995536c8 Add Python3 yoga unit tests
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
2021-09-10 14:33:07 +00:00
OpenStack Release Bot 9524fce9fe Update master for stable/xena
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
2021-09-10 14:33:05 +00:00
Zuul 74a55bd2fc Merge "setup.cfg: Replace dashes with underscores" 2021-08-25 09:22:04 +00:00
Mridula Joshi 1eb0bbbed7 Fix undesirable raw Python error
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
2021-08-03 10:35:40 +00:00
Mridula Joshi cb084f5289 Add member-get command
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
2021-08-02 09:08:50 +00:00
jayonlau 158d5f4248 Clean up extra spaces
Clean up extra spaces, although these errors are not important, they affect the code specification.

Change-Id: I5cf3c668e89a11c7906e0b0aeeb85ebcef3c1352
2021-07-07 20:46:00 +08:00
Wander Way de0e9d9510 Uncap PrettyTable
This is now maintained as a Jazzband project [1].

[1] https://github.com/jazzband/prettytable

Change-Id: Ib85f2fa95b95e95ac5711b1dcd626a9a84ac8b0b
2021-05-17 09:15:02 +00:00
XinxinShen b443996524 setup.cfg: Replace dashes with underscores
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
2021-05-05 17:04:52 +08:00
OpenStack Release Bot 13bae28a6f Add Python3 xena unit tests
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
2021-03-11 10:24:57 +00:00
OpenStack Release Bot 2517e01c7c Update master for stable/wallaby
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
2021-03-11 10:24:52 +00:00
Zuul f802c71083 Merge "Get tasks associated with image" 2021-03-05 20:15:22 +00:00
Zuul db512d3198 Merge "Add Python3 wallaby unit tests" 2021-03-03 09:37:37 +00:00
Abhishek Kekane e0a35a1150 Get tasks associated with image
Add support to get tasks associated with specific image.
bp: messages-api

Change-Id: Ia505cf6f47ca6c628e195be3ca5231d22d53040d
2021-03-02 10:02:14 -08:00
Erno Kuvaja e8f427e108 bump mccabe in lc to unblock the gate
Change-Id: Iba0929c3ab40290ffc99b65d985174bbf1a8cf65
2020-12-18 10:14:30 +00:00
OpenStack Release Bot 23d389f15a Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I11d4eb88594608fdf21e1219b4aafcef606bf6f1
2020-09-09 15:57:37 +00:00
OpenStack Release Bot 4a80c36f9c Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Icbc3629218546143246c133ccaffaef7bfe0c243
Sem-Ver: feature
2020-09-09 15:57:35 +00:00
Zuul 8a63928e2e Merge "drop mock from lower-constraints" 2020-09-02 15:53:07 +00:00
Zuul 4f74293df1 Merge "Remove F403, F812 and F821 from the ignorelist in tox.ini" 2020-09-02 15:53:06 +00:00
Zuul cb632229bc Merge "Fix hacking min version to 3.0.1" 2020-08-21 07:04:48 +00:00
Ghanshyam Mann ff70a0df13 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40200

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>

Change-Id: I6f0dc11d4eb7a75d29da3eb5071b156bbe46ad01
2020-08-07 22:37:40 +00:00
James Page 5aca99d653 Update test certificates to use strong signing
Modern OpenSSL (and specifically on Ubuntu) will reject certificates
signed using the sha1 algorithm.  Refresh test CA and associated
certificates using sha256.

Change-Id: Ie22a4630eb0f5993a909efed27088321c1865ca8
2020-08-07 21:31:07 +00:00
Erno Kuvaja 77eab17cf9 Fixes "stores" property added to the image
"stores" property gets added to the image when
`glance image-create-via-import` is called with --stores

Change-Id: I514e6e3ac2f3a1f56fb7883ed403a04b1e7f13b0
Closes-Bug: #1889666
2020-07-30 18:39:31 +01:00
Cyril Roelandt 00a6eb5f39 Remove F403, F812 and F821 from the ignorelist in tox.ini
They are not needed since no such errors are triggered when running
flake8.

Change-Id: If6ba0627ca680167378543b4c38135aa2bd6a730
2020-07-27 20:47:21 +02:00
Zuul a29c6be97d Merge "Do not use the six library." 2020-07-17 19:32:29 +00:00
Zuul dca62b4de1 Merge "Do not use the six library in the tests." 2020-07-16 21:25:14 +00:00
Zuul 3cd06f763f Merge "Pass Global Request ID on with session client" 2020-07-16 15:54:26 +00:00
Zuul 3a58ab0f41 Merge "Stop to use the __future__ module." 2020-07-13 22:08:25 +00:00
Erno Kuvaja bae1d89cc7 Pass Global Request ID on with session client
Closes-bug: #1886650
Change-Id: I3a08c1beb398ba9f2556b6779c925f679bdc2c49
2020-07-13 22:55:23 +01:00
Cyril Roelandt b513c8db4b Do not use the six library.
Change-Id: I3dbfcfa0f5f590a41ed549afd44537d8ed41433a
2020-06-23 21:51:07 +02:00
Cyril Roelandt 928935e5c0 Do not use the six library in the tests.
Change-Id: Ic8a2a736a733e0151ca82f19bfde428dc04cf255
2020-06-15 21:04:56 +02:00
Hervé Beraud 2e0d6a839a drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I668a2f65431e8870268e067e1c0acd4d94a65c95
2020-06-09 11:54:50 +02:00