Commit Graph

1090 Commits

Author SHA1 Message Date
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
OpenStack Release Bot 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
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
OpenStack Release Bot 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
OpenStack Release Bot 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
OpenStack Release Bot 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
OpenStack Release Bot 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
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
Takashi Kajinami 41268f3493 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Ia97de6aab324096d463bef160b703d18fdb232fc
2023-05-22 03:20:19 +00:00
Zuul 193c186cbf Merge "Bump upper version of puppetlabs-inifile" 2023-04-14 07:24:51 +00:00
Takashi Kajinami 3906f7b2cb 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: Iec4342edc18bce03b528ccd42bab3a7031870916
2023-04-14 11:44:58 +09:00
Zuul 213608fdf9 Merge "Remove config file for Travis" 2023-04-11 16:37:20 +00:00
Takashi Kajinami fcae65edf7 Remove config file for Travis
... because we are not using it.

Change-Id: I787ae4156606377f29af94f0019b3f00e63019d5
2023-04-06 21:16:06 +09:00
OpenStack Release Bot 57fe0d22ef 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: I2916f9346f282da33ee19351a0301a0d5f7d837b
2023-04-05 15:28:39 +00:00
Takashi Kajinami 3511d801d8 Prepare 2023.1 release
Change-Id: I5b84abfbf4e4f6dbe7a988bf0a5fda8fb9cdc339
2023-03-23 22:53:13 +09:00
Takashi Kajinami fc69abdfd2 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: Iaf3c11b61dc738d267282a6bc1d445a554695178
2023-03-03 04:37:46 +00:00
Takashi Kajinami 331b15d107 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Iffdf359f0db141d80168e7bbaa0b10af31ae0ac6
2023-03-01 15:25:59 +09:00