The current usage is causing the following error in puppet 8.
validate_legacy(validate_re) expects an Integer value, got String
at ["/.../modules/swift/manifests/ringbuilder/rebalance.pp", 23]:
Change-Id: I60fcea3c1a04456898816b844bf9e555a790d1d4
(account|container|object)-server.conf requires sections for each
services but these sections sometimes don't require settings when
service defaults are used.
This change allows defining only sections using *_config resources.
Depends-on: https://review.opendev.org/849235
Change-Id: I827c06cc994e13b900a9eeaeaec7849a243732e2
This replaces the existing implementation using inline_template by more
native functions, to help us maintain the logic more easily.
Change-Id: Ib775edfa6a3a62a6889c9de334b1563f3819146a
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
This adds a few more assertions in acceptance tests to ensure storage
servers(account-server, container-server and object-server) are
listening on their tcp ports as expected.
Change-Id: Idbcb3d6df962d99402a06f895369fe5f812d49ab
This parameter was deprecated during the previous cycle[1] and has had
no effect since then.
[1] 152587fd2a1d0c0bc7ad67585fe2ecdd6abde995
Change-Id: I968efcf3e25199f78559d1e1154a19f8772884c7
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
The log_address parameter has never been deprecated and it has been
actually configured in the config files. This fixes the wrong parameter
description.
Change-Id: I5ec835ce2febdd46e9706d7f927d39a24fdd576c
The auditor_disk_chunk_size parameter defaults to $::os_service_default
now so passing undef to the parameter is resolved to that default
value by Puppet.
Change-Id: Ie6026ba2fb1bf657d6b1b981027bc5a8590d0640
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
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
swift 2.10.0 was released in 2016. We no longer need to support even
older versions. The output format depends on the version currently
installed, thus the latest logic should work as long as the same
release (or even a bit older release) is installed.
This also updates the logic to skip the header lines. The new logic
is considered to be more robust, because it works even when additional
lines are added.
Change-Id: I694ca4c046f490e4ffecf2101f3f147a69045162
The IPv6 addresses in ring_*_device resource names should be surrounded
by []. This ensures the address is properly formatted when the resource
is define in swift::storage::node.
Closes-Bug: #1997295
Change-Id: I390f3c7bbfbbbc7217f81e8a0312e5db201ef409
This change ensures the shortened address representations are always
used for ring devices to avoid broken idempotency caused by different
representations (shortened[1] vs canonical[2]).
[1] ::1
[2] 0000:0000:0000:0000:0000:0000:0000:0001
Closes-Bug: #1997313
Change-Id: I762f0780ba25536aa616482a49d59c7db69924d6
Currently acceptance tests are consistently failing in Ubuntu, because
of broken idempotency with swiftinit service provider.
This change disables the test cases as a temporal workaround.
Change-Id: I03265d899ad04f2aa6e39fcb4b79352ac7fa56cd
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
The swift processes does not require write access to the mount base
directory (which is usually /srv/node), thus the directory can be owned
by root. This is more consistent with the current installation guide
of Swift.
Change-Id: I6da122c569e7a66a1933b7483fb8cf68a40dd94f
This change makes the root user, instead of the swift user, own
the mount path where the data disk is mounted. This allows us to
prevent the swift processes from writing files.
This follows the current installation doc(eg. [1]) which suggests
chown AFTER mounting the disk device.
[1] https://docs.openstack.org/swift/latest/install/storage-install-rdo.html
Change-Id: I1a612fcf658da8ed0cb1dc51fa5e534dc0341241
The parameter was deprecated during Victoria cycle[1] in favor of
the auth_type parameter.
[1] 5722f7149c678fcb79cf792a9eda53537e080cb8
Change-Id: Ibc261c2e2ba9fa9ba547ad5d0f736c1b7230c579