* Update puppet-ceph from branch 'master'
to 97454d05a190a6f835fe8800457b34edeba5f3a2
- Merge "Switch from yoga to zed"
- Switch from yoga to zed
... because yoga branch is no longer maintained.
Change-Id: I8484c0bd00dabfe2e84e44c39bf49b5db357da54
* Update puppet-ceph from branch 'master'
to 74eb84546daa52cc7a141d35f92a22a797709b77
- Prepare new release
We are creating a new release of puppet-ceph, which is the final one
tested with yoga and older branches.
Change-Id: Id5c7f9a4ebae477be05043c0bbce03fa48e036e0
* Update puppet-ceph from branch 'master'
to 6afa103dad3042f68f1901d5535c198e6e88ecc9
- Fix broken links
... and replace google group by our dev mailing list.
Change-Id: I7c97ad0939a79c208e83b7066ea3cb75ccf93d3e
* Update puppet-ceph from branch 'master'
to 56a58ad3bd37d605677dfcba07807cd7d8a8df7e
- Deprecate file_path property
When customizing this property, purging and prefetch does not work.
It seems the property was added mainly for testing, thus is not very
much indented for production use case.
This also drops the logic for windows which has never been supported.
Change-Id: I2856b87e4cb3f56646b12e2bba98179ccf6e1089
* Update puppet-ceph from branch 'master'
to db8e683898b768169a6b5c1bb30be0de7b1e6e37
- Get rid of script workaround for single command calls
... to simplify the command called by the exec resources.
Change-Id: Ib7942c0795532bfe4448225fe64767dcebf1a537
* Update puppet-ceph from branch 'master'
to 67888b7f3c7febb34aad03c05b15e55f0eebf214
- Merge "Use common resource to manage keystone resources"
- Use common resource to manage keystone resources
The puppet-keystone module provides the common defined resource type to
manage all resources needed to integrate a service to keystone. This
replaces the existing bare implementation by the common resource.
Change-Id: Ibec4407b2816869d62478de0ea5a780a70c08ffb
* Update puppet-ceph from branch 'master'
to c9e7edcbed7811a59daff66dc6f889ece76b32c1
- Merge "Ensure appropriate value type for exec timeout"
- Ensure appropriate value type for exec timeout
The exec timeout should be a float value. This adds parameter types
so that only the expected value type is accepted.
Change-Id: I2ae7439599b056b56f3bb634cabcc2813700691a
* Update puppet-ceph from branch 'master'
to 3f35034a3d4b7a9e49bb08e0eb862e308d7a651a
- Merge "Refactor ceph::key"
- Refactor ceph::key
This change refactors the ceph::key defined resource type so that
unnecessary spaces are removed from commands.
Change-Id: I2cdd9b3c9bac086a57cda67430eba0f0826744b3
* Update puppet-ceph from branch 'master'
to 2bbb88eeee681b406b406241f25814db5334e8e0
- Remove deprecated rgw_service
... which was deprecated in 5.0.0 [1].
[1] f5c1cf3ad5760d55cdefe38011ae7785d3c054fa
Related-Bug: #2029009
Change-Id: I1d75dce1f4a74c19210f9e5de673d76bdfecd1e5
* Update puppet-ceph from branch 'master'
to 4f59b7e977388f0ba87f14488469f9d030d7f762
- Merge "Declare Debian 12(Bookworm) support"
- Declare Debian 12(Bookworm) support
Debian 12 was relased in June 2023 and recent versions of OpenStack
(such as 2023.1 and 2023.2) no longer support Debian 11.
Change-Id: I1d269ad3ac1da766c49b0baec61a79b76383878a
* Update puppet-ceph from branch 'master'
to 64540d1636bb47594871dedc68a15d05fb35c4c9
- Bump upper-version of puppetlabs-concat
... according to the version currently used in CI (v9.0.0).
Change-Id: Icacc3f0354c467b5281fdc4e7812eb0d36a868f9
* Update puppet-ceph from branch 'master'
to e73693447caaa4b264a6d003a51198828c919ee9
- 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='...
```
[1] 316d95923c
Change-Id: I4b91658648c8cef2176264e995366e1ff73ce00b
* Update puppet-ceph from branch 'master'
to f13b21811a053c6f077b3ff78551b3038d612593
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI.
Change-Id: Ia7229e934cb33d2b224edccea9c1752725690281
* Update puppet-ceph from branch 'master'
to f2b3516b7fce5a2805192639a05759c1ec6e1c30
- Merge "RGW: Add warning about civetweb and fastcgi"
- RGW: Add warning about civetweb and fastcgi
These frontneds have been removed in quincy release[1].
[1] 1627d6c76a
Change-Id: Ib6d2055beee21e3dbc56a8f577437ebc7ca986bd
* Update puppet-ceph from branch 'master'
to 220cc45ed7e75b0e2d01456f9e398f005d4c10aa
- Merge "Remove support for Puppet 5 and Ubuntu 18.04"
- Remove support for Puppet 5 and Ubuntu 18.04
We removed support for these during wallaby cycle. Because we are now
transitioning victoria and older branches to EOL, we no longer have to
support these old versions now.
Change-Id: I7574de03ada51b375195f025c7fee6c73e163655
* Update puppet-ceph from branch 'master'
to 366f6bea71c3ddc955f7ce3a6c5a4ee0f01fe379
- Merge "Remove support of Debian 9"
- Remove support of Debian 9
Debian 9 support was removed when we bumped the supported version to
10 during victoria cycle. Because we are transitioning stable/ussuri
to EOL, we no longer have to support that old version.
Change-Id: Ie535f1eba454ed804d7e8195eed5dfe64743cf01
* Update puppet-ceph from branch 'master'
to 8a867a1fd5bccb4838f207900ed769ac14589967
- Merge "Remove support for CentOS 8 (non-stream)"
- Remove support for CentOS 8 (non-stream)
CentOS 8 reached its EOL a while ago. Because we already removed
support for CentOS 7, we no longer support any non-stream CentOS
versions.
This deprecates the stream parameter and makes the stream repository
used always.
Change-Id: Iba3c8aea2f6dd8b9cca17ed1468a43d6c7d39b53
* Update puppet-ceph from branch 'master'
to 6af132eabf35f4ae987cbca0185a4782266c31c7
- Merge "rgw: Use native class to enable mod-proxy_fcgi"
- rgw: Use native class to enable mod-proxy_fcgi
puppetlabs-apache provides the native class since 1.9.0[1].
[1] 71cb7302f2
Change-Id: I73474920b854034c2475df3d583f8fb8d8a5d538
* Update puppet-ceph from branch 'master'
to 5ebde1e6b1c96de776ebc744312246e625803350
- Remove CentOS/RHEL 7 support
The train release was the last release with CentOS 7 support, but it is
now being transitioned to EOL.
This change removes support for CentOS 7 and RHEL 7 because we no
longer support any OpenStack release supporting these old operating
systems.
Because fastcgi package was available for only CentOS/RHEL 7, its
support is also removed by this change.
This also removes the wrong warning message for rgw deployment with
mod_proxy_fcgi. This pattern is still valid in supported operating
systems and only the one with mod_fastcgi should be deprecated or
removed.
Change-Id: I1238b23f1aee57641788a21556123bec94a1ed1b
* Update puppet-ceph from branch 'master'
to 30f9f59fe566292fb3a2322481824a368620edbe
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: I79f22fbe7144b380288ae9c14d8b11da471dc832
* Update puppet-ceph from branch 'master'
to 070a90c6e7b7e57679815547dd4746a2e733bf4a
- Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: I7e46138981ff8044bc8032dd8dd70d4e30751932
* Update puppet-ceph from branch 'master'
to 37906002e6a91fb1e74cb0e05c8426d09eb00a00
- Merge "Add support for rgw_keystone_accepted_admin_roles"
- Add support for rgw_keystone_accepted_admin_roles
This introduces support for the rgw_keystone_accepted_admin_roles
option of RADOS Gateway Keystone integration.
Change-Id: I74778f12110683abf5c38e98bb72a0d89e8db2c6
* Update puppet-ceph from branch 'master'
to 76de1ad356a45f824e178e364c3443ed3cbab9b3
- Merge "Do not use params to define parameter defaults of defined types"
- Do not use params to define parameter defaults of defined types
... because that causes undefined variables error in case the params
class is not included in advance.
Change-Id: Ibc74d5433645e06eb9f1d0d736bcc41c9c5f3d4e
* Update puppet-ceph from branch 'master'
to a18fcf0ad89b73a01429ff32b3c035583a3d6953
- Merge "Deprecate support for mod_fastcgi"
- Deprecate support for mod_fastcgi
mod_fastcgi package is not provided for recent operating system
versions. This adds the warning messages to make users aware of that
fact.
The parameter will be removed once we remove the remaining support for
CentOS 7.
Change-Id: I683f68457f568712afb25e7c208e4fc3e737aa03
* Update puppet-ceph from branch 'master'
to b8ff67bdb01363409a51e98252be4e6888dce5d6
- Add recent operating system versions to supported versions
... to enable unit tests with these versions.
Change-Id: I8864f8b8b1152199e563d23420b7b5bbcb8a7077
* Update puppet-ceph from branch 'master'
to 6ee452ae019309c507ed0870a321dc91009284cf
- Prepare new puppet-ceph release
We have merged several bug fixes, new features and clean ups since
the last release. Let's create a new release so that these can be
consumed via distribution packages.
Change-Id: I20fb6ddfc7936866303dc63ee998d763bdde4882
* Update puppet-ceph from branch 'master'
to c593d086cd519842d23f8f0deb42049042b1d5e8
- Merge "rgw profile: Support keystone integration"
- rgw profile: Support keystone integration
This introduces a few new parameters to the profile class so that users
can enable keystone integration of RADOS Gateway.
This allows us to fix some ignored profile parameters, and also remove
the references from the non-profile manifest to the profile parameters.
The rgw_keystone_version parameter is removed by this change.
The actual parameter was deprecated[1] and was removed[2] from the rgw
class very long ago.
[1] 85b9d61c40430de32d311cea201a2a33ec91a6b8
[2] 0377da4e088ab88b97af1143191be8da39e1623b
Change-Id: I4026d3c2d40ae9b7ed9c3a60529011854b878f89
* Update puppet-ceph from branch 'master'
to 8f1d3375390d41ebcfda0159cb364ba55557d318
- Merge "Remove `Member` role"
- Remove `Member` role
In OpenStack deployment we more commonly use `member` than `Member`.
Also the `member` role is now implied by the `admin` role.
This removes the Member role to get rid of the unused role and follow
the standard roles.
Change-Id: I64175a3d485358af9a012060826dcedbe24b1042
* Update puppet-ceph from branch 'master'
to 2636b72209ed35d912c6f8729fda5bcb2aaa0fda
- Merge "Fix ineffective rgw_service parameter"
- Fix ineffective rgw_service parameter
... and introduces a few new parameters to customize keystone service,
so that we can replace it by the generic interfaces.
Closes-Bug: #2029009
Change-Id: Ia91560a0948257c7a7801aaca9f43bfde2a573fb
* Update puppet-ceph from branch 'master'
to f4f2d75d62563488763a7930bd456205ddeb1955
- Merge "Fix ignored ceph::rgw::rgw_data"
- Fix ignored ceph::rgw::rgw_data
This parameter was used for directory creation but has never been
added to the config file properly. This ensures the rgw_data option is
set so that the specified directory is used to store data.
Change-Id: I2cf5510e21de2879e1f0aa458a98e70b85e4ac0f
* Update puppet-ceph from branch 'master'
to 2c2009777414172159396e759d1dbfdaca5befc7
- Merge "Stop creating /var/lib/ceph/radosgw"
- Stop creating /var/lib/ceph/radosgw
The rpm spec was updated in v9.0.2 (Infernalis release)[1] and
the directory is created by the package.
Because currently we support only Luminous (which is the oldest version
used with stable/train) we no longer need to maintain the workaround
for very old package versions.
[1] bf93128f66
Change-Id: Idd085c566cdc06a117227e67a728af7e5c2abd5e
* Update puppet-ceph from branch 'master'
to d716b57bfab5170e2d992f8a071764dba75c2bba
- Merge "Remove deprecated ceph::set_osd_params"
- Remove deprecated ceph::set_osd_params
It was added as a deprecated parameter a long ago.
Change-Id: I29ef2981c69e24429014026a051fe8aff266efc7
* Update puppet-ceph from branch 'master'
to aa95eefdd2f5f32a59389fc8d22b3f7384994639
- Merge "Ensure absolute path for file creation"
- Ensure absolute path for file creation
There are a few parameters used as a file path when creating files.
These should be absolute path, otherwise file resources fail.
This adds validation at parameter layer to avoid exposing internal
errors.
Change-Id: I348838c5ca736056dac00c2a0b1ab5063d4d9289
* Update puppet-ceph from branch 'master'
to 68ece8d8f4d0ebb41dd46cdf5f2876055cd72dc0
- Merge "Use https for CentOS Stream 9 mirror"
- Use https for CentOS Stream 9 mirror
The mirror server for CentOS Stream 9 supports https and access using
http is redirected to https.
Change-Id: I1ada67c7d960b3aed121296e367eaf2a3264ecd4
* Update puppet-ceph from branch 'master'
to f5bd05d31e77a0bf316c9064e6b6698309c5d2fb
- Merge "Stop creating /var/lib/ceph/mgr"
- Stop creating /var/lib/ceph/mgr
This directory is created by the ceph-mgr package.
Change-Id: Ib857cecf258c350ae74152eb45f301a1c41f13c3
* Update puppet-ceph from branch 'master'
to 515b3de05d9ba2c79796e909c105ba7285386972
- Merge "Validate input of ceph::conf"
- Validate input of ceph::conf
This introduces the basic validation of ceph::conf class parameters.
Change-Id: Icd3e7d75698d380c663c58b5f360c73911497f02
* Update puppet-ceph from branch 'master'
to e04480e1f266b5690e94abca02f60ceff8c12392
- Merge "Fix unknown variable errors caused by ceph::profile::fsid"
- Fix unknown variable errors caused by ceph::profile::fsid
Thsi fixes the unknown variable errors caused by usage of
ceph::profile::fsid. The definition in ceph::profile should NOT be used
by generic implementation outside of profile modules.
Change-Id: I3bdb153f917838e309288b80a18af4a494d13a4d
* Update puppet-ceph from branch 'master'
to ee90ea876469d6f3d0888c096432e5ff6645a9d1
- Merge "Ensure public_addr option is purged"
- Ensure public_addr option is purged
... instead of leaving the option.
Change-Id: I7e4e2403570cff622d81804c13edf03548a0de18
* Update puppet-ceph from branch 'master'
to 81e34af8bbeac120f4c4be0ac84446a44142f797
- Merge "repo: Fix undefined $el"
- repo: Fix undefined $el
This fixes the undefined $el variable when epel is enabled but sig
repository is used.
Change-Id: Ib7f0954413d2a5727e5eaf457da544c48a14ff6b
* Update puppet-ceph from branch 'master'
to 50f777cbff4fcd2bece278045e31e373fb3e6389
- Fix undefined variables caused by exec_timeout
This fixes the following error found in Puppet 8 unit tests.
Evaluation Error: Error while evaluating a Resource Statement,
Evaluation Error: Unknown variable: 'ceph::params::exec_timeout'.
Change-Id: I0030baf97f831384d5dad46dbaeb1ee5169cfe21
* Update puppet-ceph from branch 'master'
to 843fa12939db665512a8d5ce667907dc47049a84
- Validate authentication_type
Currently we expect only 'cephx' or 'none' as authentication_type. This
enforces that limitation using parameter types..
Change-Id: I9d783e500f94b3f474d657ab10b1594ab6e6e65b
* Update puppet-ceph from branch 'master'
to c55e22b8a339b8d27a3755f576740cb1a1ea8b99
- Ensure valid value for store_type
The store_type parameter accepts only one of filestore or bluestore.
This ensures the given value is supported.
Note that filestore will be no longer supported by the next major
release(R), but is kept now because we still have to support old
releases used with stable branches.
Change-Id: I2be3b97677afd0baac189ddc8b880b6166610fa4
* Update puppet-ceph from branch 'master'
to 83c19702c23c575e4b4238af7e756df3d3c3c76f
- Validate ensure parameter using the typed parameters
... instead of validating the value as part of manifest logics.
Change-Id: Id46cf10ca4321d2f757e5a1171c1e2900ccbc2e2
* Update puppet-ceph from branch 'master'
to 2eec134ed1b549cc2963cc83414e0e8beedc44f9
- Fix missing ceph::params
The ceph::key defined resource type has reference to the ceph::params
class so that class should be included.
Change-Id: Id2338a7ff434c78912b5a3de70658ffa001cca65
* Update puppet-ceph from branch 'master'
to 8bc67e20e7e1b95b1264b9fa772a26b470e7bd70
- Partially fix undefined variables
This is the first step to get rid of the errors found in unit tests
with Puppet 8, and fixes some undefined variables found in ceph::osd.
This also fixes a few redundant spaces appearing in commands.
Change-Id: I52b26701e77af44e8fb80106a6d1b6dbd34f133d
* Update puppet-ceph from branch 'master'
to f09989828a82d2966f70a31b1ef15622e1775b78
- Remove deprecated ceph::rgw::syslog
This parameter was deprecated more than 5 years ago[1].
[1] 02e1a6361d9322844312b49740d0fbc962620a11
Change-Id: I0ea6f75e318f0b595ddcbdf6a266da3b38ca2b94
* Update puppet-ceph from branch 'master'
to 35c117351823dcd4935e19a2e2a8c9c72fb8553c
- Merge "Stop including the stdlib class"
- Stop including the stdlib class
... because it is not required to implement any functionality.
Change-Id: I25b9bc3900e959474437ee64c6ae11e6db470d7e
* Update puppet-ceph from branch 'master'
to d31504cd0bed350c2bef7bf30ef83dd1baeb9bd7
- Validate boolean values
This ensures boolean values are used for parameters which are used by
if-else logic, to avoid unexpected behavior caused by non-boolean
values such as 'false'.
Change-Id: I3c6e03464ef2add6c965e2202fd72568b8b9deda
* Update puppet-ceph from branch 'master'
to 4dbd23f635f6c345c3f9734d24f0a5fd2e7828c1
- ceph::repo : Ensure boolean values
This ensures some parameters used for if-else logic take only boolean
values to avoid unexpected behavior caused by non-boolean value (eg.
'false'). This also makes sure that the release parameter takes a valid
string because it is used to construct the urls.
Change-Id: I49160cff2d35e8f2223431a7d3cd91b652252b9c