Commit Graph

1078 Commits

Author SHA1 Message Date
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
Zuul 31cead15d3 Merge "Remove snmp metrics from polling.yaml" 2023-02-21 04:05:34 +00:00
Takashi Kajinami 5699fe2418 Support separate polling agents
This change introduces capability to use separate polling agents
(central, compute and ipmi) instead of the single polling service.

Change-Id: Idaa46ad71f4bedaca91b75a732649de967663659
2023-02-15 17:21:23 +09:00
Takashi Kajinami 704a6ea58c Remove snmp metrics from polling.yaml
These metrics are no longer supported by ceilometer since
GenericHardwareDeclarativePollster was removed.

Closes-Bug: #2007108
Depends-on: https://review.opendev.org/c/openstack/ceilometer/+/840808
Change-Id: I0b5d6b360e8912a78f041806323d6b5bc8d87258
2023-02-13 17:59:02 +09:00
Takashi Kajinami fa2b78f2ea notification: Support tuning batch processing
This change introduces support for the option to tune batch processing
by notification agent.

Change-Id: I9cdbbe9becfffce68966a29b9e803218637d7714
2023-01-23 23:06:47 +09:00
Takashi Kajinami a6126de126 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ie7712226c4a804cd86fec4f234f3c415079a0e27
2023-01-15 22:18:03 +09:00
Takashi Kajinami 834d9a6780 Remove implementations to set up Ceilometer DB
Ceilometer no longer requires its own database since metric/event
storage was offloaded to Gnocchi/Panko. These implementations were
formally deprecated during the previous cycle[1] so can be removed.

This also updates the outdated example manifests to adapt to
the removal and the recent refactoring.

[1] 60882c29df

Change-Id: Id18b9221703eda9311b81c5a5dfdd41cc68f5424
2022-11-24 14:08:10 +09:00
Takashi Kajinami 6d78011587 Remove parameters for [hardware] options
... because these parameters were deprecated during the previous
cycle[1] and the feature has been removed from Ceilometer already.

[1] e5ce40b16d

Change-Id: Ibaba550aa9a13c7b1afb62970e391c1d4beb2f08
2022-11-15 11:15:50 +09:00
OpenStack Release Bot 2abdae02d9 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: I26d00b8c3bc3b22bda217edbfcafde759c1f010a
2022-10-20 11:02:00 +00:00
Takashi Kajinami c7eb9c1fc3 Prepare Zed RC1
Change-Id: Id6c07d1d212bd0893fcaa22510a29deedfcae9a4
2022-10-05 18:10:41 +09:00
Yadnesh Kulkarni b00000fb86 Add new parameter `tenant_name_discovery`
Enabling this parameter will identify user and project
names from the polled metrics [1].

These details are collected by making additional requests
to keystone service, depending upon the scale of environment,
number of projects/users and the count of metrics polled in
every iteration, enabling this could overwhelm the keystone
service.

[1] Iee5dbf09a1fd3ac571746fc66d2683eb8e6a1b27

Depends-on: https://review.opendev.org/852948
Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com>
Change-Id: I045c7cd7a86d0f7f97a9078cbfc74353dcff0eb8
2022-09-21 13:35:48 +09:00
Takashi Kajinami 1dcdea2e62 Forcefully purge [hardware] readonly_user_* parameters
This is follow-up of e5ce40b16d and now
enforces that the parameters are removed from ceilometer.conf because
these were already removed from ceilometer and no longer used.

Depends-on: https://review.opendev.org/840808
Change-Id: I4d9196133ead84d4b388929231ce970882fcaaa6
2022-09-08 00:05:44 +09:00
Takashi Kajinami 3cee14c87f Enable memcached and redis in acceptance tests
... because these are required as cache/coordination backend.

Change-Id: I833d06ace65f97c68c3024ef7f283c8b09181939
2022-08-31 00:51:48 +09:00