Commit Graph

256 Commits

Author SHA1 Message Date
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
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
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
Takashi Kajinami 385c66d388 Support allowed_digests options
... which were added as part of deprecation of sha1 signatures[1].

[1] 2d063cd61f6915579840a41ac0248a26085e0245

Change-Id: I8a27cebecbf1c47b2aeb8c1f1f00b1f1c90011d1
2023-12-27 00:05:28 +00:00
Takashi Kajinami 68bc8f1a29 Add purge_config support for service config files
... so that users can use this feature more easily.

Change-Id: Iceec730f773f5c5d411ea2c50d2926631f48b9c9
2023-12-04 14:28:26 +00:00
Takashi Kajinami 53198ba274 container-reconciler: Support more tunables
Change-Id: Ie2b54782e3f80d6c64bfb0ac9d2cb9afc65abbc2
2023-12-04 23:27:39 +09:00
Takashi Kajinami 5611ed75f5 container-reconciler: Enable cache middleware by default
The chache middleware is now enabled by default in most of the services
but only container-reconciler disables it by default, though the sample
config container-reconciler config file in the swift repository enables
the middleware.

This updates the default value so that the default pipeline is
consistent among services, and is aligned with the sample files in
swift.

Change-Id: Ifcb4d241de14a9e0b7e3afb79e73b9a57acc9d9e
2023-12-04 23:26:31 +09:00
Zuul e1f6e41ad0 Merge "Deprecate incomplete config_file_path" 2023-11-27 16:53:29 +00:00
Takashi Kajinami bb656e5ee8 Deprecate incomplete config_file_path
Customizing this parameter now results in incomplete result because
swift_<type>_config does not allow customizing the target file path.
Let's deprecate the parameter instead of leaving this incomplete
interface.

Change-Id: Ie3fe8a34bcccaa993aedd8b6bef15ad3d237604c
2023-11-26 21:00:05 +09:00
Takashi Kajinami 9325297393 object-expirer: Remove deprecated auto_create_account_prefix
This parameter was deprecated a few cycles ago[1].

[1] 7d220dd934

Change-Id: Ic2f5d11453bd4403ace59ee7245cdd999c6dc51f
2023-11-26 20:23:38 +09:00
Zuul a89110453d Merge "Drop default password" 2023-10-17 16:12:44 +00:00
Takashi Kajinami e46f3b4af3 Drop default password
The default password was deprecated some time ago[1].

[1] 2df992faf3

Change-Id: I517fc45081015156e71cd0c77fd2992876e1a22e
2023-10-17 13:49:19 +09:00
OpenStack Release Bot 0bd7db79e1 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: Ia5a4710dea573749befe9ff0f919cc1771f09dc1
2023-10-16 15:20:17 +00:00
Takashi Kajinami 3c89736ffe Restart only specific services after config change
Currently we restart all swift services regardless of the config file
being updated. This is very redundant, because some config files affect
only specific services (eg. account-server.conf is used only by
account-* daemons).

This introduces new "sub" tags such as swift-account-service and limit
the services being restarted.

Change-Id: Idfa09b63d291b0f71686554cb7c7b0597cb8842c
2023-07-24 15:07:50 +09:00
David Hill de05151b9c Expose hosts_allow/deny for rsyncd configuration.
This introduces the hosts_allow parameter and the hosts_deny parameter
so that users can limit access to the rsync server.

Change-Id: I2bf7240f8c52aef8b4dd74ce5af12056377ab227
2023-06-26 08:48:53 +00:00
Zuul d74b893309 Merge "Remove deprecated swift::max_header_size" 2023-06-08 14:11:26 +00:00
Takashi Kajinami f2bb7abca8 Remove deprecated swift::max_header_size
The parameter was deprecated during the past cycle in favor of the new
constraints class[1].

[1] 7d220dd934

Change-Id: I7c291035e4eef39333150629b65abd915976ca79
2023-06-06 14:14:43 +09:00
Takashi Kajinami e4d8af83c9 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Ib02751149c0ef18e99c717575cbced01e5b39649
2023-05-22 12:30:41 +09:00
OpenStack Release Bot ed15de5bf3 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: Ic3d834bcaad2326ba79b0fb4b619150b6d7cc2a5
2023-04-05 15:36:18 +00:00
Takashi Kajinami d72f4b7535 ceilometer: Remove deprecated group parameter
This parameter was deprecated during the previous cycle[1] and has had
no effect since then.

[1] 152587fd2a

Change-Id: I968efcf3e25199f78559d1e1154a19f8772884c7
2023-01-17 14:38:37 +09:00
Takashi Kajinami 4418d8a0c1 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ibe67a9516078e09e1c30727eb024de2a6e284ebf
2023-01-15 22:32:10 +09:00
Takashi Kajinami fd38b9cbfa Add support for swift-drive-audit cron job
This change introduces the new class to configure cron job to run
the swift-drive-audit CLI tool periodically. The CLI tool checks
the log files to detect any device failure and umount faulty disks.

Change-Id: I8aded9b59939e5a2eab04424277d9082cbda0a3a
2022-12-19 11:40:25 +09:00
Zuul 928a0e467b Merge "Support customizing fallocate options" 2022-12-12 00:11:10 +00:00
Takashi Kajinami c940ab0ab5 Add support for backend ratelimit middleware options
This introduces a new defined resource type to manage the backend
ratelimit middleware options.

The middleware was added recently so that users can ratelimit internal
requests. Details can be found in the dependent change.

Depends-on: https://review.opendev.org/836046
Change-Id: Ie7c33d0a7e75238be9638551779413d93206cc41
2022-12-08 15:12:50 +09:00
Takashi Kajinami 7a05cf5840 Support customizing fallocate options
This change introduces the new parameters for the following options so
that users can customize fallocate calls in storage server processes.

 - [DEFAULT] disable_fallocate
 - [DEFAULT] fallocate_reserve
 - [app:<type>-server] fallocate_reserve

Change-Id: I37164a2fda28e63604545db46fc925ecf04f9204
2022-12-08 15:02:55 +09:00
OpenStack Release Bot 2161ec46e9 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: I69a3680164ec1bfc3182e463322edc5aaa93ff9f
2022-10-20 11:12:19 +00:00
Takashi Kajinami 7e821025b2 authtoken: Remove deprecated auth_plugin
The parameter was deprecated during Victoria cycle[1] in favor of
the auth_type parameter.

[1] 5722f7149c

Change-Id: Ibc261c2e2ba9fa9ba547ad5d0f736c1b7230c579
2022-09-29 09:10:27 +09:00
Zuul 2bec34f3fc Merge "bulk: Support more tunable options" 2022-09-07 19:57:37 +00:00