We joyfully announce the release of: puppet-swift 17.1.0: Puppet module for OpenStack Swift This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/puppet-swift Download the package from: https://tarballs.openstack.org/puppet-swift/ Please report issues through: https://bugs.launchpad.net/puppet-swift/+bugs For more details, please see below. 17.1.0 ^^^^^^ New Features ************ * Support to configure memcache.conf file. * Add swift::proxy::domain_remap class to configure domain_remap middleware for swift proxy. * Add swift::proxy::etag_quoter to configure etag_quoter middleware for swift proxy. * Add swift::proxy::symlink class to configure symlink middleware for swift proxy. * Add rsync max_connections config and add rsync_use_xinetd parameter to support to not use xinetd for rsync * For s3token class, add more parameters: reseller_prefix, delay_auth_decision, http_timeout, secret_cache_duration, and keystone credential parameters used for secret caching: auth_uri, auth_type, username, password, project_name, project_domain_id, user_domain_id * A new parameter client_timeout has been added to the storage::server class (useful only if type=object). It is similar to the client_timeout parameter used in the proxy class, except that it is for object. * The nobarrier XFS mount option is removed from kernel 4.19.0 and beyond. It has no effect on kernel 4.10.0. Therefore, it is now removed from the default mount options. Also, puppet-swift now adds the nofail option, so that a swift store node finishes to boot even if an HDD mount is failed. Upgrade Notes ************* * puppet-swift now fails if swift3 is included in "swift::proxy::pipeline", because it no longer supports configuration for swift3 middleware. Use s3api instead to provide S3-compatible API. Deprecation Notes ***************** * The following password parameters currently use the default value when the parameters are not set in manifests, but this behavior has been deprecated. Please set actual password explicitly to avoid failure before the default values are removed. * swift::keymaster::password * swift::keystone::auth::password * swift::proxy::authtoken::password * swift::proxy::ceilometer::password * swift::proxy::s3token::password * The "swift::proxy::authtoken::signing_dir" parameter has been deprecated and has no effect now. * The "swift::proxy::swift3" class has been deprecated because swift3 middleware is no longer maintained. Use "swift::proxy::s3api" instead to use built-in s3api middleware in swift. * The following deprecated parameters were removed fron "swift::proxy::authtoken" class. * "identity_uri" * "admin_user" * "admin_tenant_name" * "admin_password" * "auth_uri" * The "swift::proxy::keystone::is_admin" parameter was removed. * The "swift::client_package_ensure" parameter was removed. Changes in puppet-swift 16.3.0..17.1.0 -------------------------------------- fc5d377 Prepare Victoria M1 424b861 Deprecate the remaining option for Keystone PKI token 91a9151 Switch to newer openstackdocstheme and reno versions 60863cf Update Puppet requirement to >= 6.0.0 ff9608a Support to configure rsync max_connections and not use xinetd for rsync fa2b39d Add client_timeout parameter for object-server.conf 3c3a121 Fix disk mount options c17ce7a Bump version for the start of Victoria 930c178 Bump compatibility versions 2df992f Deprecate the default values for password parameters de443f2 Passwords should be secret e98f4bd Bump reno to 2.5.0 27f46ad [ussuri][goal] Add CONTRIBUTING.rst 7f5b8f4 Add CentOS8 to nodesets 26c8746 Fix incorrect comments about updating region/zone of a device 96d3d34 Accept integer for port numbers 115be33 Use anchor to require necessary packages 3d036d6 Add more parameters for s3token middleware 56b7602 Cleanup deprecated parameters 345cd2a Runs on Debian 10. f24fd8c Deprecate support for swift3 middlware 3d054a0 Bump openstackdocstheme to 1.30.0 53fa2e7 Change rpsec to rspec a74a03c Update master for stable/ussuri 773cffb Add domain_remap middleware support 816f722 Add missing openstacklib to dependencies 38ebeea Add etag_quoter middleware support 0a6ac4a Support to configure memcache.conf 05ccc85 Add symlink middleware support Diffstat (except docs and test files) ------------------------------------- CONTRIBUTING.rst | 19 ++++ README.md | 2 +- examples/site.pp | 4 +- .../provider/swift_memcache_config/ini_setting.rb | 10 ++ lib/puppet/provider/swift_ring_builder.rb | 5 +- lib/puppet/type/swift_account_config.rb | 4 +- lib/puppet/type/swift_bench_config.rb | 4 +- lib/puppet/type/swift_config.rb | 4 +- lib/puppet/type/swift_container_config.rb | 4 +- .../type/swift_container_reconciler_config.rb | 8 +- .../type/swift_container_sync_realms_config.rb | 4 +- lib/puppet/type/swift_dispersion_config.rb | 4 +- lib/puppet/type/swift_keymaster_config.rb | 4 +- lib/puppet/type/swift_memcache_config.rb | 53 +++++++++++ lib/puppet/type/swift_object_config.rb | 4 +- lib/puppet/type/swift_object_expirer_config.rb | 8 +- lib/puppet/type/swift_proxy_config.rb | 4 +- manifests/init.pp | 12 --- manifests/keymaster.pp | 24 +++-- manifests/keystone/auth.pp | 12 ++- manifests/memcache.pp | 92 ++++++++++++++++++ manifests/params.pp | 8 -- manifests/proxy.pp | 6 ++ manifests/proxy/authtoken.pp | 91 ++++-------------- manifests/proxy/ceilometer.pp | 12 ++- manifests/proxy/domain_remap.pp | 104 +++++++++++++++++++++ manifests/proxy/etag_quoter.pp | 34 +++++++ manifests/proxy/keystone.pp | 10 -- manifests/proxy/s3token.pp | 99 ++++++++++++++++++-- manifests/proxy/swift3.pp | 18 +--- manifests/proxy/symlink.pp | 42 +++++++++ manifests/storage.pp | 9 +- manifests/storage/all.pp | 33 ++++--- manifests/storage/mount.pp | 4 +- manifests/storage/server.pp | 6 ++ metadata.json | 16 ++-- .../add-swift-memcache-conf-f119f4e1027bcdda.yaml | 4 + ...-swift-proxy-domain_remap-d3b316fb6e964716.yaml | 4 + ...d-swift-proxy-etag_quoter-2a55ef5b7e0ac029.yaml | 5 + .../add-swift-proxy-symlink-4864e7c1755567d4.yaml | 4 + ...inetd_and_max_connections-48c6b86b1bfed6f8.yaml | 5 + .../notes/add_s3token_params-89215880c6e2507a.yaml | 6 ++ .../notes/client-timeout-c110deab64aa1944.yaml | 6 ++ ...ult-mount-options-changed-23d7969ef826f8be.yaml | 8 ++ ...eprecate-default-password-4458163e3580d6fb.yaml | 13 +++ ...precate-keystone-pki-opts-c5e390dfbbf6f4d8.yaml | 5 + .../notes/deprecate-swift3-ccc754b60e6ab25d.yaml | 11 +++ ...eprecated-params-victoria-8783e8274f9c12a7.yaml | 17 ++++ releasenotes/source/conf.py | 8 +- releasenotes/source/index.rst | 1 + releasenotes/source/ussuri.rst | 6 ++ spec/acceptance/basic_swift_spec.rb | 2 +- spec/acceptance/nodesets/nodepool-centos8.yml | 10 ++ spec/classes/swift_keymaster.rb | 2 +- spec/classes/swift_memcache_spec.rb | 76 +++++++++++++++ spec/classes/swift_proxy_authtoken_spec.rb | 49 ++-------- spec/classes/swift_proxy_ceilometer_spec.rb | 5 +- spec/classes/swift_proxy_domain_remap_spec.rb | 59 ++++++++++++ spec/classes/swift_proxy_etag_quoter_spec.rb | 34 +++++++ spec/classes/swift_proxy_s3token_spec.rb | 37 +++++++- spec/classes/swift_proxy_spec.rb | 12 +++ spec/classes/swift_proxy_swift3_spec.rb | 19 ---- spec/classes/swift_proxy_symlink_spec.rb | 33 +++++++ spec/classes/swift_storage_all_spec.rb | 49 +++++----- spec/classes/swift_storage_spec.rb | 16 ++++ spec/defines/swift_storage_mount_spec.rb | 4 +- spec/defines/swift_storage_server_spec.rb | 8 ++ spec/unit/type/swift_account_config_spec.rb | 6 +- spec/unit/type/swift_bench_config_spec.rb | 6 +- spec/unit/type/swift_config_spec.rb | 6 +- spec/unit/type/swift_container_config_spec.rb | 6 +- .../type/swift_container_sync_realms_config.rb | 6 +- spec/unit/type/swift_dispersion_config_spec.rb | 6 +- spec/unit/type/swift_keymaster_config_spec.rb | 6 +- spec/unit/type/swift_object_config_spec.rb | 6 +- spec/unit/type/swift_object_expirer_config_spec.rb | 40 ++------ spec/unit/type/swift_proxy_config_spec.rb | 6 +- templates/object-server.conf.erb | 1 + 79 files changed, 1047 insertions(+), 349 deletions(-)