Commit Graph

430 Commits

Author SHA1 Message Date
OpenStack Release Bot 884ba7a676 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ib72abf66611037784c073491d8b6591bf10dcb77
2024-02-21 16:49:03 +00:00
Tobias Urdin 60c340f68d Dont crash when rexml is not installed
We might be running unit tests and this Ruby library not
being available we will crash when puppet tries to autoload
this provider.

Change-Id: I199a498071cac7d0660b0ea573d38dc27c4c1358
2024-02-02 08:50:59 +01:00
Zuul b168268b35 Merge "Remove unmaintained version-release mapping" 2024-01-02 15:35:51 +00:00
Takashi Kajinami 5c7441ab13 Remove unmaintained version-release mapping
The general mapping is now described in the doc[1].

[1] https://docs.openstack.org/puppet-openstack-guide/latest/install/releases.html

Change-Id: I0a01da92622fff433ae7d09683b6f5a66ea3e00b
2023-12-25 16:53:20 +09:00
Takashi Kajinami aa3805bb5e CentOS/RHEL: Deprecate EPEL repository setup
EPEL is not required to use RDO. Users can use a different module such
as puppet-epel[1] if they really need EPEL for any other purpose.

[1] https://github.com/voxpupuli/puppet-epel

Change-Id: I9743e2711f64cff8c0636c1556cb1e943413fdad
2023-12-10 15:56:00 +00:00
Takashi Kajinami 510fa59002 Fix unit tests broken since Debian version bump
Now Bookworm is supported instead of Bullseye.

The hard-coded name is replaced by a fact value so that we don't have
to update the value every time when we update the supported version.

Change-Id: Ide9e4a9531f7aab2746722dbf9bc76fdf26345c7
2023-12-11 00:08:12 +09:00
Takashi Kajinami 65ce98e870 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: I6ac3b1765793611fb3a8214f7af2141282ecaed5
2023-11-18 18:17:47 +09:00
Zuul 81d4ce316c Merge "Remove params classes" 2023-10-18 19:42:53 +00:00
Takashi Kajinami 86cd3d89f0 Remove params classes
Usage of params classes is legacy and is rejected by recent lint rules.
Because we implement multiple repos classes for individual os family
and name, the params classese are not really useful, and can be
removed.

Change-Id: Ic80b17e2e374c7ddb651324c89318a5f128fe052
2023-10-18 22:48:03 +09:00
OpenStack Release Bot 4a8186bb20 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: Ief25201a0e626ae17398c3767109bc2dfc28dfda
2023-10-16 15:18:53 +00:00
Takashi Kajinami 59af76ca34 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: Id94f7feeec26e3efdc8e5463deaa52ee44b7d07f
2023-10-11 12:06:41 +09:00
Zuul 52ff0246d5 Merge "Prepare 2023.2 release" 2023-10-03 18:30:52 +00:00
Takashi Kajinami 6a84dfb6d5 Prepare 2023.2 release
Change-Id: I39e3465dc4a8e17cee91058e08f482b45a2a5aa9
2023-10-03 16:49:58 +09:00
Takashi Kajinami 0c4ff9d531 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: Id676db9a04ad004b29ce464d9b7249e909d4b11c
2023-10-03 13:19:02 +09:00
Zuul 234f149694 Merge "Remove support for Puppet 6" 2023-08-14 04:01:36 +00:00
Zuul 2adaab958d Merge "Exclude release note files" 2023-08-11 09:16:03 +00:00
Takashi Kajinami a21959bf68 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: Ib186238daaa75da09de4c88386dcea650e08f7bc
2023-08-11 17:57:23 +09:00
Zuul fb417eb9ea Merge "Deprecate openstack_extras::pacemaker::service" 2023-08-10 17:34:44 +00:00
Takashi Kajinami 73251afab4 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: Idf873a50a9e26723d06dc26da13ef9702253659e
2023-08-11 00:49:36 +09:00
Takashi Kajinami 5d06f6c5f4 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Idce97a877fb6918c8995a74784763473ec627a16
2023-08-09 19:59:22 +09:00
Takashi Kajinami b7466e5829 Deprecate openstack_extras::pacemaker::service
The latest release of puppet-corosync does not yet support pcs 0.10.0,
which is now available in CentOS 8/9 or Ubuntu Focal/Jammy.

The unreleased change to adapt to pcs 0.10.0[1] made some breaking
interface change and our current implementation has not yet fully
adapt to it.

Because we haven't see any bug report or request to resolve this
situation, we can assume this implementation is not really used.
Furthermore we don't really have to use pacemaker for most of OpenStack
services, and we can use native resource agents such as systemd
resource agent instead of injecting own scripts.

Let's deprecate it so that we can remove it in a future release.

Change-Id: If90e21e41da40171a766c4740ef93d9c05ecd1c7
2023-08-09 07:28:41 +00:00
Takashi Kajinami 2cf190f3f5 Debian/Ubuntu: Add type validations to repo class
We haven't added any validations about these parameters but we
inexplicitly required specific types. This adds type validations to
avoid users from using wrong types.

Change-Id: I672fe9a99598ce40614bdab783f98c441ded7e62
2023-06-18 22:49:33 +00:00
Takashi Kajinami 3bc5c63c14 Replace validate_legacy by typed parameters
... because validate_legacy has been deprecated in puppetlabs-stdlib
10.0.0.

Change-Id: Ic06de257f7a957cca4e24c57a6503d981dc28040
2023-06-18 22:49:17 +00:00
Takashi Kajinami 0f4c670e3d Allow tuning timeout for package update
Sometimes package update takes very long. This introduces a parameter
to make the command timeout tunable.

Change-Id: Icf089b50f497f3200e55877894b555e1e84a2d64
2023-05-31 14:15:01 +09:00
Takashi Kajinami 8359663751 CentOS: Use dnf to install packages
dnf replaced yum and yum command is no longer available by default.

Change-Id: I91e97082864dfd4fb159e41b8719fc2c25ba9cb2
2023-05-25 12:02:13 +09:00
OpenStack Release Bot 04b78bbe35 Update master for stable/2023.1
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: I3f7982daeb45fe73efe1113831d16fa692b21cb4
2023-04-05 15:34:27 +00:00
Takashi Kajinami 04f0e74bec Prepare 2023.1 release
Change-Id: I0b1f63e3ea1254e36f5cdfc5b2f31b47ad882cc7
2023-03-23 21:42:53 +09:00
Takashi Kajinami 0265026fc8 Update release to antelope
This switches the default release to antelope as we are close to
create our antelope releases.

Change-Id: Idfc74b71c6255ec79508ed62a0df941655a74424
2023-03-23 21:42:36 +09:00
Takashi Kajinami 42f02f64fe Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I3eb492be8b2eba3261e7662f651681f6c63887c4
2023-03-01 15:44:05 +09:00
Takashi Kajinami 6f0628bf3f Stop purging advanced virt repository
The purge logic was added during Yoga cycle[1] and the repository
should be purged when a deployment is upgraded to CentOS9/yoga.

[1] b59c8bb986

Change-Id: I40d9e65520955708d1f75394d8cb6e33ce8ba9ea
2023-02-17 12:18:22 +09:00
Takashi Kajinami 16144d7c2a Replace mocha by rspec-mocks
puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]

This is the prep work to adapt to that migration.

[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with
[2] 493f0cbc1c

Closes-Bug: #2004135
Change-Id: Ibaad33d7113c9ea9da77786647da6f615980faff
2023-01-30 15:22:05 +09:00
Takashi Kajinami bb3d7c05e5 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I49b217a6f7fc1a323e288b880a1c9f532822bba6
2023-01-15 22:28:13 +09:00
Christian Rohmann f9add6fc03 Ubuntu/Debian: Switch to zed
Change-Id: Ib6e1d3e2293749a95e814720ec6db222a371e564
2023-01-04 13:25:50 +01:00
Zuul 1550df0eff Merge "CentOS: Remove deprecated parameters" 2022-11-28 06:35:30 +00:00
Zuul 95b173f2e6 Merge "CentOS: Switch default to zed release" 2022-11-25 15:18:17 +00:00
Takashi Kajinami 5a6ef41d19 CentOS: Switch default to zed release
Change-Id: I05326c3231cb1ca2186731afa249e1cbdf1184d9
2022-11-21 10:32:03 +09:00
Takashi Kajinami bdf0f42d52 CentOS: Remove deprecated parameters
These parameters were deprecated during the past cycles and have no
effect since support for CentOS 8 has been completely removed.

Change-Id: I46cf7b3ae2e2d0cc8521653a1eba5ddb20d7e0eb
2022-11-10 00:42:29 +09:00
ZhongShengping ecdbf61bb3 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Change-Id: I1a0f00c8dcfa5ba71f32b630878cd4a2c95f35f1
Depends-on: https://review.opendev.org/843503
2022-11-09 09:00:51 +08:00
OpenStack Release Bot d1aee36a8d Update master for stable/zed
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: I256bb9333ce5636c585a78587c069526a767e274
2022-10-20 11:09:37 +00:00
Takashi Kajinami 54dae59323 Prepare Zed RC1
Change-Id: I617611cccb03a1008275f7f23981f78db68b2edd
2022-10-05 13:07:42 +09:00
Zuul 1d9df317e0 Merge "Bump upper-version of puppet-corosync" 2022-09-07 17:56:08 +00:00
Takashi Kajinami fb8211c979 Bump upper-version of puppet-corosync
Currently we use puppet-corosync v8.0.0 in CI. This change bumps
the upper version to include that tested version.

Change-Id: Icc83bcb09b83b5e0c2afe109e84b44dc47ccf24d
2022-09-07 01:32:02 +09:00
Takashi Kajinami 23b2ad1dbc Bump upper version of puppetlabs-apt
... because now we have puppetlabs-apt 9.0.0 in CI.

Depends-on: https://review.opendev.org/853741
Change-Id: I4efc5a054290566f0f32947fcef7ed12d48d751f
2022-09-07 01:30:04 +09:00
Takashi Kajinami 19645041ce Bump upper version of puppetlabs-apt
Now we are using puppetlabs-apt v8.4.1 in our CI. Let's bump the upper
version so that the constraint include that tested version.

Change-Id: Idbc63ce76287da4a1eb843112f64a46874b82142
2022-07-30 23:13:13 +09:00
Zuul 1498d8123a Merge "Remove deprecated manage_priorities" 2022-07-20 14:21:18 +00:00
Zuul 9e8e5818e6 Merge "Remove logics for CentOS 8" 2022-07-20 14:21:16 +00:00
Zuul 126fc122b8 Merge "CentOS: Purge advanced-virt repository" 2022-07-20 14:05:49 +00:00
Takashi Kajinami e5b6421c2d Ubuntu/Debian: Switch to yoga
Change-Id: If5d114d663459ee44d9191d50a98c4e264e3309b
2022-06-29 00:21:09 +09:00
Zuul 6cc5d0dd21 Merge "Remove deprecated manage_whz" 2022-06-13 15:16:46 +00:00
Takashi Kajinami 73ae3a60ac Remove deprecated manage_priorities
... because it was deprecated during Xena cycle[1].

[1] edf439e71c

Change-Id: Ia680bdce8e548996f577e76dbf2823f2ddda5b25
2022-06-13 14:02:53 +00:00