1539 Commits

Author SHA1 Message Date
Zuul
b9e5198f0d Merge "reno: Update master for unmaintained/2023.1" 2025-12-16 01:56:53 +00:00
Zuul
eb959fb796 Merge "reno: Update master for unmaintained/2024.1" 2025-12-16 01:56:51 +00:00
Zuul
9bac669986 Merge "Update master for stable/2025.2" 2025-12-16 01:56:48 +00:00
Zuul
8c0bbfece7 Merge "Replace os-client-config" 2025-12-15 18:09:12 +00:00
afcb487ae0 reno: Update master for unmaintained/2024.1
Update the 2024.1 release notes configuration to build from
unmaintained/2024.1.

Change-Id: I929af785b200cb5a6206c3a945b4c7a3ee44a9f0
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/change_reno_branch_to_unmaintained.sh
2025-10-31 12:04:17 +00:00
bcf6652e3a Update master for stable/2025.2
Add file to the reno documentation build to show release notes for
stable/2025.2.

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

Sem-Ver: feature
Change-Id: I85a4eb3bc5b0edd1dfefa7e203823bcd3543ddc9
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/add_release_note_page.sh
2025-09-05 12:32:26 +00:00
Cyril Roelandt
d46a9bff00 Python 3.13: fix tests
Following a recent change in Python[1], mock_open now invokes close()
when used as a context manager. This causes some of our tests to fail.
This commit rewrites part of these tests to be less dependant on
internal Python details.

[1] https://github.com/python/cpython/pull/26902

Change-Id: Iad9c0f0bf7f34d5cf209ec10863b28ddde281d7e
Signed-off-by: Cyril Roelandt <cyril@redhat.com>
4.10.0
2025-08-06 16:24:44 +02:00
Zuul
6c0f16e709 Merge "Add support for passing image size to Glance API" 2025-08-04 13:49:45 +00:00
Zuul
a0d5053db4 Merge "Replace oslo_utils.encodeutils.exception_to_unicode" 2025-08-01 15:46:41 +00:00
Abhishek Kekane
90d15f65a6 Add support for passing image size to Glance API
Introduced a new command-line option --size for the image-create and
image-create-via-import commands. Added the `x-openstack-image-size` header
to transmit the image size from image-upload and image-stage commands
to the Glance API.

If --size is not specified but --file is provided, the script calculates
the file size and includes it in the `x-openstack-image-size` header when
invoking image-upload and image-stage commands.

Change-Id: I7572f8a5d42a9968b940ed71eecbe3028e92877e
Signed-off-by: Abhishek Kekane <akekane@redhat.com>
2025-07-31 16:20:05 +00:00
Takashi Kajinami
4c181956c0 Replace os-client-config
It was deprecated[1] after the code was merged into openstacksdk[2].

[1] https://review.opendev.org/c/openstack/os-client-config/+/549307
[2] https://review.opendev.org/c/openstack/openstacksdk/+/518128

Change-Id: I57c3489c84a06e788735aa2244907b8ef4875b8c
2025-07-01 01:15:36 +09:00
Zuul
0b3a8ab2c7 Merge "Remove Python 3.9 support" 4.9.0 2025-06-23 16:15:26 +00:00
Takashi Kajinami
55edc64b98 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

[1] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: I6f04f6aac6439aa16ccd077201fdea4d95d34da3
2025-06-09 18:06:39 +09:00
d6407a996a Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

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

Sem-Ver: feature
Change-Id: I16aca3ba0ed68b49b2773cd25cc5ad0fe43351aa
2025-03-07 14:53:05 +00:00
Takashi Kajinami
b78fdc33be Replace oslo_utils.encodeutils.exception_to_unicode
The function is being deprecated now because it is equivalent to
str(ex) in Python 3.

Depends-on: https://review.opendev.org/c/openstack/oslo.utils/+/938929
Change-Id: I7c9ca3730e1ab6ffdaf8cb78c002ac4e157fe2f1
2025-02-04 22:03:30 +09:00
Zuul
235814cf86 Merge "Remove Python 3.8 support" 4.8.0 2024-12-04 14:37:28 +00:00
34ae3eadb4 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: Iaed48c6145436e643dedbbecadd76bc50455638b
2024-11-25 10:44:22 +00:00
Takashi Kajinami
be962800d5 Remove ceilometer service overrides
devstack no longer installs ceilometer services unlesss ceilometer
devstack plugin is enabled, so we can safely remove the options to
disable ceilometer services.

This allows us to remove references to removed services such as
ceilometer-api .

Change-Id: I615f699336584f86f9a46584e78cb3b54d10048f
2024-11-25 00:39:59 +09:00
Takashi Kajinami
96d3b0a3bc Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: If4e0eabd5f04a04c1cef0d38688631dfad2ee727
2024-10-24 18:11:44 +09:00
95df2d15f0 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: Ie82f74527486521f77fb52eb948b9d369c32b8bc
2024-09-06 13:29:13 +00:00
Pranali Deore
4439db2ff0 Add support for new location APIs
Related blueprint new-location-apis

Change-Id: Id378cd5b7d20775b5117ee3f509bd6bdd61702e3
4.7.0
2024-08-14 10:40:13 +00:00
Cyril Roelandt
fa495fe34c Python3.12: do not use ssl.wrap_socket
The ssl.wrap_socket method has been removed in 3.12.
SSLContext.wrap_socket should now be used.

Change-Id: Ided77a9c9b8e409105de18abf195405927a3684f
2024-07-10 16:50:09 +02:00
Pranali Deore
59331d56eb Release notes for 4.6.0
Change-Id: I7c4758c78d2520346a0a89e4d4e0fb4895c79946
4.6.0
2024-05-14 06:11:39 +00:00
Zuul
4b05e154d1 Merge "Tests: Fix original_only wrapper" 2024-04-30 18:41:28 +00:00
Zuul
2495d653b2 Merge "Do not leak X-Auth-Token when logging curl requests" 2024-04-30 18:36:56 +00:00
Zuul
81a6784045 Merge "Remove unused fallback to simplejson" 2024-04-30 18:36:54 +00:00
Zuul
bfd650fe32 Merge "Fix unit tests broken by requests-mock >= 1.12.0" 2024-04-30 15:05:36 +00:00
Cyril Roelandt
28497adc33 Do not leak X-Auth-Token when logging curl requests
We pass *encoded* headers to log_curl_request, but then compare them to
*unencoded* sensitive headers that must be redacted (basically comparing
bytes to strings). This means no header is ever redacted.

Store sensitive headers as bytes rather than strings to fix this issue.

Change-Id: I06785704750e8c4b23d1276514949655e6dcb7ab
Closes-Bug: #2051712
2024-04-30 13:22:49 +02:00
Takashi Kajinami
fe8a8cbce6 Remove unused fallback to simplejson
The built-in json module is available in recent Python 3 versions so
this fallback is not at all used.

Change-Id: I7b24fd1e107b6bed7322faecdd04ff9d3336d761
2024-04-30 02:58:23 +00:00
61e415004e reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: Ic14bc289a7a171afcc7b95c5c993b9d98b805c39
2024-04-29 18:45:54 +00:00
Takashi Kajinami
300b8c8262 Fix unit tests broken by requests-mock >= 1.12.0
requests-mock removed the old compatibility code in 1.12.0[1] and now
usage of a bare dict for response header causes AttributeError.

[1] e3bd0d1a92

Closes-Bug: #2064011
Change-Id: Iee86fa3eae86102112987b8648ada73d37ac58e8
2024-04-29 23:55:07 +09:00
Cyril Roelandt
98256e88c0 Tests: Fix original_only wrapper
The wrapper function was not actually returned from the decorator
function.

Change-Id: I046fc26b89fccaeb438132b8cf7b86c1fd0aebbb
2024-04-03 21:54:52 +02:00
Zuul
769dd2e78d Merge "reno: Update master for xena Unmaintained status" 2024-03-26 16:26:17 +00:00
Zuul
fdad7faf8d Merge "reno: Update master for wallaby Unmaintained status" 2024-03-26 16:26:16 +00:00
Zuul
2c1913a173 Merge "reno: Update master for victoria Unmaintained status" 2024-03-26 15:54:22 +00:00
0e798609d8 reno: Update master for xena Unmaintained status
The stable/xena branch has been deleted, so reno can't find its
release notes.  Use the xena-eom tag to indicate the end of the
Glance project's maintenance of the Xena series.

This strategy is consistent with the way we handled stable/yoga and
was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58

Change-Id: I3473a36a473767531c19463611d3eddb1a676998
2024-03-07 22:11:23 +00:00
4ed3b7b5fb reno: Update master for wallaby Unmaintained status
The stable/wallaby branch has been deleted, so reno can't find its
release notes.  Use the wallaby-eom tag to indicate the end of the
Glance project's maintenance of the Wallaby series.

This strategy is consistent with the way we handled stable/yoga and
was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58

Change-Id: I1869021ca2117bd74f13e49c0f76967f3ef42c65
2024-03-07 22:07:12 +00:00
fc46785039 reno: Update master for victoria Unmaintained status
The stable/victoria branch has been deleted, so reno can't find its
release notes.  Use the victoria-eom tag to indicate the end of the
Glance project's maintenance of the Victoria series.

This strategy is consistent with the way we handled stable/yoga and
was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58

Change-Id: Ib1f22dc701d090e8540aefd995903af143a34594
2024-03-07 22:01:45 +00:00
7376aa67cc Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I9856860976200d82384a39c16484167c1a774506
2024-03-07 15:00:55 +00:00
Zuul
f68377600c Merge "reno: Update master for yoga Unmaintained status" 4.5.0 2024-02-15 14:43:06 +00:00
Zuul
f07ad89f6c Merge "Bump hacking" 2024-02-15 02:25:50 +00:00
Zuul
7a3ca385da Merge "Exclude tests directory from coverage calculation" 2024-02-15 02:22:42 +00:00
42848e0118 reno: Update master for yoga Unmaintained status
The stable/yoga branch has been deleted, so reno can't find its
release notes.  Use the yoga-eom tag to indicate the end of the
Glance project's maintenance of the Yoga series.

This strategy was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58

Change-Id: I604c960eb0b2614efc39d5b5508b15abc8f9d0f2
2024-02-12 19:59:15 +00:00
Pranali Deore
3c5dd2381f Remove incorrect validation for glance-download import method
Since REMOTE SERVICE INTERFACE has default value to 'public',
it doesn't make sense to have validation for the same.

Removing this validation and added few missing tests for
glance-download import method

Closes-Bug: #2051761
Change-Id: I89adf23aac5db4f2c46379546def2f71d7c8e163
2024-01-31 09:57:50 +00:00
Takashi Kajinami
7ddca13fcb Bump hacking
hackihg 3.0.x is too old.

Change-Id: I9d0d19bc6ecf4cb934cce77ce25e89882202dbd6
2024-01-27 23:18:53 +09:00
Takashi Kajinami
597095ffca Exclude tests directory from coverage calculation
Change-Id: I4c9033033fc38a93044da6fb910302635b6c950a
2024-01-25 23:51:51 +09:00
Ghanshyam Mann
2952978676 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I83a7f6bb7a2069e221e6c8efee31886defcaa93a
2024-01-08 20:21:19 -08:00
5f2835fcf0 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I1d1f147333a10f0a526df83ad88b9cff56020cc3
2023-09-15 14:53:18 +00:00
Pranali Deore
62e6fc8270 Release notes for 4.4.0
Change-Id: I96283b493c60de69f4598fb4470fba5fb117d749
4.4.0
2023-07-06 09:31:39 +00:00
Zuul
881f4e6343 Merge "do_image_import: always pass remote_* to gc.images.image_import" 2023-07-04 18:50:19 +00:00