Commit Graph

1398 Commits

Author SHA1 Message Date
Zuul 2a5ec303af Merge "Ensure app/filter factory options exist" 2024-05-14 15:51:59 +00:00
Takashi Kajinami a123fd166b Ensure app/filter factory options exist
All middleware filters and apps enabled in pipeline should have
the corresponding factory option (use = ... ) but the lines may not
exist in case the config file does not exist or is generated in advance
incompletely.

Change-Id: I714fe28547ea8308d7e82b66687ea0f24f816cda
2024-05-14 12:42:59 +09:00
Takashi Kajinami f07105ad24 Expose log_name_per_daemon configurable
Add the log_name_per_daemon parameter to the all class so that this
parameter can be customized via the simplified definition.

Change-Id: I34989778f607db869d7acd1787682f5a8c97be5b
2024-05-13 21:45:46 +09:00
OpenStack Release Bot 2655744dcf reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I0159549d367587ba9a8260f8e178345082fb1216
2024-05-10 09:26:05 +00:00
Takashi Kajinami 8476a1914e Remove support for amqp1 messaging driver
The base implementation in puppet-oslo was deprecated during the 2023.2
cycle[1], so can be removed now.

[1] e174113210699b433dbae4c2c5a68bc3d269b5c3

Change-Id: I233cf0d5048db44df5c77cb509a1bca4e89555da
2024-05-08 17:14:03 +09:00
Thomas Goirand f07444d3c4 Allow using device uuid in storage::mount
Previously, the `swift::storage::mount` allowed any type of string,
making it possible to use UUID=4aa242a4-0ab3-4037-9137-1d58c7f2b5f8 or
even 4aa242a4-0ab3-4037-9137-1d58c7f2b5f8 for example. But now, as
the device parameter is Swift::MountDevice, this cannot be done.

This patch fixes this regression.

Change-Id: I57619c628ee7a6d5e60260235fbd6d83f514be83
2024-05-02 15:48:33 +09:00
Takashi Kajinami 9ac945a2cb Add unit test of Swift::MountDevice type
Change-Id: I4486bf134e068b95c1ec71848efabd24069b186b
2024-05-02 00:47:39 +09:00
Zuul b35d4af619 Merge "ceilometer: Require default_transport_url" 2024-04-26 05:21:36 +00:00
Zuul e4cd48cc50 Merge "Make sure storage server config files are not world-readable" 2024-04-26 03:32:23 +00:00
Takashi Kajinami bca2639e5b ceilometer: Require default_transport_url
The default_transport_url parameter should be configured appropriately
so that the ceilometer middleware can send notifications.

Change-Id: I4fb26670668073619ad3629ea47194ddc33981f0
2024-04-26 09:59:08 +09:00
Zuul bba25b4a95 Merge "ceilometer: Fix wrong rendering of ignore_projects" 2024-04-25 17:06:58 +00:00
Zuul f2ee4500cd Merge "ceilometer: Use dedicated config file for oslo.messaging options" 2024-04-25 15:37:22 +00:00
Zuul b5905818ca Merge "Remove config_file_path" 2024-04-25 15:37:21 +00:00
Zuul 1347526af1 Merge "Avoid deprecated config_file_path" 2024-04-25 15:24:50 +00:00
Zuul 217144a91b Merge "proxy: Support keepalive_timeout" 2024-04-25 15:24:48 +00:00
Takashi Kajinami 003f4fe6ea Make sure storage server config files are not world-readable
... instead of vaguely rely on the umask.

Change-Id: I685888c8368cea53c225c103c62e5147db2ee28b
2024-04-24 00:53:55 +09:00
Takashi Kajinami e751dda37b ceilometer: Fix wrong rendering of ignore_projects
The ignore_projects option is not a multi-valued option but accepts
only comma-separated strings.

Change-Id: I7977ea4c84417078457afb0d0834934ba5481e5d
2024-04-23 09:55:07 +09:00
Takashi Kajinami 119d8fc819 ceilometer: Use dedicated config file for oslo.messaging options
The mechanism to load additional config files for oslo.messaging option
was introduced to ceilometermiddleware. Use this mechanism to inject
oslo.messaging options so that we can customize behavior of the library
like use_ssl.

Depends-on: https://review.opendev.org/904328
Change-Id: I5a82a52ddea610b4dda6658378d78a6cf13e3bb2
2024-04-23 01:18:01 +09:00
Takashi Kajinami e701669ba9 Remove config_file_path
This parameter was deprecated during the previous cycle[1] and has had
no effect.

[1] bb656e5ee8

Change-Id: I6fd0ddaa526b8abdc5f48ce6586435c845af17be
2024-04-20 17:46:30 +09:00
Takashi Kajinami f5be5ea566 Avoid deprecated config_file_path
This parameter was deprecated[1] and has no effect.

[1] bb656e5ee8

Change-Id: I8f18e65ea9466a9033084bc5bd3e91c520bccb6e
2024-04-20 17:46:30 +09:00
Takashi Kajinami d9f986eb0a proxy: Support keepalive_timeout
... which was added in 2.32.0.

Depends-on: https://review.opendev.org/873744
Change-Id: I32711cc8c3d354c395439cb8d83daa9b4393dd39
2024-04-19 10:27:49 +09:00
OpenStack Release Bot 9c66538fec 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: I12fb060c4b957a869b9462374519485f29fb9ec8
2024-04-18 10:50:31 +00:00
Takashi Kajinami 3af1a20fe0 Prepare 2024.1 release
Change-Id: Ifb4ab6f5f8e7faa5f5d8306a6823e2de36cca9e3
2024-04-15 22:34:42 +09:00
Zuul caf63f71e0 Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:10:44 +00:00
OpenStack Release Bot a65ace65d4 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ibfb17b2a443446c94b3838c64e8d52f505a8cda8
2024-04-12 12:35:21 +00:00
OpenStack Release Bot 0295507e30 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I513428398a47569f841b61b98a698b201487bbc5
2024-04-12 12:28:17 +00:00
Takashi Kajinami f93968a061 validate maxdelay for cron job
The parameter descriptions says the value should be a positive integer
(or 0). Validate the given value to reject invalid values such as
strings or even negative values.

Change-Id: Ia6e238f85b7eef5b8f7b65ca37481d77a48c378a
2024-04-08 16:48:25 +09:00
Takashi Kajinami 722d68b036 Use creates property of exec
... instead of unless + test command, to leverage the built-in feature
and simplify the logic in our own modules.

Change-Id: I0d5e98fcfcada5637dd0c3cc60e503b73241f3fd
2024-03-14 12:31:55 +09:00
Zuul 4105195a3b Merge "disk: Expose more options" 2024-02-29 18:30:49 +00:00
Zuul 93fa8870db Merge "ext4: Sync interface with xfs" 2024-02-29 18:25:41 +00:00
Zuul dd5ebbb3f3 Merge "xfs: Support mount by label" 2024-02-29 15:40:00 +00:00
Zuul 1e4265cc29 Merge "Add data type validation for device handling" 2024-02-29 09:33:29 +00:00
Takashi Kajinami e888e9c0d3 disk: Expose more options
... so that users can use this wrapper with more flexible customization
about filesystems and mounts. Also, this introduces the new filesystem
type parameter so that this common implementation can be used when ext4
is used.

Change-Id: Ib60576fc593f36c36a0e0bd03611a568e21913e9
2024-02-27 09:24:20 +09:00
Takashi Kajinami 5d955ed003 ext4: Sync interface with xfs
This fixes the inconsistent interfaces between swift::storage::ext4 and
swift::storage::xfs, so that users can use both implementations more
easily without looking into actual interfaces in detail.

Change-Id: I708e57d2904499613c85e720f75919483e80aaee
2024-02-27 00:19:42 +00:00
Takashi Kajinami 9efd303bcb xfs: Support mount by label
... in addition to uuid and device name, as a more static but more
flexible way to assign devices to mount points.

Change-Id: I92e3f5d09c071c48e8b51026a2cda2394cbe33cf
2024-02-27 00:19:35 +00:00
Takashi Kajinami 8af5b43b1e Add data type validation for device handling
... and also makes behavior of the `device` parameters consistent.

Change-Id: I5f34a91aa4c9f3bebf6e41b19fbf5d41eb7ecf17
2024-02-27 09:19:22 +09:00
Zuul 5e07964327 Merge "Support object-relinker" 2024-02-22 14:24:45 +00:00
Zuul d876d9249c Merge "Add more log options" 2024-02-22 14:24:44 +00:00
Zuul c7405caf90 Merge "reno: Update master for unmaintained/yoga" 2024-02-22 01:21:27 +00:00
Zuul 511b1da6f3 Merge "Add support for read_only middleware" 2024-02-21 18:42:59 +00:00
OpenStack Release Bot 97d203893f reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Iab754b86d0e49207eaf01c6cac613ec14ad1f097
2024-02-21 16:52:00 +00:00
Takashi Kajinami e768302b78 Support object-relinker
This introduces the config entries for object-relinker, which is a CLI
tool used to increase part power.

Change-Id: Ied52845c6b3b30a6aa6744c6a9c599bbd81b6e9e
2024-02-20 16:06:28 +09:00
Takashi Kajinami dde528e8f5 Add more log options
This adds a few new log options for object-expirer and
container-reconciler so that users can set consistent logging options.

The default log level of container-reconciler is effectively changed
from local0 to local2, to use the consistent log facility in all
services.

Change-Id: If5c287d8fd1325b08705133756eece6e41cfdc5f
2024-02-20 13:53:41 +09:00
Thomas Goirand 43035bc12e Per daemon log name
Currently, puppet-swift can only set log_name. However, it's possible
with swift to have each daemon log with a different name, making it
possible to have logging for each daemon in a separate file, which is
often a way more convenient for operators.

This patch sets a different log_name for each daemon if set to true.
The default behavior is left unchanged.

Change-Id: I27386f6ac00b2efcfa5fc4f5ed3b86efc49c17fc
2024-02-20 12:06:01 +09:00
Takashi Kajinami 1b5eceeb36 Add support for read_only middleware
Change-Id: I82726ab76587a134f9267521821b48e8a1a05936
2024-02-18 14:09:56 +09:00
Zuul 7a6179dad9 Merge "storage: support timeout parameters" 2024-01-22 17:29:57 +00:00
Zuul 526258d596 Merge "updater/reaper: Support interval option" 2024-01-22 17:20:01 +00:00
Takashi Kajinami 7021ac5ddb storage: support timeout parameters
This introduces support for the following these two options for various
services.
 conn_timeout: connection timeout
 node_timeout: request timeout

Change-Id: I318c8db8c564e86b33597d13e0b50da03aa9f16e
2024-01-20 00:10:53 +09:00
Takashi Kajinami 1218a17d9b updater/reaper: Support interval option
... similarly to the interval option for replicators.

Change-Id: Id3eb05a647d4a141ab47222197540bb3e61ba8de
2024-01-19 19:37:05 +09:00
Zuul 73a672887b Merge "proxy: Fix typo in the dummy resource for pipeline validation" 2024-01-12 18:01:52 +00:00