* Update puppet-swift from branch 'master'
to 9c66538fec2e33e9df8cd778402d37e204c07468
- 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
* Update puppet-swift from branch 'master'
to caf63f71e0184ca6b0549a9742ed39b9f3c0ca12
- Merge "reno: Update master for unmaintained/xena"
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: Ibfb17b2a443446c94b3838c64e8d52f505a8cda8
* Update puppet-swift from branch 'master'
to 0295507e30734068d4408c8746d23abc08117683
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I513428398a47569f841b61b98a698b201487bbc5
* Update puppet-swift from branch 'master'
to f93968a061814bfd7238e420cc5deb84844fd5aa
- 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
* Update puppet-swift from branch 'master'
to 722d68b03644c8d6a832f386deec652132f21c9a
- 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
* Update puppet-swift from branch 'master'
to 4105195a3bab182284fbc774dc90ce0aa82d64e1
- Merge "disk: Expose more options"
- 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
* Update puppet-swift from branch 'master'
to 93fa8870db7949a4067a9bd67b47ae4644dc33af
- Merge "ext4: Sync interface with xfs"
- 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
* Update puppet-swift from branch 'master'
to dd5ebbb3f3c584faa92b2bd1a19eb95e36358bad
- Merge "xfs: Support mount by label"
- 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
* Update puppet-swift from branch 'master'
to 1e4265cc29d26399646c4eb705e629036703891a
- Merge "Add data type validation for device handling"
- Add data type validation for device handling
... and also makes behavior of the `device` parameters consistent.
Change-Id: I5f34a91aa4c9f3bebf6e41b19fbf5d41eb7ecf17
* Update puppet-swift from branch 'master'
to 5e079643274aa39e55a51733dfee4c1fe7aab1ca
- Merge "Support object-relinker"
- Support object-relinker
This introduces the config entries for object-relinker, which is a CLI
tool used to increase part power.
Change-Id: Ied52845c6b3b30a6aa6744c6a9c599bbd81b6e9e
* Update puppet-swift from branch 'master'
to d876d9249c51e1beeb5b8056b503a7888870e095
- Merge "Add more log options"
- 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
* Update puppet-swift from branch 'master'
to c7405caf9095fd26f1ab84ea264b452bdfd88a5d
- Merge "reno: Update master for unmaintained/yoga"
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Iab754b86d0e49207eaf01c6cac613ec14ad1f097
* Update puppet-swift from branch 'master'
to 511b1da6f3b7221d9ec81c7f75983e8bd3febe97
- Merge "Add support for read_only middleware"
- Add support for read_only middleware
Change-Id: I82726ab76587a134f9267521821b48e8a1a05936
* Update puppet-swift from branch 'master'
to 43035bc12e310c337061fcee96bb35e9eb06e501
- 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
* Update puppet-swift from branch 'master'
to 7a6179dad943e24bb4f9e6de2e81cf5bfd4bd058
- Merge "storage: support timeout parameters"
- 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
* Update puppet-swift from branch 'master'
to 526258d5965b2384684ed17fec96f7a89239c476
- Merge "updater/reaper: Support interval option"
- updater/reaper: Support interval option
... similarly to the interval option for replicators.
Change-Id: Id3eb05a647d4a141ab47222197540bb3e61ba8de
* Update puppet-swift from branch 'master'
to 73a672887b94729369fe0d166c1877f79da85e17
- Merge "proxy: Fix typo in the dummy resource for pipeline validation"
- proxy: Fix typo in the dummy resource for pipeline validation
Change-Id: I49987756f7c9f7246281c5df56dc47db0593d0b4
* Update puppet-swift from branch 'master'
to fed53e44718ec003868642db33ccc90386041013
- Merge "Fix handling of cors options"
- Fix handling of cors options
The strict_cors_mode option should be set independently from
the cors_allow_origin, for example in case when strict mode is
disabled.
Also the current description about the strict_cors_mode is completely
incorrect.
This fixes these problems, and also allows usage of an array value
for cors_allow_origin so that users can compose a value to be passed
to the parameter more easily.
NOTE:
The strict_cors_mode option defaults to true in swift, thus its default
is replaced by the os_service_default fact.
Closes-Bug: #2048840
Change-Id: I59317519e31349d0b0b7efafae3a0a8a44d81d37
* Update puppet-swift from branch 'master'
to a2d8fa30fea8fbca9aa594c77cf1863089cfbb37
- Merge "Fix constraint related to dnspython"
- Fix constraint related to dnspython
The title of the package resource to manage dnspython is not python3-*
but python-*. Also the proxy-server service should be restarted when
the package is updated so that the updated version is loaded.
Change-Id: I3372c38dcbc7312395ddf643862da91b00262ad7
* Update puppet-swift from branch 'master'
to b5a4ab89e88b25d6ee99a7aa16b02c726746aceb
- Merge "Use ensure_resource to declare rsync::server"
- Use ensure_resource to declare rsync::server
... instead of skipping the 2nd declaration, to detect conflicting
definitions.
Change-Id: I7370f740da55bc7128fbef21599907365c49cd93
* Update puppet-swift from branch 'master'
to 26270f6a3ef4918036a1043148d206097be68a35
- Merge "Support allowed_digests options"
- Support allowed_digests options
... which were added as part of deprecation of sha1 signatures[1].
[1] 2d063cd61f6915579840a41ac0248a26085e0245
Change-Id: I8a27cebecbf1c47b2aeb8c1f1f00b1f1c90011d1
* Update puppet-swift from branch 'master'
to 92c01eb323fbefa9b2b400bd16aad8f5dfd15152
- Merge "Ensure all keystone resources are created"
- Ensure all keystone resources are created
Change-Id: Id0da55ac9335e256765fa4110dc254f7383bf620
* Update puppet-swift from branch 'master'
to 19b1d5b2edea08b35c2faa09f08a0ac9d0bc0910
- Merge "ceilometer: Purge topic and control_exchange by default"
- ceilometer: Purge topic and control_exchange by default
... instead of leaving these options unmanaged.
Change-Id: I89350c9daafeedc1b1736e4dc67f6918a2e8a666
* Update puppet-swift from branch 'master'
to 0e3f254347f93ece93617f882ec4b7b6334968a2
- Merge "Replace deprecated `stub` from rspec-mocks"
- Replace deprecated `stub` from rspec-mocks
... according to the following warning.
Using `stub` from rspec-mocks' old `:should` syntax without explicitly
enabling the syntax is deprecated. Use the new `:expect` syntax or
explicitly enable `:should` instead.
Change-Id: I45564a4bc3346037265a3363b3bd635b4c9f53e1
* Update puppet-swift from branch 'master'
to 68bc8f1a2920ca27b3ad1da0c75695428312f27e
- Add purge_config support for service config files
... so that users can use this feature more easily.
Change-Id: Iceec730f773f5c5d411ea2c50d2926631f48b9c9
* Update puppet-swift from branch 'master'
to f772e96e12500a8312c84275094010b51c886ee2
- Add parameter type validations
Some parameters accept only certain parameter types/values. This adds
validations in parameter input to return sensible errors to users.
Change-Id: Ie6c0cf7956c228fead74dcb59e94111402303a56
* Update puppet-swift from branch 'master'
to 53198ba27499ad31f308cb94625b11648c3f12a2
- container-reconciler: Support more tunables
Change-Id: Ie2b54782e3f80d6c64bfb0ac9d2cb9afc65abbc2
* Update puppet-swift from branch 'master'
to 5611ed75f5c747080d0c45cdef85766eb9fd39a4
- 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
* Update puppet-swift from branch 'master'
to d0b20eb5d986d3f424916b899a9232deb1a365bc
- Drop redundant default of cache_tls_enabled
The tls_enabled option defaults to false, so we don't have to make
the class parameter default to false explicitly but can use the service
default.
Change-Id: I023855904460280e86073c0301e420255b25e6f2
* Update puppet-swift from branch 'master'
to 9c10d867f38d6e896411c45e4e24b9d5bb4b7674
- Fix incomplete unit tests for swift::objectexpirer
This fixes some of the logics which do not actually enable unit tests,
to keep appropriate test coverage.
Change-Id: I02d7f2a21d0b2a3c09f622caf11041a6dd9d0f83
* Update puppet-swift from branch 'master'
to 4ae639589e7a2033bd39b0df7750e08dde5322a6
- Fix incomplete unit tests for swift::containerreconciler
This fixes some of the logics which do not actually enable unit tests,
to keep appropriate test coverage.
Change-Id: I27ffddfe37d6801df7b4b2caf7becd7d92773ddc
* Update puppet-swift from branch 'master'
to f0a77d2cc2fe0939afc13f0db59fff7988d72df4
- Remove redundant hardcoded default of log_headers
The log_headers option defaults to no (which is effectively same as
False), so we don't have to explicitly set this option.
Change-Id: I0463331018dd1ff844caf0bc54f9abfe4627420e
* Update puppet-swift from branch 'master'
to 300802a79d4f787b39bf2a0a82f7b85da093d601
- Make log_udp_port optional
The [DEFAULT] log_udp_port option defaults to syslog udp port in case
it's not set, so users don't have to set this option explicitly.
Change-Id: I274271fd5bbcbac830d119797a0895f8651ba9df
* Update puppet-swift from branch 'master'
to e1f6e41ad001269b089360dc67f9612f9055859e
- Merge "Deprecate incomplete config_file_path"
- 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
* Update puppet-swift from branch 'master'
to 72e24e247cb6b7946ec5e9d35b94d0a95683d31e
- Merge "Remove unnecessary file_line resources"
- Remove unnecessary file_line resources
Now the section can be managed by the swift_<type>_config resources.
Change-Id: I34eb07721bb1e453e9217fff3035a37d0694c3ba
* Update puppet-swift from branch 'master'
to 9325297393b336fc065612cdd32d45a36ffada18
- object-expirer: Remove deprecated auto_create_account_prefix
This parameter was deprecated a few cycles ago[1].
[1] 7d220dd93468815f88c95c67b2d45d95152f8cae
Change-Id: Ic2f5d11453bd4403ace59ee7245cdd999c6dc51f
* Update puppet-swift from branch 'master'
to 0f7f6bdee8fda718cc8bee16fa0d3511cb727491
- Merge "Move out swift client from service packages"
- Move out swift client from service packages
The swiftclient package is not required by swift itself, thus we don't
have to install it along with the other swift packages.
Change-Id: If241e635109f5970e725d7776026f0d7b4951024
* Update puppet-swift from branch 'master'
to 8221de3b4954c1f30d0a38d1f30453ed2b878798
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: I296a546b60de6ff969f186caa86c241eff9a3c75
* Update puppet-swift from branch 'master'
to f6b6102f4bbde4ae8309fb83954ba775cd1a53ea
- Merge "Fix wrong PATH for chown"
- Fix wrong PATH for chown
The chown command is installed in /bin and /usr/bin/, not /usr/sbin.
Change-Id: I03d6bc361726f0eee9c9cebac85f38c317b52b99
* Update puppet-swift from branch 'master'
to 810f90077ff5a557fad12082a4eb207ec2c834ed
- Merge "Fix ignored notifications/orders"
- Fix ignored notifications/orders
This fixes the resource notifications and orders defined in the mount
class was unintentionally ignored unless selinux is enabled.
Also, resource collectors are replaced by explicit resources, because
we can expect precise list of resources defined in the class.
Finally, restorecon should be executed when the directory is mounted,
regardless of the result of chmod.
Change-Id: If919c7aceb5394a99657c3be7dc4f376d8a1b453
* Update puppet-swift from branch 'master'
to 27bd79c88372281957080d4471f380f10d91adf8
- Merge "keymaster: Ensure options are purged by default"
- keymaster: Ensure options are purged by default
... instead of being left unmanaged.
Change-Id: I68706ca07c9d3491c0f762ec102a722a23db28ec
* Update puppet-swift from branch 'master'
to a89110453d089f0a69fa4816386067f291f9b846
- Merge "Drop default password"
- Drop default password
The default password was deprecated some time ago[1].
[1] 2df992faf3d2a6c845b6bbe302fb956b77307c50
Change-Id: I517fc45081015156e71cd0c77fd2992876e1a22e
* Update puppet-swift from branch 'master'
to db792a32b2962df8746ae3a986fcb2fa596761ce
- Merge "Fix ignored unit tests for swift::keymaster"
- Fix ignored unit tests for swift::keymaster
Change-Id: Ib2a42ed012aef7f11c061387d85957c31672e3f4
* Update puppet-swift from branch 'master'
to 0bd7db79e1bfccca6733ddc809278dbb7e00a8a2
- 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
* Update puppet-swift from branch 'master'
to c9161c04d7ccbafd1acdec251b2c54e2390c9452
- Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.
[1] 316d95923c
Change-Id: I2f104030c57f2680fef70afa72dc332be8d36885
* Update puppet-swift from branch 'master'
to 18b67d89e49a70f8f426f3489cbb76284e92c89d
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Ib4b196f396de2395153ad9c5970b33ca5479a241
* Update puppet-swift from branch 'master'
to cf2494555eb395aae1280684c52321d90d82d7cf
- Merge "replace validate_legacy"
- replace validate_legacy
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I920294342c9c2c0567796f345cbfa9e39bb1f1d3