* Update puppet-ec2api from branch 'master'
to 95563a84f70e04f6ee814a6f0c277561a2e8acbd
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Ic700e8eeb8470dd933ce993c534cf0f52441c9b7
* Update puppet-ec2api from branch 'master'
to f0687c22e09d7d8e36592caafbc11dab0101708c
- Merge "Drop compatibility with very old puppetlabs-inifile"
- Drop compatibility with very old puppetlabs-inifile
The logic is no longer needed since puppetlabs-inifile 0.10.0[1] and
the current minimum version is 2.0.0.
[1] 2f22483c87
Change-Id: I9ff03613d5ac5fc883cf31dad0648744d1a96ef9
* Update puppet-ec2api from branch 'master'
to b57927f2100e23eaf40e0a16d9d015bab35736f1
- 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: Ia3ab04b033d40efef8e1851c0ebd5a56d8e21d55
* Update puppet-ec2api from branch 'master'
to 7ab05c85cee806a55369823e042fc49bb0df259c
- 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: I0ac26bfb2b0fc362effaf83e347547738771c4e4
* Update puppet-ec2api from branch 'master'
to 308d969e68e32bb106ba03557c9daf7025497b1b
- 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: I0a3be947704009a723bfc3181c5277afa12ec933
* Update puppet-ec2api from branch 'master'
to 3129f1a09a4fa96e623a44c35e40f21316033054
- 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: Ibb4fb7312f5b5b16234e016870fa4c802fd905f4
* Update puppet-ec2api from branch 'master'
to 8e5598f740c1c32d8f455c701a679396da234597
- Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I0f91c24b97703cc0388e2aa89511b329928aff84
* Update puppet-ec2api from branch 'master'
to 3b0543c0e211eb031c19f6caa5de7f05830f36e9
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Icb781734ed8c0a0423df0231cac32d9e97e2d86a
* Update puppet-ec2api from branch 'master'
to 3c1952cf7fcdb03d488868b209086169bc3b2755
- 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: Id75afbccc3ab9a06abc489126e7f1167aaa71185
* Update puppet-ec2api from branch 'master'
to 149988ed640b33886676e893d2dfb996e96c47f9
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Iba76019586c96cdbc1330ecec7852a7d51c6df13
* Update puppet-ec2api from branch 'master'
to 8d522ae1f264364dd2fac3a16b92390ba69de08e
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I306233bb64b1070f722d7897063a700050be0058
* Update puppet-ec2api from branch 'master'
to 6adf5af558b831f92d2f7e5a50026df3354ca04d
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: Ic6aff0a3cfd27a7c2f005656c7b1d5a2cb07a199
* Update puppet-ec2api from branch 'master'
to 40f1403bbccec910a6706d6e097a9b18e4ff8c46
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I523fc53e593cbdd575029c78d9c10bca7c34c55e
* Update puppet-ec2api from branch 'master'
to 452ed94837062ce66a554e11b6905ada3763693a
- Merge "Bump upper version of puppetlabs-inifile"
- Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.
Depends-on: https://review.opendev.org/880118
Change-Id: I607bec1d99086f39acd7af401d1bf603f292e2e8
* Update puppet-ec2api from branch 'master'
to b65d25120c700826eacc9187784db23a638a4725
- Remove cleanup of old configurations
The cleanup resources were added before 2023.1 release[1] so these
configurations should be removed when a deployment is upgraded to
2023.1.
[1] d5ffaf4cec14e619207c525093015f8318c462b6
Change-Id: I7e2f08fc30cebf7f326ef3d5a3955956b79f11f3
* Update puppet-ec2api from branch 'master'
to 4e9d79f60c0efb94d062da415f5516997f0a779d
- 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: Iff80ab9f3efeeb31a089ef7f57d8d7f71ab44591
* Update puppet-ec2api from branch 'master'
to d5ffaf4cec14e619207c525093015f8318c462b6
- Revert "Replace deprecated [DEFAULT] ssl_* parameters"
This reverts commit e3f44b4ef56a8db870bfbbb8285534b7c21b86cd.
Reason for revert:
The original change was wrong because ec2api uses own ssl options
instead of ones imported by oslo.service.
Conflicts:
manifests/api.pp
Closes-Bug: #2011569
Change-Id: I592fc1da6b364f017a7892a30ff42a61d86f4d9f
* Update puppet-ec2api from branch 'master'
to 1d11686c5b62a4ecc462c1262f47c222ae40079c
- Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: I35dced2e96a4aa3ba29a385b4c81062be4feb48c
* Update puppet-ec2api from branch 'master'
to f5c271ae44c4daba6b8e151c030304764aaf4dc0
- Expose policy_default_rule
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: I2382514189617edb9454c3d9e8b5f15de9c96237
* Update puppet-ec2api from branch 'master'
to af01001c62a30486ddea06bef1405adac6a086f7
- Merge "Switch to Ubuntu Jammy (22.04)"
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: I0b0350fe368d6cd67975ac8cf241dd7dd6135a58
* Update puppet-ec2api from branch 'master'
to f9be89d0b90fb9e887592ef8e404f66cd9f357dd
- Drop deprecated ssl_insecure parameter
This parameter was deprecated during the previous cycle by [1] because
the actual parameter no longer exists.
[1] a72e6fe9496602d03807155dd7a1ee39a243323d
Change-Id: Ieb53368b269f3323f54a0d14caf00dcf9b136831
* Update puppet-ec2api from branch 'master'
to 79128e48e669507f9f65cbaae0b728e67cfe1c81
- 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: I72fda0b8ec85f75fdf06d4760ed00e2f8bb2bd67
* Update puppet-ec2api from branch 'master'
to d38a9a5e6035de0efd6186ea9287755d3a4e86f0
- Enable memcached in acceptance tests
... because it is required as cache backend.
Change-Id: I7d0adaf26b63109d341b5dff35510b64805b858c
* Update puppet-ec2api from branch 'master'
to d57cc885f1ed94cb81bec70df95f20fa4b3c94d4
- Ensure [DEFAULT] ssl_insecure is removed by default
... instead of leaving the parameter unmanaged.
Change-Id: Ic549c6f05e55d4b1249a2c068935b26cae81401b
* Update puppet-ec2api from branch 'master'
to 7b2f0656a4579c491e865f7ef04e64eb1abb9ff7
- Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit c12186f850af136659ce0f4c0d82dfcebca16385.
Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).
Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.
Depends-on: https://review.opendev.org/850705
Change-Id: I3f4b076bcd4754adfce0fba4117cf1bf26a1649f
* Update puppet-ec2api from branch 'master'
to 87e3112204841f98d4dfd013688c0a5cf4a08004
- Fix wrong test description
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.
Change-Id: I773e1982437b8d3e0fb8cda26bf35f0e48521481
* Update puppet-ec2api from branch 'master'
to 788fdf2bc2633feb0633a7551f81f10610c0ab60
- Merge "Remove support for CentOS 8 Stream"
- 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.
Depends-on: https://review.opendev.org/843503
Change-Id: I4cc7720542e6e636158e4d6e9b2b4af369f0d51e
* Update puppet-ec2api from branch 'master'
to c1b264f37ec1e29a6e27a47a7f3962839d868fa9
- Remove deprecated use_tpool parameter
... because it was deprecated during Yoga cycle[1].
[1] 1b1e2eb80943ffab29b7efc46f5907096806926c
Change-Id: I51c0e0f0519a3802adecc8473640bbb5219d87b6
* Update puppet-ec2api from branch 'master'
to e3f44b4ef56a8db870bfbbb8285534b7c21b86cd
- Replace deprecated [DEFAULT] ssl_* parameters
The ssl_* parameters in the [DEFAULT] sections were deprecated and
the [ssl] parameters should be used instead[1].
[1] 2e2940d1e17706b9d6367ff1783bde9d41891bfa
Change-Id: If5ee27626b778bda4d8cb47162691f3cced35955
* Update puppet-ec2api from branch 'master'
to a72e6fe9496602d03807155dd7a1ee39a243323d
- Deprecate support for [DEFAULT] ssl_insecure
... because the parameter was already removed[1].
The ssl_ca_file parameter is left because it is still used by
the oslo_service library.
[1] 5fc752ca6fd1588cc04f3073d1c300d985581041
Change-Id: Ia1035589c68790239c6619f4f3f9b33d7b5ae66a
* Update puppet-ec2api from branch 'master'
to c551ede0d1783b067361dc62fc8da8a2ecddee28
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I637150a68e07791ca37ad798a912902ef291ee72
* Update puppet-ec2api from branch 'master'
to c1ee6f950709f3b2f527d0ec748949f24497fa8e
- setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.
~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~
Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
[1] https://github.com/pypa/setuptools/issues/3197
Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I1849d008833a689d8fb17efc815dadb3ec8e2d22
* Update puppet-ec2api from branch 'master'
to b33590874ddba53291cd6090b0c34b47bde022e2
- remove unicode literal from code
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: I3a7857f93490669878af76928bdf2e13991bb977
Co-Authored-By: LiZekun <2954674728@qq.com>
* Update puppet-ec2api from branch 'master'
to 7abad2bd64eac98d9d853ab73fce34a2473b5b55
- Merge "Deprecate use_tpool parameter"
- Deprecate use_tpool parameter
The [DEFAULT] use_tpool parameter has been deprecated in favor of
the new [database] use_tpool parameter. Also, even the new parameter
has been deprecated by during Xena release[2].
[2] 74c6bf266e0b86ceb4726cad9268f134d423bae8
Change-Id: I93fabb8d131e51c18f4a5220f2f0f47ad318bb58
* Update puppet-ec2api from branch 'master'
to fd6e6d6eac7ee3e355681f769bd585782b628d29
- Prepare Yoga M3
Update the version metadata for Yoga milestone M3
Change-Id: I5bd48300d39e4aa7b6968f9794da79cc339b918d
* Update puppet-ec2api from branch 'master'
to 7ccf2ba1a0797f22410ad616d38c3e5beceb01b9
- Merge "Add CentOS/RHEL 9 to supported operating systems"
- Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.
Change-Id: I35525cd97dd54586f5ee075b9fb7506421ed3d7e
* Update puppet-ec2api from branch 'master'
to 10fc41cd74ab968ebf3ff07099e5a8945d3cd2fc
- Merge "Avoid hard-coding OS user/group in each manifest"
- Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp .
Change-Id: I9c96dc528b86ab8243fffcf408e09876960f882f
* Update puppet-ec2api from branch 'master'
to aae2074b2eab5d8b92b9bd56a8414c571080261d
- Merge "Add socket keepalive options for the pymemcache backend"
- Add socket keepalive options for the pymemcache backend
This patch specifies a set of options required to setup the socket
keepalive feature of pymemcache (dogpile.cache) cache backend.
Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803716
Co-Authored-By: Grzegorz Grasza <xek@redhat.com>
Depends-On: https://review.opendev.org/807851
Change-Id: I6156abd69160113113d8e239f7204ba9274a1ee7
* Update puppet-ec2api from branch 'master'
to 0df645b2b5817aec88125f0dbcf3d94dd30fb7b9
- Merge "Add HashClient retry options for the dogpile.cache backend"
- Add HashClient retry options for the dogpile.cache backend
This patch specifies a set of options required to setup the HashClient
retry feature of dogpile.cache cache backend.
Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/824944
Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826870
Change-Id: Icecc2329c7f4732ee63dbb34a1b8d9d99a30239a
* Update puppet-ec2api from branch 'master'
to a63d909d6d2db5d50d95ea63e768c5699d6e0a78
- Merge "Add cache client retry options for the pymemcache backend"
- Add cache client retry options for the pymemcache backend
This patch specifies a set of options required to setup the retrying
wrapper feature of pymemcache (dogpile.cache) cache backend.
Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803747
Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826869
Change-Id: I9a7a3ae77d2445cec5470e8bfc9b9b651d37f783
* Update puppet-ec2api from branch 'master'
to 497777cd40b12013357a3cc5e64b80eab2dbcc4a
- Merge "Do not define service resource when service management is disabled"
- Do not define service resource when service management is disabled
Change-Id: I63c9c6c4df6cc0968a704546453416431b0fca07
* Update puppet-ec2api from branch 'master'
to 39c65edecb86d465f6d4bdb0fdb70417f5486984
- Merge "Remove deprecated database_min_pool_size"
- Remove deprecated database_min_pool_size
... because it was deprecated during Ussuri cycle.
Change-Id: I0dba04937b807be2cdcb6fbdee04708b9d06f3ba