* Update puppet-aodh from branch 'master'
to a213cbdb3f8b7bb5b3353544068cb6a94176f55b
- 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: I8bc1822e86a7ebe64ce2ccd62d29bb471aa56a8f
* Update puppet-aodh from branch 'master'
to 2541d5e4fa137a8bf6801d351f4eb336c8cdf5fe
- 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: I1fb3b67e7d73474117b2b690481bf6e2ad1767c6
* Update puppet-aodh from branch 'master'
to e8289b40e4e2caa6bdaf8dfe732c4fb2394deb19
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: I0eb30ae9028b9371eaf1a63e3144eb28c24c362a
* Update puppet-aodh from branch 'master'
to 013f2122bce1fe2012f352d3ed7b87c934d08cf8
- validate maxdelay for cron job
The parameter descriptions says the value should be a positive integer
(or 0). Validate the given value to reject invalid values such as
strings or even negative values.
Change-Id: Ib9f90c88f564ac5a0d545f955257741290998a5e
* Update puppet-aodh from branch 'master'
to b3016e3bf3bcad0764b3c81fdb13ed27d3a16c08
- Stop hard-coding config file for db sync
The aodh-dbsync command by default loads /etc/aodh/aodh.conf. Removing
the override allows us to use additional paths such as aodh.conf.d in
the future.
Change-Id: Ic3bf121611d7221209c006872ab98b0682aa2273
* Update puppet-aodh from branch 'master'
to 7031f2a360b8c30b9eca07bd1d291586b00f66ff
- Merge "reno: Update master for unmaintained/yoga"
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I8119b86106f74579616abf58603e34a7bf8c9503
* Update puppet-aodh from branch 'master'
to 7cd26de684a166885ad68a88879c63f9dcf28c3a
- Merge "Fix notification related to api service"
- Fix notification related to api service
This is follow-up of fb448c80b567a6df7c6cef3e2494d1005a928be9 and
fixes notifications to restart api service, which is currently broken
for standalone api service.
Change-Id: Ic907f3c59bb8a1174ff0d64a85faa7041d02298e
* Update puppet-aodh from branch 'master'
to 1bb822043200c8bd63c87eea7147aabadeeee7b3
- Ensure authtoken installs python-memcached before services start
The keystone::resources::authtoken defined resource type installs
python-memcached, which should be available when services start.
This ensures that all configuration and package installation for
authtoken middleware are completed before config step completes, to
ensure that requirement.
Change-Id: I8f2df1c5881473ca7937bdb26954ce566569788a
* Update puppet-aodh from branch 'master'
to 4d1bb57b7546d723fec6fe10b6d32f6f9241c276
- Merge "Refactor resource dependencies"
- Refactor resource dependencies
This refactors resource dependencies to improve the following points.
- Avoid unnecessary dependencies across services. For example aodh
service does not require cinder db.
- Restart only api service when config files like paste.ini, which
are used only be api service is changed.
Change-Id: Ie9922c101e7981801c4c8c8753f0ce54ac8e5fe3
* Update puppet-aodh from branch 'master'
to 0acf300e121e09f4afdd7c1faa4813370ef9019c
- Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I3ed546597f3db58919e0c0a195025022bc00f6e2
* Update puppet-aodh from branch 'master'
to 39d3dcc4382c47e99c3431d8e715b35a301bff0b
- healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.
Depends-on: https://review.opendev.org/905557
Change-Id: I28bfa93296cf1a1cb2f69da3e92ad86d64b08ab5
* Update puppet-aodh from branch 'master'
to 94a5e732f0f2cb2587a7d588743c8b2787551e63
- Merge "Use new openstackclient tag"
- Use new openstackclient tag
The new openstackclient tag was added so that we can get all resources
about openstack CLI more easily. This adds this tag to aodhclient
because the package provides some sub-commands.
Change-Id: Iaa9e1b818e8cb337e41688dc956a17193656ed3e
* Update puppet-aodh from branch 'master'
to 4b4a553d569ad06bc73446a25e1bc3ba2a7a4944
- Merge "Bump supported Debian version to 12 (Bookworm)"
- 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: I82e8415fac9b86cd30492ae560054eabd64e207a
* Update puppet-aodh from branch 'master'
to 876004f6fece8e1aa23da96d9399ba93c798dea5
- 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: I1b7b3f894832a067d740bb5a4567e922dcf22af5
* Update puppet-aodh from branch 'master'
to 564dff87ae0dc03e76eee6af8d57f72795d4bd8e
- 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: I7198659909294242c3a0d524abdaab422cee7b65
* Update puppet-aodh from branch 'master'
to 35cda0df7cfa94d651d798f8a1f2abc097e4a7e1
- 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: I6179cb13a31e43343b20b9bb255716dc64ae00f7
* Update puppet-aodh from branch 'master'
to ea04b9980c995f9799d64ac3fff4de22d972ec7d
- Merge "RabbitMQ: Add support for quorum queue options"
- RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I644af1c7d7f4721b200fc0b771ad84609e2eb4b6
* Update puppet-aodh from branch 'master'
to 827d05b2f8c2bb22c03326a1e9118445fb2c492a
- Merge "Do not restart services after policy file changes"
- 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: Ie2ef0bd7f9b4ab7f60a976fe7832f49b288eca64
* Update puppet-aodh from branch 'master'
to 655b4a021f4d79b3df502f0a888b2ab3bdc2b76c
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: I09373840d210027d55fd65e703dac4086b2b5c4f
* Update puppet-aodh from branch 'master'
to 5ea4741775f34ab7e9079da06a24d3a134453168
- 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: Id4cf5641b6f5bf466aa43344bea991037618571a
* Update puppet-aodh from branch 'master'
to 5e9c6de5aad4eae00fb1673a2dd7dfdd379371da
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: I1c48571be9068aa428bba38d99956a0f534888b9
* Update puppet-aodh from branch 'master'
to fd5058341b0f7027ae8becbb10ae4369535dbc58
- Merge "Add per module policy service refresh"
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I7dc9f4a9849043624359eb97775af20d1885103a
* Update puppet-aodh from branch 'master'
to 0827e06a1d36c6265312a790d7dcdb603c5aea2e
- Merge "authtoken: Make password required"
- authtoken: Make password required
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.
Change-Id: I77001fb010d5ec276cba1761e022f0037716bfa5
* Update puppet-aodh from branch 'master'
to aa72e6bb13b8228e4f6d2cb08a1272fd17e08f94
- Validate status of cron resource
This makes sure that the supported value is used for the parameters
which determine the ensure property of a cron resource type.
Change-Id: I8b87eef335274e2607b9d7fd1bf514648fc9e580
* Update puppet-aodh from branch 'master'
to c6eceb69f51aa5a038f3cfa32e43e1962efcdbe1
- Merge "replace validate_legacy with proper data types"
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I6a4e4fe824713a08839ab49f151415a9186a9a5a
* Update puppet-aodh from branch 'master'
to 0b1c3d9232dfa6496d99f8a8155c5edaa95b12a6
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I672ddf20550d4b7d0ec8d8faee72faaf9691754d
* Update puppet-aodh from branch 'master'
to 85c81d97cef75b846622846542ff993304d3d259
- 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: I5d802458e0c5c47eaba147f7ed59f6a3bd5bc99c
* Update puppet-aodh from branch 'master'
to 446b14a65d8008496100584eda710bd419d01afa
- 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: I0cd67cfae48dc072730c1e83d426d73b2efb8183
* Update puppet-aodh from branch 'master'
to bea839fe5a88a0f37fc4b16d5e55943635e89d8b
- Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: I73444acddba8818dfcee5d2b2bca52c7e4cf3451
* Update puppet-aodh from branch 'master'
to 3bf38f8403d95103f0af0928a679d8e47821a110
- Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: I2a52329948becfcfb799f034847db9eae7bd903d
* Update puppet-aodh from branch 'master'
to df3fce9e6b285d846ab4945cb24de7b51a3d425e
- 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: I8c02a3651cf6a749e1039b0a3a9b92800fb4a79e
* Update puppet-aodh from branch 'master'
to c2f586d2adc143c7cb0a6b586aeb65be8ef401c2
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: I5ccadd4a868eb456b4a2fc176736176bd7b08cb8
* Update puppet-aodh from branch 'master'
to 551bf848e1bde8a89a44b2fd029d6f82748aae85
- Remove cleanup of [DEFAULT] evaluation_interval
This logic was added during the previous cycle by [1].
This old parameter should be removed when a deployment is upgraded to
Zed, thus we no longer need this cleanup beyond Zed.
[1] c58c36d92741bd41fda663d5765d9136399a77b5
Change-Id: Ic791e5b597d4b702241d7938ed8d0c0f37f2e7ff
* Update puppet-aodh from branch 'master'
to 9277734b9d3f6a6ca0d8bbfdbe99cd75ca609db1
- 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: I2a5f11d60137708b6e5e1e5aeac58712010cf269
* Update puppet-aodh from branch 'master'
to e59df58cddb96622853aba8e04b4758cc672cb02
- Enable memcached and redis in acceptance tests
... because these are required as cache/coordination backend.
Change-Id: I0ece8d5053b41a86a59edd439917735c01023bd0
* Update puppet-aodh from branch 'master'
to b6926f0cf38dadd69be0ef96aa222f12227d3ea8
- Merge "Use standard parameter description format for wsgi::apache"
- Use standard parameter description format for wsgi::apache
Currently parameter description of the <module>::wsgi::apache classes
are formatted differently in individual modules, and this is making
the maintenance effort quite difficult.
This change updates the description format following the srandard one
we are globally using in our modules to reduce undesired differences
between modules.
Change-Id: Ie874d47e7c9c37da642c2cc5d9c46e385e7cc176
* Update puppet-aodh from branch 'master'
to cf03bf3ddae1ecb7f5749da735bb770fc1b16a68
- Merge "Add Apache WSGI logging parameters for pipe/syslog"
- Add Apache WSGI logging parameters for pipe/syslog
Add parameters for advanced logging configurations in Apache to
support piped logging and support for syslog (via mod_syslog
available in Apache >= 2.5.0)
Co-Authored-By: Andy Botting <andy@andybotting.com>
Change-Id: I16c7a6407d647a25d6093239b30845a212202a5c
* Update puppet-aodh from branch 'master'
to 6212bb5ea8ee4235f984fae6a1ee4d4b0ac5756c
- Use openstack_spec_helper from zuul checkout
Change-Id: I9b8c3210a1e69592872a57daeeb74c5d7e67bf2a
Co-Authored-By: Tobias Urdin <tobias.urdin@binero.se>
* Update puppet-aodh from branch 'master'
to c64f4251c54ce3c3dafd14d8e583f992434a040f
- Merge "Remove deprecated aodh::evaluator::coordination_url"
- Remove deprecated aodh::evaluator::coordination_url
... because it was deprecated during Xena cycle[1] in favor of the new
aodh::coordination class.
[1] 16091c8dd6f97f55fb7875e7843f3de7017a99ce
Change-Id: I0e11987c7d121b2fb639274ed60181c56ce4f6d1
* Update puppet-aodh from branch 'master'
to 99307d1bf126daa107bd83455e1206fce3464e57
- Merge "Adapt to new type validation in puppetlabs-apache"
- Adapt to new type validation in puppetlabs-apache
The puppetlabs-apache module is enforcing more strict data type
validation[1].
This change updates the default values to adapt to that change.
[1] f41251e336
Closes-Bug: #1983300
Depends-on: https://review.opendev.org/851652
Change-Id: I9261c53fdb930fd9ff5e2c06e91eb312d665bb9a
* Update puppet-aodh from branch 'master'
to 6b33b3226bdceeb275951e0c357ea656a32a54d3
- Merge "Expose headers option of apache::vhost"
- Expose headers option of apache::vhost
The headers option in apache::vhost is required in some case, for
example when adding the X-XSS-Protection header. This change allows
customizing the option for the api vhost.
This change also adds support for request_headers so that both request
headers and response headers can customized.
Change-Id: I857407802617087f75334c8357055250dcd4cef5
* Update puppet-aodh from branch 'master'
to 358924dbca5ec0ff467c8b659893fd8e6e396211
- Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 0f1d26cdb67f4561be291db65cd4574ac0615cb5.
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: Id71237bc97e04f6c83403f60605d3bff44bc944a