Commit Graph

692 Commits

Author SHA1 Message Date
Takashi Kajinami 74eb84546d 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
2024-02-09 13:49:12 +00:00
Takashi Kajinami 6afa103dad Fix broken links
... and replace google group by our dev mailing list.

Change-Id: I7c97ad0939a79c208e83b7066ea3cb75ccf93d3e
2024-02-02 02:10:27 +09:00
Takashi Kajinami 56a58ad3bd 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
2024-01-19 10:49:21 +09:00
Takashi Kajinami db8e683898 Get rid of script workaround for single command calls
... to simplify the command called by the exec resources.

Change-Id: Ib7942c0795532bfe4448225fe64767dcebf1a537
2024-01-09 21:24:32 +09:00
Zuul 67888b7f3c Merge "Use common resource to manage keystone resources" 2024-01-09 12:10:31 +00:00
Zuul c9e7edcbed Merge "Ensure appropriate value type for exec timeout" 2024-01-09 05:41:07 +00:00
Zuul 3f35034a3d Merge "Refactor ceph::key" 2024-01-09 05:41:06 +00:00
Takashi Kajinami c23e50763a 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
2024-01-03 23:14:10 +09:00
Takashi Kajinami 49c02173aa Refactor ceph::key
This change refactors the ceph::key defined resource type so that
unnecessary spaces are removed from commands.

Change-Id: I2cdd9b3c9bac086a57cda67430eba0f0826744b3
2024-01-03 17:23:06 +09:00
Takashi Kajinami 35f0f3630a ceph::osd: Replace redundant handling of cluster default
Change-Id: I865db9f5975fb32a567f5deb016f75cc7c10c8b1
2024-01-03 17:15:56 +09:00
Takashi Kajinami 21555c537f 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
2024-01-02 21:22:23 +09:00
Takashi Kajinami 2bbb88eeee Remove deprecated rgw_service
... which was deprecated in 5.0.0 [1].

[1] f5c1cf3ad5

Related-Bug: #2029009
Change-Id: I1d75dce1f4a74c19210f9e5de673d76bdfecd1e5
2024-01-02 17:55:01 +09:00
Zuul 4f59b7e977 Merge "Declare Debian 12(Bookworm) support" 2023-11-20 17:25:50 +00:00
Takashi Kajinami 393e134cd7 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
2023-11-18 18:28:06 +09:00
Takashi Kajinami 64540d1636 Bump upper-version of puppetlabs-concat
... according to the version currently used in CI (v9.0.0).

Change-Id: Icacc3f0354c467b5281fdc4e7812eb0d36a868f9
2023-11-16 16:37:20 +09:00
Takashi Kajinami e73693447c 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
2023-10-11 12:16:33 +09:00
Takashi Kajinami f13b21811a Bump upper version of stdlib
... because we are currently using v9.0.0 in CI.

Change-Id: Ia7229e934cb33d2b224edccea9c1752725690281
2023-10-03 13:35:07 +09:00
Zuul f2b3516b7f Merge "RGW: Add warning about civetweb and fastcgi" 2023-09-11 03:38:23 +00:00
Zuul 220cc45ed7 Merge "Remove support for Puppet 5 and Ubuntu 18.04" 2023-09-11 02:30:17 +00:00
Zuul 366f6bea71 Merge "Remove support of Debian 9" 2023-09-11 02:30:16 +00:00
Zuul 8a867a1fd5 Merge "Remove support for CentOS 8 (non-stream)" 2023-09-11 02:30:14 +00:00
Zuul 6af132eabf Merge "rgw: Use native class to enable mod-proxy_fcgi" 2023-09-08 18:01:43 +00:00
Takashi Kajinami 4380fa4f14 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
2023-09-08 09:40:10 +09:00
Takashi Kajinami 6bfff36f36 RGW: Add warning about civetweb and fastcgi
These frontneds have been removed in quincy release[1].

[1] 1627d6c76a

Change-Id: Ib6d2055beee21e3dbc56a8f577437ebc7ca986bd
2023-09-07 02:23:15 +09:00
Takashi Kajinami a3283bf79f 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
2023-09-06 17:20:22 +00:00
Takashi Kajinami 5f51eebb2e 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
2023-09-06 17:20:13 +00:00
Takashi Kajinami faa38d57aa 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
2023-09-06 17:20:07 +00:00
Takashi Kajinami 5ebde1e6b1 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
2023-09-07 02:19:44 +09:00
Takashi Kajinami 30f9f59fe5 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I79f22fbe7144b380288ae9c14d8b11da471dc832
2023-08-11 17:48:16 +09:00
Takashi Kajinami 070a90c6e7 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
2023-08-11 00:41:53 +09:00
Zuul 37906002e6 Merge "Add support for rgw_keystone_accepted_admin_roles" 2023-08-08 04:52:42 +00:00
Zuul 76de1ad356 Merge "Do not use params to define parameter defaults of defined types" 2023-08-07 16:26:31 +00:00
Zuul a18fcf0ad8 Merge "Deprecate support for mod_fastcgi" 2023-08-07 16:26:29 +00:00
Takashi Kajinami 32a78b5aef 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
2023-08-07 16:24:08 +09:00
Takashi Kajinami fcf7a4be4c 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
2023-08-07 11:42:56 +09:00
Takashi Kajinami b72c1ec57f 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
2023-08-07 11:38:49 +09:00
Takashi Kajinami b8ff67bdb0 Add recent operating system versions to supported versions
... to enable unit tests with these versions.

Change-Id: I8864f8b8b1152199e563d23420b7b5bbcb8a7077
2023-08-07 10:34:26 +09:00
Takashi Kajinami 6ee452ae01 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
2023-08-04 02:16:29 +09:00
Zuul c593d086cd Merge "rgw profile: Support keystone integration" 2023-07-31 15:38:07 +00:00
Zuul 8f1d337539 Merge "Remove `Member` role" 2023-07-31 15:28:45 +00:00
Zuul 2636b72209 Merge "Fix ineffective rgw_service parameter" 2023-07-31 15:19:21 +00:00
Takashi Kajinami e970858120 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] 85b9d61c40
[2] 0377da4e08

Change-Id: I4026d3c2d40ae9b7ed9c3a60529011854b878f89
2023-07-31 10:54:07 +09:00
Takashi Kajinami b3a8ac1f0a 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
2023-07-30 01:52:39 +09:00
Takashi Kajinami f5c1cf3ad5 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
2023-07-30 01:52:16 +09:00
Zuul f4f2d75d62 Merge "Fix ignored ceph::rgw::rgw_data" 2023-07-28 05:23:13 +00:00
Zuul 2c20097774 Merge "Stop creating /var/lib/ceph/radosgw" 2023-07-28 05:23:12 +00:00
Zuul d716b57bfa Merge "Remove deprecated ceph::set_osd_params" 2023-07-28 04:55:59 +00:00
Zuul aa95eefdd2 Merge "Ensure absolute path for file creation" 2023-07-27 17:16:28 +00:00
Zuul 68ece8d8f4 Merge "Use https for CentOS Stream 9 mirror" 2023-07-27 10:52:40 +00:00
Zuul f5bd05d31e Merge "Stop creating /var/lib/ceph/mgr" 2023-07-27 10:47:56 +00:00