1051 Commits

Author SHA1 Message Date
Zuul
98e3c02624 Merge "Update gate jobs as per the 2025.1 cycle testing runtime" 2024-12-02 02:59:57 +00:00
Ghanshyam Mann
c31775da92 Update gate jobs as per the 2025.1 cycle testing runtime
As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by depends-on tempest and devstack
patches to move base jobs to Noble) and at least single job to run on
Ubuntu Jammy (for smooth upgrade from previous releases).

This commit adds a new job to run on Jammy which can be removed
in the next cycle.

Depends-On: https://review.opendev.org/c/openstack/tempest/+/932156

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

Change-Id: I1d0c87830cc4f58facdeeedba0a376ef2e087945
2024-11-19 03:38:19 +00:00
fd9a0122f1 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I1458ae72c65e5c5a5722e910baa29606205d014f
2024-11-12 17:09:23 +00:00
Takashi Kajinami
8ac861ca2b Use devstack functions to create keystone resources
Change-Id: I34b2dc69232feccf7ba60f1103b996d254f9e286
2024-11-02 23:49:48 +09:00
Takashi Kajinami
93f00a4024 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.

Trivial-Fix

Change-Id: I64cfc5b2de301d2f492cab465bfa196ebf4bbf96
2024-10-21 20:28:02 +09:00
Takashi Kajinami
96db0c2a0a Use built-in abc module
... to detect any missing interface implementation in subclasses.

Change-Id: I8c9cae3e155c8c76ab1a2a1502f9b0bf6fbeb8fe
2024-09-25 20:54:21 +09:00
Zuul
afabbf34c2 Merge "Bump logback" 2024-09-19 14:20:26 +00:00
Zuul
801cd5f980 Merge "Bump slf4j-api" 2024-09-19 14:18:24 +00:00
Takashi Kajinami
d4cde57c02 Bump logback
Change-Id: Id0261f81700d83782968a49514f441c1344e8d51
2024-09-19 22:33:45 +09:00
Takashi Kajinami
fa544310b5 Bump slf4j-api
to the latest version available now.

Change-Id: If8e71bef37daec503cf45db80215bb7e6bdf9d20
2024-09-19 22:32:49 +09:00
Takashi Kajinami
e1c442f1a6 Dump command logs
... for easier debugging.

Change-Id: I6b9757c5991095daa1ca40eb5586a032286741ab
2024-09-14 11:49:49 +09:00
Zuul
3de8e68fa5 Merge "Drop redundant swift-init command" 2024-09-13 16:50:39 +00:00
Zuul
f257e54da1 Merge "Add --domain when creating a user" 2024-09-13 16:40:07 +00:00
Takashi Kajinami
892e08b51f Drop redundant swift-init command
The same command is already executed by stop_swift function.

Change-Id: I86ddc38e57c2dba7562323de2c1e99b42b8de9f9
2024-09-14 01:04:37 +09:00
Takashi Kajinami
e74e2278a5 Add --domain when creating a user
openstackclient requires the argument since 7.0.0 .

Related-Bug: #2080600
Change-Id: I330f8415abb9c8186773b26bbecb912a9bbf0ff7
2024-09-14 00:54:46 +09:00
db0013d140 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: Icea8e0ce7e613853cdea75f59d0af9c06a86bcf8
2024-09-13 14:59:18 +09:00
Takashi Kajinami
a4a60484ca Add release note for 14.0.0 release
Change-Id: I1a91871c4a356b8b94e18517e6b86a3c50266b36
14.0.0.0rc1 14.0.0
2024-09-11 11:06:42 +09:00
Zuul
73109bdd6f Merge "Honor --log-level option to determine sbus log level" 2024-09-11 01:27:16 +00:00
Zuul
cb1f17556c Merge "Dump stack trace for unhandled exception in storlet-daemon" 2024-09-11 01:15:34 +00:00
Takashi Kajinami
1099d3788d Lower down log level of sbus logging start message
The log message is sent in a normal sequence without any failure, so
it shouldn't be logger in the error level.

Change-Id: Ia99639df19d7ec97c42c3b365b2042a75ff66bb0
2024-09-11 02:01:09 +09:00
Takashi Kajinami
0f198db486 Honor --log-level option to determine sbus log level
Change-Id: I6fdfe3989ad144443eaeab90ab0591d6468b07c5
2024-09-11 01:57:52 +09:00
Takashi Kajinami
dec31d185f Dump stack trace for unhandled exception in storlet-daemon
... for easier debugging.

Change-Id: I31f535bdd0a7470ad523988f595bc783b9f0284f
2024-09-11 01:44:02 +09:00
Takashi Kajinami
86d8f05d51 Remove iPython extension
This has been unmaintained and its functional tests have been broken
for some time. Because the current upper version is not compatible with
Python 3.12 and we aren't sure if we can bump the cap safely, let's
remove the extension.

Also replace the openstack CLI by the swift CLI to resolve the current
CI failure.

Change-Id: I1a2f908fef4b660686d75ea6e8330287b423cd8b
2024-09-11 00:21:39 +09:00
Zuul
21098c840d Merge "Remove old excludes" 2024-04-30 12:33:24 +00:00
Takashi Kajinami
e5cc92c279 Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Change-Id: I06ba02c081822aea9dc76bd949ff0ce31deecd44
2024-04-30 18:09:18 +09:00
015caed16e reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: Idcb6cfab1b923b801c9b0d64751442c4719ded1c
2024-04-26 18:06:11 +00:00
Zuul
0b5cb8b368 Merge "Remove unused host_restart_script_dir" 2024-03-17 16:10:32 +00:00
Takashi Kajinami
f64f957a34 Remove unused host_restart_script_dir
This has been unused since the SUID binary to restart docker containers
was removed[1].

[1] d60176cc2f7286257ab8d2187329943efec09bb7

Change-Id: If2050e6a8e44217536cd80504934cd4949583b0c
2024-03-17 15:28:25 +00:00
d3cdac34e2 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: I4d87c52977d1569cf3f84a25241fd3ebea2825ca
2024-03-14 02:33:13 +09:00
d58585737c reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Iecf654eadad27064cc31995d9d18936a5b427c7d
13.0.0.0rc1 13.0.0
2024-03-12 14:03:01 +00:00
96e3e2a668 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I069d656078890b2a22798101df1ae2bc9b6320c6
2024-03-12 14:02:44 +00:00
Takashi Kajinami
5f254dd3fa Add release note for 13.0.0 release
Change-Id: I3a9acffbb4dc1ae659e2e0db6f186ff8f731a77c
2024-03-12 00:41:44 +09:00
Takashi Kajinami
3c7d0b7f2d Document PUT with X-Storlet-Extra-Resources
Change-Id: I4572ee561e933b598285e122c97f160d3d401c61
2024-02-14 10:12:00 +09:00
Takashi Kajinami
8401b6c581 Allow limiting maximum extra resources
Using many extra resources may cause high load at proxy server, because
the process needs to get all of the requested objects concurrently.
This change introduces a new option to limit maximum number of extra
resources per request to avoid DoS attack by too many extra resources.
If a request contains extra resources over the limit, then the request
is rejected at an early stage. The default value is -1 which means
unlimited. In case this option is set to 0 then users are not allowed
to use extra resources at all.

This also refactors handling of extra-resources header. One side
benefit of the refactoring is that now users can use additional inputs
when executing storlet over PUT requests.

Change-Id: I0ea7d78614f2b1ef5bf4961d2d5fe773264ef448
2024-02-14 01:03:52 +09:00
Takashi Kajinami
b75465ab51 Refactor FD handling
* Fix duplicate closure of _input_read_fd
* Delegate closure of _input_write_fd to the dedicated write thread

Change-Id: I74128fe1f55abafea322111cf289fb0a978fc2b4
2024-02-12 17:36:36 +00:00
Takashi Kajinami
639fee6cd2 Decouple StorletData from StorletRequest/Response
Each StorletRequest or StorletResponse can contain multiple StorletData
when using multi input/output feature.

Change-Id: I755583116d55588083ec9703de28344f3e20f7ee
2024-02-13 02:36:02 +09:00
Zuul
f1ee4f16a3 Merge "Split out general implementation for containers" 2024-02-12 14:57:22 +00:00
Takashi Kajinami
43c038adf4 gateway: Ensure required interfaces are implemented
... using the built-in abc module.

Change-Id: I70a5ddde1f235bdd208997c3012aa0e8588b32e2
2024-02-11 16:41:27 +09:00
Takashi Kajinami
caae8c45a7 Split out general implementation for containers
This is a prep work to support different container runtimes such as
podman.

Change-Id: Ia7787bdb1d86683d316a32b34c0a080b7b4ebb87
2024-02-11 01:37:25 +09:00
Zuul
f1e59923ee Merge "Remove unused constant" 2024-02-10 16:23:10 +00:00
Zuul
50c6680a55 Merge "Use built-in subprocess.DEVNULL" 2024-02-10 15:24:46 +00:00
Zuul
037bcf34db Merge "Add CentOS Stream 9 job" 2024-02-10 15:18:49 +00:00
Takashi Kajinami
207f80b73c Remove unused constant
Change-Id: I13d013af686382716a943b4bc1c23157f4ff48b3
2024-02-11 00:08:30 +09:00
Zuul
25c8337393 Merge "Remove dev(el) package from container image" 2024-02-10 14:43:22 +00:00
Takashi Kajinami
16c292305f Add CentOS Stream 9 job
This introduces a functional tests which runs on CentOS Stream 9.

Currently we use docker-ce in this job, but the job may be later
updated to use podman, which is part of the distribution packages.

Change-Id: Ic93c1c7faf46f641aa5988c688ebbef4a6e32ab4
2024-02-10 23:32:09 +09:00
Takashi Kajinami
876b695219 Use built-in subprocess.DEVNULL
... instead of creating a file object.

Change-Id: I6f61369f1770f8223544ec5040deeded7640b81b
2024-02-10 23:30:28 +09:00
Takashi Kajinami
464310c62b Remove dev(el) package from container image
... because it's required only during builds.

Change-Id: Icb8ce4dc11e3c47bb57282e004ce7a37ceb5b80b
2024-02-10 22:21:09 +09:00
Zuul
224421d789 Merge "Pick up jdk version from environment" 2024-02-10 10:47:43 +00:00
Takashi Kajinami
13a505d69d Bump java dependencies
... to the latest versions currently available.

Change-Id: I08933c950ed1d3853cac0ff42ce4fa717f3eddc1
2024-02-10 14:33:11 +09:00
Takashi Kajinami
1315cf9c36 Pick up jdk version from environment
... instead of hard-coding the version in ant build file.

Change-Id: I382803ee7c557e02fc02bda53f140b46aa0f2146
2024-02-10 14:22:55 +09:00