* Update puppet-gnocchi from branch 'master'
to 7e7726453da80004f26b2aef011c26f5a9a09de5
- 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: Ie40ebafab5ad04cac2ad8e18cef684797f424257
* Update puppet-gnocchi from branch 'master'
to b08d95335100cec01632598c6e8b678f3a151cbd
- 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: I67b23c16e20f07b95ab32738a385363c97bdb177
* Update puppet-gnocchi from branch 'master'
to a08d91f340e14b38fa7cc8adf5156fd3e9956449
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: Ie8a6fae4e16c5349bcf978d81227504a1ca5bf8d
* Update puppet-gnocchi from branch 'master'
to b7b040c4e282fd116dac194b42bf3a93ab2a2cdb
- Stop hard-coding config file for db sync
The gnocchi-upgrade command by default loads /etc/gnocchi/gnocchi.conf.
Removing the override allows us to use additional paths such as
gnocchi.conf.d in the future.
Change-Id: Ibe0c1138eebeb17fb6d06a7e648eab563f47fe1f
* Update puppet-gnocchi from branch 'master'
to 3bf5d9ed3c8adb5417eb96fbd793655fff49b6fd
- 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: Ib89091baaf9aba0809c2e9405389545168b755ec
* Update puppet-gnocchi from branch 'master'
to 94b811c6504e49d7b0e4a55e01389b3860b265d2
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I3f7514b645502a6ebfd34c938e0772ea10eff43a
* Update puppet-gnocchi from branch 'master'
to ac20db89d0117761223e9ce0fbc02a058f1416d7
- healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.
Depends-on: https://review.opendev.org/905557
Change-Id: I671ab529cee053f59e611e119af93d7123756e2a
* Update puppet-gnocchi from branch 'master'
to 07d050b65309016e6c05cd47b6054e1b3c210946
- Merge "Remove unused base provider class"
- Remove unused base provider class
The Puppet::Provider::Gnocchi class has never been used.
Change-Id: I5ab5759bd920d7b0160ece2b0d19b51e34207435
* Update puppet-gnocchi from branch 'master'
to cc301d32255b10d1d2d23dd003002c9cf410475b
- 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: I9569769f1bc16ae01e026449988ebd3f2b128904
* Update puppet-gnocchi from branch 'master'
to 0243f0eebf9e2612a28d95c33ea9dd4cd81a48d9
- 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: I37259cf05373afe419563d1ebf16872f05853b7c
* Update puppet-gnocchi from branch 'master'
to 73955e07e3ec7c2fe87f1228fef3af7bea6457cd
- 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: I2d6fc892cb0d3784430223d903f0f48f32aab1bc
* Update puppet-gnocchi from branch 'master'
to 3bb989a53dea2e05d07a6a0fec8f807627c900ee
- 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: I78d6fa4b2f96cad3f45995bd56e9f9bfa370be44
* Update puppet-gnocchi from branch 'master'
to ee6e80eef0b7e56de6a5fc8ecbfe02740d94eb4b
- 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: I990a24499bba2ad06aac20e5786c4acca4a2392e
* Update puppet-gnocchi from branch 'master'
to df47555a7ae489e56434bb487be71e7cd1148806
- Merge "Remove redundant usage of integration_enable"
- Remove redundant usage of integration_enable
The parameter can be easily replaced by the backend parameter.
Change-Id: I6aa92f859fd07963d4a821fbf5983406a9210054
* Update puppet-gnocchi from branch 'master'
to 4683039f57b676f913eb713f3a860dc4d2616e5e
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Icdace8f0ba9b9683416bae92ff057ee85eb05bf5
* Update puppet-gnocchi from branch 'master'
to 0dca124538fdf49a846d83f083bea4bcf14fbf8e
- 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: I11452bb9cbed4868e1a947133a684ff4bfb898ba
* Update puppet-gnocchi from branch 'master'
to de085305c4f379ad3d2c72ef8166e86bdff46f49
- Refactor db class using oslo::db
This replaces the existing logic in the gnocchi::db class by the common
logic in oslo::db, to use the single logic to manage backend packages.
Depends-on: https://review.opendev.org/889374
Change-Id: Icd916df0b3463128df5b2ed3b49c2cdbee871504
* Update puppet-gnocchi from branch 'master'
to 120450bec84884d491703d5246bed2594a03fde5
- CentOS: Stop installing gnocchi-indexer-sqlalchemy
The package was merged into the common package a long ago[1], and we
no longer need to install it explicitly.
[1] af210a84ac
Change-Id: I845b4d99711055ed6a6feb1df2d1e287ea53a0fc
* Update puppet-gnocchi from branch 'master'
to 14430a3b3210ef5b0af70252bcb118eba9d2323e
- Merge "Ensure purge_config takes a boolean value"
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: I15aa0c8ddfb4063e285206de13cbb9fc8cb8143c
* Update puppet-gnocchi from branch 'master'
to bbec7ca8b6f4e84e565ea74f42c6f781a1276a6e
- Merge "Replace remaining validate_legacy"
- Replace remaining validate_legacy
These were somehow overlooked during the previous attempt.
Change-Id: I742afd3b162cc1a6fe8975d3c83a180f6474c7b9
* Update puppet-gnocchi from branch 'master'
to a11551d2f5ddcd92b57bd19214543e67bdea1af8
- 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: I90371da9cdd1b968a691b3e342e7eec7d0390520
* Update puppet-gnocchi from branch 'master'
to fea62d44e918fb5f944882ef01fa02e5687c7f31
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I5b7504bc02b2576a8921d1a70bc1bd07b19c1023
* Update puppet-gnocchi from branch 'master'
to 74e7afdb9e082e6493fc818a17ff33e45bbaa40b
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I14ad3f5a77573b1bf82b490249ca5a8a6b220565
* Update puppet-gnocchi from branch 'master'
to 3f5c30de215582be098dc2cff753304391fb1536
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I059d3e6c4ca34c4954b88914f28c81385453fe5b
* Update puppet-gnocchi from branch 'master'
to 1ce14fbe7eec2952745e727663dd213a0a23e25a
- 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: Iec7386503bfcd587eb69d4d3d1d49b17d69f8127
* Update puppet-gnocchi from branch 'master'
to 3dd3e929b41cf697e1f3fd43b3bdeafd982b46c2
- 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: I961b712133d0f35a7720acff4a7b4a58289da02f
* Update puppet-gnocchi from branch 'master'
to c0d537c9bf15c7fbf30d40c55326314ea2cabb1a
- Merge "Remove unnecessary policy conversion"
- Remove unnecessary policy conversion
The gnocchi packages available in recent releases contain the changes
for policy-in-code feature so no longer require the default policies.
Change-Id: I0f3e5a7a3abec869246a248d390d86b40a7da432
* Update puppet-gnocchi from branch 'master'
to e8edb44500b9c3141350e6dc584690c6b49b3f39
- Merge "Make sure redis urls are hidden"
- Make sure redis urls are hidden
This makes sure that the parameters which accept redis url are hidden
from logs, because redis url can contain password as a URL element.
example: redis://:password@127.0.0.1:6379
Closes-Bug: #2012246
Change-Id: Ief97f9e28ed7e318b56b27f03214ecc76de6798e
* Update puppet-gnocchi from branch 'master'
to 8f74b05f69aeeecdde189e500164f554b9d7d9a6
- 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: I5d448885136f38b442aeca3feff75e288b00cc0c
* Update puppet-gnocchi from branch 'master'
to 37049a867d429250d01bb8dd228c4791a6b42d97
- Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: Ia9ab733a7fc5cbb5b23659ff7cbfd3b2b7d2fb18
* Update puppet-gnocchi from branch 'master'
to ecd6b5a6691224125238d8184f20621a3c5c5158
- 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: I010ef8ed814af439621cf944eb62426d7adb5d6f
* Update puppet-gnocchi from branch 'master'
to fa6ef57180a7876e077f019e6befa28d961a2456
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: I46de72deb389f6f0c4b0af2f9f17416334f5f891
* Update puppet-gnocchi from branch 'master'
to aaceae30fbd07bfaeb1dff1d39452b1244e5802f
- 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: I6560799a99aaa901b2fcbe2f4006236fdbb96e6f
* Update puppet-gnocchi from branch 'master'
to 86fc061b4c94ddd704192f88b0d0cd31e75969f9
- Replace deprecated [oslo_middleware] enable_proxy_headers_parsing
Gnocchi replaced usage of http_proxy_to_wsgi middleware from
the oslo.middleware library by its own implementation since Gnocchi
4.4[1]. Because now both Ubuntu and CentOS uses Gnocchi 4.4.z, this
replaces the deprecated [oslo_middleware] parameter by the new [api]
parameter.
[1] bcd9a8cdd7
Change-Id: I52ba953c481bb66dd8a5af35b74c11dac6278e45
* Update puppet-gnocchi from branch 'master'
to b607c46cefa7ba0365fa483f7058b96d79e521c1
- Enable memcached and redis in acceptance tests
... because these are required as cache/coordination backend.
Change-Id: I16594b5e046fcc6639c134bc8ce566f8ffbc3f43
* Update puppet-gnocchi from branch 'master'
to 8ba78b6b37a39fb5b7cd6d4ee76b39da1fdbfa98
- 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 standard one
we are globally using in our modules to reduce undesired differences
between modules.
Change-Id: Id99d044171b1fafefd310fafff2ce2f4de1e9fa8
* Update puppet-gnocchi from branch 'master'
to 990298ddd51b9502b11f875ac8b5ccdab5fbcc8e
- 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: Ifa33b2e84284d8032c4e4f54acb26c30fc285cb5
* Update puppet-gnocchi from branch 'master'
to 8001209a81ca78bea86933b86fa96bc689477957
- Remove gnocchi::metricd::cleanup_delay
... because the parameter was deprecated during Yoga cycle[1] in favor
of the new metric_cleanup_delay parameter.
[1] 04f29cb088e7e1eadae5cb1834dab637d6c5b745
Change-Id: I8efe9f153ca112dafb621edc4ee3b3d090083d91
* Update puppet-gnocchi from branch 'master'
to 1774c83c7d09d734585ba31c5759cb634371edbe
- 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: Ie6310a022e9715336832865741318369bc3fa188
* Update puppet-gnocchi from branch 'master'
to f9bdbbbdc45d858dbbee45419d77b9a9b3ace635
- 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: I9fe841e9dc2a90627d0debdc9b6766a847390aed
* Update puppet-gnocchi from branch 'master'
to 6c4faf84a6ead5452002ac754923cf55537c39b6
- Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit f016d7261cfdc115acdcb86352b277dc01295dd7.
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: Iae81321d06d05ccb7f85fe982a017580480146e6
* Update puppet-gnocchi from branch 'master'
to 7e42849a9dcf86d3dcd9d001710c9e8a592b4203
- Merge "Switch provider to manage paste.ini file"
- Switch provider to manage paste.ini file
... so that we users can use '<SERVICE DEFAULT>' similarly to
the resource types to manage the <service>.conf files.
Closes-Bug: #1981118
Change-Id: Iefc9b16662603fd8fc410c9080cb13b603bd4cf5
* Update puppet-gnocchi from branch 'master'
to 580c78b2f453802d2ebcd59fb2193a9068b62050
- 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: I75733a1da603e7817a4f14a09fd8693225a7bb4a
* Update puppet-gnocchi from branch 'master'
to b2516674df7e3363b527bf34478f4dcb932c2e58
- Fix typos in parameter descriptions and tests
Change-Id: I20e1dda110e479e796604991be240021fd51d861