* Update puppet-openstack_extras from branch 'master'
to 4ba4a193ce993afc23f131e499433068d5adac43
- Fix release name
We have to update the release name according to the latest release.
Change-Id: I343010aa628cd0df3183258b820b159d52d5e9af
* Update puppet-openstack_extras from branch 'master'
to 6d6887f2e5ed5e8d79e8a773c597b25059e3a31d
- 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: I882779a80635dc05bc24c488c2bbb598b48653b8
* Update puppet-openstack_extras from branch 'master'
to 9765c250922ea4a57a7f33d503cc110a864a4c67
- 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: I8ee4d0a70fa7aa02c7ac26f04b44cef273c862d9
* Update puppet-openstack_extras from branch 'master'
to 577d7e8f953b7294cc4a0092aa8ae6d5731d233f
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I46d6002c4bf7dfc4fcf5e9adef006d44e0125909
* Update puppet-openstack_extras from branch 'master'
to 884ba7a67656e4104f8ca325c8d944e038eca101
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Ib72abf66611037784c073491d8b6591bf10dcb77
* Update puppet-openstack_extras from branch 'master'
to 60c340f68da77c085fcec4ebf3954bedb22baaa8
- 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
* Update puppet-openstack_extras from branch 'master'
to b168268b351be9f5ef02b6f4edd85d9a25824c0c
- Merge "Remove unmaintained version-release mapping"
- 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
* Update puppet-openstack_extras from branch 'master'
to aa3805bb5e8e057d541f34344b912e8abba7718f
- 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
* Update puppet-openstack_extras from branch 'master'
to 510fa590025e55e86e49f0b642c0256034fec63d
- 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
* Update puppet-openstack_extras from branch 'master'
to 65ce98e870f3e92962a4578aefd83941510cd19e
- 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
* Update puppet-openstack_extras from branch 'master'
to 81d4ce316c56d172e646639e8a0d6346fb2c3a2d
- Merge "Remove params classes"
- 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
* Update puppet-openstack_extras from branch 'master'
to 4a8186bb20f552ce5ad4fbaf721f8c77486d366d
- 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
* Update puppet-openstack_extras from branch 'master'
to 59af76ca34e22a23644d09aa7ee43686d794f418
- 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
* Update puppet-openstack_extras from branch 'master'
to 0c4ff9d5313bc4e2cfa85a5749ea00cd2cf848a0
- 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
* Update puppet-openstack_extras from branch 'master'
to 234f149694550e14536b93bee2d7546829004a3b
- Merge "Remove support for Puppet 6"
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: Idce97a877fb6918c8995a74784763473ec627a16
* Update puppet-openstack_extras from branch 'master'
to 2adaab958dd532306080a9ad876e7a41bc6cf2cc
- Merge "Exclude release note files"
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Ib186238daaa75da09de4c88386dcea650e08f7bc
* Update puppet-openstack_extras from branch 'master'
to fb417eb9ea322966a63876172ec803c8e856b737
- Merge "Deprecate openstack_extras::pacemaker::service"
- 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
* Update puppet-openstack_extras from branch 'master'
to 73251afab4db96ec82afd43181e55c9cdcfea9ee
- 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
* Update puppet-openstack_extras from branch 'master'
to 2cf190f3f528c6d03c83048d1eb305f607031226
- 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
* Update puppet-openstack_extras from branch 'master'
to 3bc5c63c14c82239e104c0ad317067b0d223a005
- Replace validate_legacy by typed parameters
... because validate_legacy has been deprecated in puppetlabs-stdlib
10.0.0.
Change-Id: Ic06de257f7a957cca4e24c57a6503d981dc28040
* Update puppet-openstack_extras from branch 'master'
to 0f4c670e3d44f5284b45927ac60b506ba22d5920
- 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
* Update puppet-openstack_extras from branch 'master'
to 83596637513978b197ea94370334086695967368
- CentOS: Use dnf to install packages
dnf replaced yum and yum command is no longer available by default.
Change-Id: I91e97082864dfd4fb159e41b8719fc2c25ba9cb2
* Update puppet-openstack_extras from branch 'master'
to 04b78bbe35698da2e1fa654667c21214709121a1
- 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
* Update puppet-openstack_extras from branch 'master'
to 0265026fc8e9a507d0cfbbfa924b123e2ffbd1fb
- Update release to antelope
This switches the default release to antelope as we are close to
create our antelope releases.
Change-Id: Idfc74b71c6255ec79508ed62a0df941655a74424
* Update puppet-openstack_extras from branch 'master'
to 42f02f64fed52e75d95e9642e4d6709550b15e50
- 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
* Update puppet-openstack_extras from branch 'master'
to 6f0628bf3f8157407eb78ab226ea1db7d5da6a5c
- 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] b59c8bb98620932558b25ff0e82f0afc2b4e315f
Change-Id: I40d9e65520955708d1f75394d8cb6e33ce8ba9ea
* Update puppet-openstack_extras from branch 'master'
to 16144d7c2aa3872aa884a245a652ada3e1ca051e
- 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
* Update puppet-openstack_extras from branch 'master'
to bb3d7c05e53a9d1681fa653ae55eadc43c925521
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: I49b217a6f7fc1a323e288b880a1c9f532822bba6
* Update puppet-openstack_extras from branch 'master'
to f9add6fc032ebfb7764d9e002e4439f80c86c13a
- Ubuntu/Debian: Switch to zed
Change-Id: Ib6e1d3e2293749a95e814720ec6db222a371e564
* Update puppet-openstack_extras from branch 'master'
to 1550df0eff55a3d8c5d5fd7b761998bc7490dd08
- Merge "CentOS: Remove deprecated parameters"
- 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
* Update puppet-openstack_extras from branch 'master'
to ecdbf61bb32357dae977ce32541d00a901315484
- 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
* Update puppet-openstack_extras from branch 'master'
to d1aee36a8d6668e4b5c81a2ca1cf31eb031ecf65
- 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
* Update puppet-openstack_extras from branch 'master'
to 1d9df317e0409a8e692486782cd236cbd829c1a6
- Merge "Bump upper-version of puppet-corosync"
- 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
* Update puppet-openstack_extras from branch 'master'
to 23b2ad1dbc770f8aacab794167133caf8fb1ba67
- 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
* Update puppet-openstack_extras from branch 'master'
to 19645041ce947382ab724dcdbd738ec640171f61
- 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
* Update puppet-openstack_extras from branch 'master'
to 1498d8123aded873b487b3800cd3443b2f91e8b8
- Merge "Remove deprecated manage_priorities"
- Remove deprecated manage_priorities
... because it was deprecated during Xena cycle[1].
[1] edf439e71c15a5f50f09957a48148e2c4357aa5a
Change-Id: Ia680bdce8e548996f577e76dbf2823f2ddda5b25
* Update puppet-openstack_extras from branch 'master'
to 9e8e5818e6c914440fab7db9d16d2a5c8becc21a
- Merge "Remove logics for CentOS 8"
- Remove logics for CentOS 8
.... because CentOS 8 (Stream) is no longer supported.
Change-Id: I16fdf7a5685f6dc8371bed3800dfc26d7f1536ec
* Update puppet-openstack_extras from branch 'master'
to 126fc122b8efb14500d7f6f2607d7352eecb2111
- Merge "CentOS: Purge advanced-virt repository"
- CentOS: Purge advanced-virt repository
This is follow-up of 7c456d4b698817e185a11e8cee5cc30aa333cc89 and makes
sure the advanced-virt repository is purged when disabled.
Related-Bug: #1969484
Change-Id: I268675a4d17eb63861de5966e5b95434b792dd10
* Update puppet-openstack_extras from branch 'master'
to e5b6421c2de46ab8df67d1fd881f2dc463506288
- Ubuntu/Debian: Switch to yoga
Change-Id: If5d114d663459ee44d9191d50a98c4e264e3309b
* Update puppet-openstack_extras from branch 'master'
to 6cc5d0dd21a17eac06d1e00318e70ef330bd4dbc
- Merge "Remove deprecated manage_whz"
- Remove deprecated manage_whz
... because it was deprecated several cycles ago[1].
[1] 9b63dc312ee289681106573d542b7c3a1e4a0ead
Change-Id: I60e37d1c555422c65760705377a7f9c469142e3f
* Update puppet-openstack_extras from branch 'master'
to a3b178709087a5f3da85087fd2299b9d1eee6962
- CentOS: Deprecate the stream parameter
... because now only CentOS Steam 9 is supported.
Change-Id: I9d39f23159505cec8fbcdd055e6c1fed4b995115
* Update puppet-openstack_extras from branch 'master'
to 41f06f8f7b2fdf8a0eb2fe2ae60cf01f5f1a8152
- cs9: Fix URL for OpenStack packages
CentOS Stream 9 packages are hosted at mirror.stream.centos.org instead
of mirror.centos.org. Also the directory structure is a bit different
in the new mirror server.
Closes-Bug: #1978332
Change-Id: Ie8436a527fc308b70a7c3b34fb86a32604f836ff
* Update puppet-openstack_extras from branch 'master'
to 7c456d4b698817e185a11e8cee5cc30aa333cc89
- cs9: Do not enable advanced virtualization repository
The advanced virtualization repository is not available for CentOS
Stream 9. This change disables the repository by default accordingly.
Closes-Bug: #1969484
Change-Id: If888cf4f37a625f54ba89ae40a4f30e76c11987e