1099 Commits

Author SHA1 Message Date
be33b5e0da Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.2.

Sem-Ver: feature
Change-Id: I8d9ad3c7b3f9fdc17e0483fabd1742fb65181419
2024-10-04 10:37:30 +00:00
Takashi Kajinami
e414001a2f Prepare 2024.2 release
Change-Id: Ib11b8da6323e9bc4eb69aa2ec848ec14455589f9
25.0.0
2024-10-02 11:26:07 +09:00
Takashi Kajinami
3c31dcded7 Drop redundant hard-coded default of notification topics
The current value exactly matches the service default value.

Change-Id: Ia598e4ebcb078b99c417e7bb578359f730138127
2024-09-28 01:05:57 +09:00
Takashi Kajinami
cb6cb71752 Expose parameter to customize [oslo_messaging_notifications] retry
The parameter has been managed by puppet-oslo, but its value could not
be set via this module.

Change-Id: I1f45940e461ecadc8c3da4973cbbf2833d541223
2024-09-28 01:04:51 +09:00
Takashi Kajinami
801aaceb3c Rename enable_cancel_on_failover parameter
... so that users can more easily guess that the parameter is related
to rabbitmq.

Change-Id: I9a040d19cc1834b08e744dbedc560fa59500a229
2024-09-25 19:24:14 +09:00
Takashi Kajinami
8ecd59cb43 logging: Deprecate watch_log_file
This option was deprecated in oslo.log 6.0.0 [1]. Because the warning
to catch usage of the parameter is implemented in the underlying
oslo::log defined resource type, no additional warning message is
implemented in this module.

[1] https://review.opendev.org/914788

Depends-on: https://review.opendev.org/930126
Change-Id: Ife1561c400762a6338dd136b8df7db9973cdcab8
2024-09-22 03:31:00 +00:00
Takashi Kajinami
725e12c270 Add support for [oslo_messaging_rabbit] enable_cancel_on_failover
Depends-on: https://review.opendev.org/928440
Change-Id: I6bb4523f8f68e9e968f3f36056be156580bdfef7
2024-09-11 22:52:40 +09:00
55aa4b62db reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I136fd4512fdb77a7b52af998139e81d49516497e
2024-05-10 09:12:37 +00:00
Takashi Kajinami
fe1a64c61e Remove support for amqp1 messaging driver
The base implementation in puppet-oslo was deprecated during the 2023.2
cycle[1], so can be removed now.

[1] e174113210699b433dbae4c2c5a68bc3d269b5c3

Change-Id: Ifb55059f65f7cf527f96550ec14160e98ac23a62
2024-05-08 12:34:30 +09:00
Zuul
ea4e7e2a7b Merge "Adjust default polling interval" 2024-05-03 17:40:29 +00:00
Zuul
d8f2fbf1b7 Merge "db sync: Add native parameter for --skip-gnocchi-resource-types" 2024-05-03 17:40:28 +00:00
Zuul
c6b2d43dc7 Merge "Add parameters to customize config file paths" 2024-05-03 17:20:08 +00:00
Takashi Kajinami
0982884e13 Adjust default polling interval
The default polling interval was updated from 600 to 300 in ceilometer
itself[1] but the default value in the polling class wasn't updated.

This updates the default value in our module so that we use the value
consistent with what is maintained in ceilometer repo.

[1] fc086ba3b38683765eabcdb45613463d85cb38fa

Change-Id: I7bcbbebf093228b0885b2647d86e47e2b673e518
2024-05-03 19:24:06 +09:00
Takashi Kajinami
94cc530955 Add parameters to customize config file paths
... and also set the cfg_file options to ensure that the generated
files are used.

Change-Id: I228647f8f4ab36d9affac25c36cc2aeacbf36781
2024-05-03 03:12:22 +09:00
Takashi Kajinami
301f5df8b4 db sync: Add native parameter for --skip-gnocchi-resource-types
The --skip-gnocchi-resource-types option is required in case gnocchi is
not used as metric backend. Add the native class parameter so that
users can enable this option more easily.

Change-Id: I10b09b12c0ab93c68b3d1ad215730b882736b1cf
2024-05-02 18:49:31 +09:00
Takashi Kajinami
a20047d795 Drop clean-up of [DEFAULT] tenant_name_discovery
The option should be purged when a deployment is upgraded to 2024.1
(or created from scratch).

Change-Id: I9210cdffccdd36b12c5a8a1a5a13a6d2d78396db
2024-04-20 22:31:26 +09:00
4a252aafcf 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: Idd8b6dd29f226d1af50823a5cbe18b29716cb5af
2024-04-18 10:43:31 +00:00
Takashi Kajinami
f2a3b83fd7 Prepare 2024.1 release
Change-Id: I72cfb77bf153fcc3d1649c1233fb6e3c1c19c571
24.0.0
2024-04-15 23:59:55 +09:00
Zuul
13a354a6fd Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:08:27 +00:00
a3331b3e30 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Id9671fe05058da097d4573422200cb0893df237f
2024-04-12 12:30:17 +00:00
1b2d403a68 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I35d044af1ac674d8fee28d73e4126e36594f19fa
2024-04-12 12:21:36 +00:00
Zuul
f445dd6c14 Merge "Expose rabbit_transient_quorum_queue" 2024-03-14 18:25:37 +00:00
Takashi Kajinami
a1d1578eb3 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: I13dd3b7a88c9ea5e1d9f7543111f85b5a4e84cde
2024-03-13 16:16:33 +09:00
Takashi Kajinami
67079e54d5 cache: Support new redis options
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces for these parameters.

Depneds-on: https://review.opendev.org/910629
Change-Id: I6c7ca526af7ddba27660791c23d1895d668b460b
2024-03-07 22:49:25 +09:00
Zuul
68a7a1208f Merge "Refactor resource dependencies" 2024-03-03 23:29:23 +00:00
Zuul
e3114760da Merge "cache: Support options for SASL mechanism in memcached" 2024-03-03 22:58:09 +00:00
Takashi Kajinami
100c40e24e Refactor resource dependencies
... to avoid unnecessary cross-service dependencies.

Change-Id: I428d52219c72cf48fdc3eb034d44092137608245
2024-03-01 12:23:35 +09:00
Takashi Kajinami
66b692a0ae cache: Support options for SASL mechanism in memcached
Depends-on: https://review.opendev.org/910122
Change-Id: I5affe66258440edbd52c487374a31fca92370093
2024-03-01 10:32:11 +09:00
c5962fd740 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I310a6eb584c72805a6669519b4799eeaa4e1a986
2024-02-21 16:43:22 +00:00
Takashi Kajinami
b8a4f9d20e Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I9bda11ff00d1043747428100f92f24d89a1df0bb
2024-01-31 11:01:59 +09:00
Takashi Kajinami
6aad879c33 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: I16bf212137e4b88ca25d026faada88f870c32aea
2024-01-19 10:39:28 +09:00
Takashi Kajinami
e2fe2db17e Support [cache] memcache_pool_flush_on_reconnect
Depends-on: https://review.opendev.org/902861
Change-Id: I4d104dc7a3937d0a9c4ab3e02dbcd1280bcdfa09
2023-12-14 17:54:02 +09:00
Takashi Kajinami
c6a7b16567 Make telemetry_secret actually required
... as is described. This option should be set to an appropriate key
value and the previous default (False) is not suitable for production
use.

Change-Id: Ic54025f2b6c1d023a8458491e3f26dda8adbceb0
2023-12-06 01:56:51 +09:00
Zuul
2d8c944172 Merge "Ensure keystone resources are created before starting services" 2023-11-20 18:40:07 +00:00
Takashi Kajinami
ff0ab3b9e7 Ensure keystone resources are created before starting services
Some services such as ceilometer-polling requires valid identity, so
we should ensure the identity resources are created before the services
are started.

Change-Id: Ifff2d097efa97156023b9bdc5ff62332f7875cac
2023-11-20 02:06:10 +09:00
Takashi Kajinami
336782f30f 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: Ibd142ef6ce79dfa7fcfdad18c8101af9f7ac27a1
2023-11-18 18:04:44 +09:00
ab56d3762d 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: I09b0a1d4e862a3c68acf384922cb7c429b401ca1
2023-10-16 15:15:13 +00:00
Takashi Kajinami
235f1064dd 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: Ide0fcfe683cc5f41c150d3bf8486144152257c8e
23.0.0
2023-10-11 11:53:17 +09:00
Zuul
7aaae15622 Merge "Prepare 2023.2 release" 2023-10-03 17:15:04 +00:00
Takashi Kajinami
02195b2ed2 Prepare 2023.2 release
Change-Id: I2207c0d9fbe08c033d2b8f507dcd823c184989e6
2023-10-03 16:59:28 +09:00
Takashi Kajinami
277e2bc9c3 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: I626102a58cf463251db4fc71359d73a2c2ac7e2e
2023-10-03 13:03:44 +09:00
Takashi Kajinami
ccf4c50573 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I007ca152da1c40564bb575b62eb8ff975970865a
2023-09-14 14:46:43 +09:00
Yadnesh Kulkarni
204a8b398d Set 'tenant_name_discovery' parameter in 'polling' section
As of now 'tenant_name_discovery'[1] is being configured in 'DEFAULT' section in ceilometer config file.

As per Ceilometer this must be configured as a polling option[2].

[1] https://github.com/openstack/ceilometer/blob/master/ceilometer/polling/manager.py#L69-L80
[2] https://github.com/openstack/ceilometer/blob/master/ceilometer/opts.py#L98

Change-Id: Ib5c273df325f5ed0dccf7f45a9c7a91aba9568c3
2023-08-25 19:14:00 +09:00
Takashi Kajinami
a3cb04d142 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: Ic4d827365a0b440cff4bd91f894809e879588825
2023-08-11 17:47:52 +09:00
Takashi Kajinami
e0ca295448 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: I245582e5eb7c22bb2db3a9bbb9d8de80cfb00d34
2023-08-11 00:41:29 +09:00
Takashi Kajinami
8a5b3ffbf1 Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: Ic78d8c273f9dfd5d979b2e449fc36ec9aa77f262
2023-07-17 13:01:02 +09:00
Takashi Kajinami
180cb23ce0 Ensure proper type for polling_meters
This parameter requires an array value. Let's validate the input at
the parameter layer to avoid unexpected failure within the lower logic.

Change-Id: Ib370a7c6930398675e8c18011e9ea8d5a90d0525
2023-06-22 16:15:13 +09:00
Zuul
51985be052 Merge "replace validate_legacy with proper data types" 2023-06-20 00:18:21 +00:00
Takashi Kajinami
0827ad6fc3 replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: I8656f4aba542881afa68966cc63bd8c085b52bda
2023-06-19 02:46:02 +00:00
Yadnesh Kulkarni
524ae2eead Add "tenant_name_discovery" to all namespaces
Upon enabling this parameter in all namespaces, ceilometer
agents(central, compute, ipmi) will be able to identify users
and project names in the metrics generated from their nodes.

Without this change, the parameter is missing in compute and
ipmi namespace.

Change-Id: I0c047e9c8e33c05247d7af69d2a80e7cc22a0304
2023-06-13 10:55:39 +05:30