]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/log
puppet-modules/puppet-ceilometer.git
2 years agoMerge "Remove config file for Travis"
Zuul [Tue, 11 Apr 2023 16:37:20 +0000 (16:37 +0000)]
Merge "Remove config file for Travis"

2 years agoRemove config file for Travis
Takashi Kajinami [Thu, 6 Apr 2023 12:16:06 +0000 (21:16 +0900)]
Remove config file for Travis

... because we are not using it.

Change-Id: I787ae4156606377f29af94f0019b3f00e63019d5

2 years agoUpdate master for stable/2023.1
OpenStack Release Bot [Wed, 5 Apr 2023 15:28:39 +0000 (15:28 +0000)]
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

2 years agoPrepare 2023.1 release 22.0.0
Takashi Kajinami [Thu, 23 Mar 2023 12:48:41 +0000 (21:48 +0900)]
Prepare 2023.1 release

Change-Id: I5b84abfbf4e4f6dbe7a988bf0a5fda8fb9cdc339

2 years agoAdd strict validation about boolean parameters
Takashi Kajinami [Tue, 28 Feb 2023 02:03:08 +0000 (11:03 +0900)]
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

2 years agoReplace legacy facts and use fact hash
Takashi Kajinami [Wed, 1 Mar 2023 05:58:01 +0000 (14:58 +0900)]
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

2 years agoMerge "Remove snmp metrics from polling.yaml"
Zuul [Tue, 21 Feb 2023 04:05:34 +0000 (04:05 +0000)]
Merge "Remove snmp metrics from polling.yaml"

2 years agoSupport separate polling agents
Takashi Kajinami [Fri, 9 Sep 2022 09:05:15 +0000 (18:05 +0900)]
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

2 years agoRemove snmp metrics from polling.yaml
Takashi Kajinami [Mon, 13 Feb 2023 08:51:17 +0000 (17:51 +0900)]
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

2 years agonotification: Support tuning batch processing
Takashi Kajinami [Mon, 23 Jan 2023 07:11:38 +0000 (16:11 +0900)]
notification: Support tuning batch processing

This change introduces support for the option to tune batch processing
by notification agent.

Change-Id: I9cdbbe9becfffce68966a29b9e803218637d7714

2 years agoSwitch to Ubuntu Jammy (22.04)
Takashi Kajinami [Sun, 15 Jan 2023 13:18:03 +0000 (22:18 +0900)]
Switch to Ubuntu Jammy (22.04)

... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ie7712226c4a804cd86fec4f234f3c415079a0e27

2 years agoRemove implementations to set up Ceilometer DB
Takashi Kajinami [Thu, 24 Nov 2022 04:50:42 +0000 (13:50 +0900)]
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] 60882c29dff6b5302d982eaf79796913c4a8bea9

Change-Id: Id18b9221703eda9311b81c5a5dfdd41cc68f5424

2 years agoRemove parameters for [hardware] options
Takashi Kajinami [Tue, 15 Nov 2022 02:13:31 +0000 (11:13 +0900)]
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] e5ce40b16d7534a917416cb2e5f3669336fc816f

Change-Id: Ibaba550aa9a13c7b1afb62970e391c1d4beb2f08

2 years agoUpdate master for stable/zed
OpenStack Release Bot [Thu, 20 Oct 2022 11:02:00 +0000 (11:02 +0000)]
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

2 years agoPrepare Zed RC1 21.0.0
Takashi Kajinami [Wed, 5 Oct 2022 09:10:41 +0000 (18:10 +0900)]
Prepare Zed RC1

Change-Id: Id6c07d1d212bd0893fcaa22510a29deedfcae9a4

2 years agoAdd new parameter `tenant_name_discovery`
Yadnesh Kulkarni [Fri, 9 Sep 2022 15:18:40 +0000 (15:18 +0000)]
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

2 years agoForcefully purge [hardware] readonly_user_* parameters
Takashi Kajinami [Wed, 7 Sep 2022 15:02:36 +0000 (00:02 +0900)]
Forcefully purge [hardware] readonly_user_* parameters

This is follow-up of e5ce40b16d7534a917416cb2e5f3669336fc816f 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

2 years agoEnable memcached and redis in acceptance tests
Takashi Kajinami [Tue, 30 Aug 2022 15:51:48 +0000 (00:51 +0900)]
Enable memcached and redis in acceptance tests

... because these are required as cache/coordination backend.

Change-Id: I833d06ace65f97c68c3024ef7f283c8b09181939

2 years agoRemove deprecated notificaton_workers
Takashi Kajinami [Tue, 16 Aug 2022 23:54:12 +0000 (08:54 +0900)]
Remove deprecated notificaton_workers

... because the parameter was deprecated during Wallaby cycle[1] in
favor of the new workers parameter.

[1] 15921006c595ff705be40c02d324a387c92a4339

Change-Id: I787bbe850cfcca737b9ad9de5db676b868549f2e

2 years agoRemove deprecated ceilometer::agent::polling::coordination_url
Takashi Kajinami [Thu, 4 Aug 2022 16:14:13 +0000 (01:14 +0900)]
Remove deprecated ceilometer::agent::polling::coordination_url

... because it was deprecated during Xena cycle[1] in favor of the new
ceilometer::coordination class.

[1] 1155b41db051e95e9246aa02eed2205f1f0f845a

Change-Id: I0885b79bd83bcc3b41b8da0bd0fd00f29d176f13

2 years agoRevert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
Takashi Kajinami [Sat, 23 Jul 2022 16:07:32 +0000 (01:07 +0900)]
Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"

This reverts commit 23ab18bfb6f53e39665770e9588826f61d919dbb.

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: I4165cdb8062f22ec73fca94e184bd42960c8bead

2 years agoMerge "Add acceptance tests for config management resources"
Zuul [Fri, 15 Jul 2022 19:46:09 +0000 (19:46 +0000)]
Merge "Add acceptance tests for config management resources"

2 years agoFix wrong test description
Takashi Kajinami [Mon, 11 Jul 2022 14:26:04 +0000 (23:26 +0900)]
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: I78750bdfd66785f822a37d724cd4f50eca8e0bab

2 years agoAdd acceptance tests for config management resources
Takashi Kajinami [Sat, 9 Jul 2022 03:20:10 +0000 (12:20 +0900)]
Add acceptance tests for config management resources

Change-Id: Ibf9df166c7262d51ed937d4cf4f3fc30099fa57b

3 years agoMerge "Deprecate classes to set up Ceilometer DB"
Zuul [Mon, 20 Jun 2022 19:38:10 +0000 (19:38 +0000)]
Merge "Deprecate classes to set up Ceilometer DB"

3 years agoDeprecate classes to set up Ceilometer DB
Takashi Kajinami [Mon, 20 Jun 2022 01:08:13 +0000 (10:08 +0900)]
Deprecate classes to set up Ceilometer DB

Since metric/event storage was offloaded to Gnocchi/Panko, ceilometer
no longer requires its own backend storage.

Change-Id: Idf9904e7e8f1b5eca3f25cd37fb83e9adbca0995

3 years agoClean up deprecated cache parameters
Takashi Kajinami [Sun, 19 Jun 2022 12:50:29 +0000 (21:50 +0900)]
Clean up deprecated cache parameters

These parameters were deprecated during Yoga cycle[1].

[1] a7cf7060ddfeab7440bf2e84522d220014c10bd8

Change-Id: I0358678a9298dfceb9c4ebf918ef334f0f5e496d

3 years agoFix typos in parameter descriptions and tests
Rajesh Tailor [Fri, 17 Jun 2022 13:36:27 +0000 (19:06 +0530)]
Fix typos in parameter descriptions and tests

Change-Id: Id17358fce48468284f162a6de35840d439871cd5

3 years agoMerge "Refactor service user/group management"
Zuul [Tue, 14 Jun 2022 02:26:50 +0000 (02:26 +0000)]
Merge "Refactor service user/group management"

3 years agoReplace usage of mongodb in unit tests
Takashi Kajinami [Wed, 8 Jun 2022 02:05:44 +0000 (11:05 +0900)]
Replace usage of mongodb in unit tests

... because mongodb is no longer supported[1].

[1] 2ad73a71c095bf534ed9f6a5d4356d1843a5d919

Change-Id: I1aed43e43b6c848f6c20fd569dbf4422c2125400

3 years agoRemove support for CentOS 8 Stream
Takashi Kajinami [Thu, 26 May 2022 17:14:00 +0000 (02:14 +0900)]
Remove support for CentOS 8 Stream

... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Depends-on: https://review.opendev.org/843503
Change-Id: I7fb65dd139e2ad9db27879372bca38fe7ad42cbc

3 years agoRefactor service user/group management
Takashi Kajinami [Sat, 14 May 2022 16:01:23 +0000 (01:01 +0900)]
Refactor service user/group management

This change refactors how the ceilometer service user and group are
managed.

- The ceilometer service user and group are created by the common
  package. While the user resource should still be declared to manage
  its group membership, we don't need the group resource.

- Introduces the configuration knob to disable user/group management.
  This would be useful in the case where all service users are
  declared externally.

Change-Id: Iaabe5b02f0ebd782debd0f3ca41e2fdafbf9c80f

3 years agoMerge "polling: Ensure unused parameters are cleared"
Zuul [Wed, 11 May 2022 10:29:07 +0000 (10:29 +0000)]
Merge "polling: Ensure unused parameters are cleared"

3 years agoDeprecate support for [hardware] options
Takashi Kajinami [Fri, 6 May 2022 03:19:10 +0000 (12:19 +0900)]
Deprecate support for [hardware] options

... because these options were deprecated during the Yoga cycle when
GenericHardwareDeclarativePollster was deprecated[1].

[1] d10f6ca32fd9dfe5100cb54531adb4bba866edf8

Change-Id: I2bf6423d54234822b05a1a22f3cc29d0f7a3c1e7

3 years agopolling: Ensure unused parameters are cleared
Takashi Kajinami [Tue, 3 May 2022 15:48:48 +0000 (00:48 +0900)]
polling: Ensure unused parameters are cleared

... instead of leaving the parameters unmanaged.

Change-Id: I0eeb25b131385ad4448fc8cec04efbdce0b7d87a

3 years agoUpdate master for stable/yoga
OpenStack Release Bot [Tue, 5 Apr 2022 09:09:00 +0000 (09:09 +0000)]
Update master for stable/yoga

Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: I2ad2a0a8d672dc1f0f92bc8a473353f842adc56f

3 years agoMerge "Remove unused "transformers" field from event pipeline configuration" 20.3.0
Zuul [Wed, 30 Mar 2022 08:33:30 +0000 (08:33 +0000)]
Merge "Remove unused "transformers" field from event pipeline configuration"

3 years agoMerge "Remove unused "triggers" field from event pipeline configuration"
Zuul [Wed, 30 Mar 2022 08:01:57 +0000 (08:01 +0000)]
Merge "Remove unused "triggers" field from event pipeline configuration"

3 years agosetuptools: Disable auto discovery
Jiri Podivin [Tue, 29 Mar 2022 08:37:24 +0000 (10:37 +0200)]
setuptools: Disable auto discovery

The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.

~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~

Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

[1] https://github.com/pypa/setuptools/issues/3197

Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I1777e91b28974980c3d32341435538128a66872c

3 years agoRemove unused "transformers" field from event pipeline configuration
Takashi Kajinami [Thu, 24 Mar 2022 16:43:07 +0000 (01:43 +0900)]
Remove unused "transformers" field from event pipeline configuration

Transformer was already removed from ceilometer by [1]. This field
was removed from the example configuration file when transformer was
deprecated[2].

[1] 9db5c6c9bfc66018aeb78c4a262e1bfa9b326798
[2] 1dcbd607df0696101b40f77d7721489679ebe0ba

Change-Id: I012d3f960d2a562c2735e7b5c1e408a3a1addb70

3 years agoRemove unused "triggers" field from event pipeline configuration
Takashi Kajinami [Thu, 24 Mar 2022 16:42:19 +0000 (01:42 +0900)]
Remove unused "triggers" field from event pipeline configuration

The triggers field is no longer used. The field was removed from
the example file by c569fcd5ed59b00950a2ac7b9df75eb700a883e8 .

Change-Id: I03b1daffa4de60f562f747b1c88ffb444020905f

3 years agoPrepare Yoga RC1
Takashi Kajinami [Fri, 11 Mar 2022 12:39:29 +0000 (21:39 +0900)]
Prepare Yoga RC1

Change-Id: I6e5e0e80ef5181a9a04bd8d297e24810776cc3df

3 years agoMerge "Globally support system scope credentials"
Zuul [Sat, 12 Mar 2022 05:19:54 +0000 (05:19 +0000)]
Merge "Globally support system scope credentials"

3 years agoremove unicode literal from code
Takashi Kajinami [Tue, 8 Mar 2022 00:06:07 +0000 (09:06 +0900)]
remove unicode literal from code

All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: Ie93f78c505b89bf5405ef492088e0114f54010fb
Co-Authored-By: LiZekun <2954674728@qq.com>
3 years agoGlobally support system scope credentials
Takashi Kajinami [Thu, 3 Mar 2022 15:41:56 +0000 (00:41 +0900)]
Globally support system scope credentials

After spending huge effort to understand the exact requirements to
enforce SRBAC, we learned it's very difficult to find the required
scope in each credential. This requires understanding implementation of
client-side as well as server-side, and requirement might be different
according to the deployment architecture or features used.

Instead of implementing support based on the actual implementation,
this introduces support for system scope credentials to all places
where keystone user credential is defined, and make all credential
configurations consistent.

Change-Id: I3a659a6b43d9c47e88334c24fb866a73a8f24a24

3 years agoPrepare Yoga M3 20.2.0
ZhongShengping [Thu, 24 Feb 2022 08:13:07 +0000 (16:13 +0800)]
Prepare Yoga M3

Update the version metadata for Yoga milestone M3

Change-Id: I90d0a024b6a862095681b8d543f66d9ceb086c1c

3 years agoMerge "Add CentOS/RHEL 9 to supported operating systems"
Zuul [Thu, 24 Feb 2022 15:19:29 +0000 (15:19 +0000)]
Merge "Add CentOS/RHEL 9 to supported operating systems"

3 years agoMerge "Fix missing mode/owner/group enforcement of polling.yaml"
Zuul [Tue, 22 Feb 2022 16:25:04 +0000 (16:25 +0000)]
Merge "Fix missing mode/owner/group enforcement of polling.yaml"

3 years agoAdd CentOS/RHEL 9 to supported operating systems
Takashi Kajinami [Tue, 22 Feb 2022 16:08:34 +0000 (01:08 +0900)]
Add CentOS/RHEL 9 to supported operating systems

... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I0590ce6552ffb72389a3d793267e4e68510af7c1

3 years agoFix missing mode/owner/group enforcement of polling.yaml
Takashi Kajinami [Sun, 20 Feb 2022 09:57:46 +0000 (18:57 +0900)]
Fix missing mode/owner/group enforcement of polling.yaml

... and avoid hard-coding user/group but use the definition in
the params class.

Change-Id: Ia5f1e356902ad544fe7eb17e53b3b274475d40a8

3 years agoMerge "Remove deprecated database_min_pool_size"
Zuul [Sat, 19 Feb 2022 16:34:55 +0000 (16:34 +0000)]
Merge "Remove deprecated database_min_pool_size"

3 years agoMerge "Remove deprecated amqp_allow_insecure_clients"
Zuul [Fri, 18 Feb 2022 09:55:07 +0000 (09:55 +0000)]
Merge "Remove deprecated amqp_allow_insecure_clients"

3 years agoCentOS 9: Disable unit tests dependent on puppet-postgresql
Takashi Kajinami [Tue, 15 Feb 2022 15:00:55 +0000 (00:00 +0900)]
CentOS 9: Disable unit tests dependent on puppet-postgresql

The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: Ic9c6b8cd1bd6992c3ded3bbe4c07150246f86852

3 years agoMerge "Add scenario002 integration job"
Zuul [Mon, 14 Feb 2022 11:27:57 +0000 (11:27 +0000)]
Merge "Add scenario002 integration job"

3 years agoRemove deprecated database_min_pool_size
Takashi Kajinami [Tue, 8 Feb 2022 13:32:53 +0000 (22:32 +0900)]
Remove deprecated database_min_pool_size

... because it was deprecated during Ussuri cycle.

Change-Id: I57932a91d14af5cab2542d5eae7e4aa579cd0d28

3 years agoRemove deprecated amqp_allow_insecure_clients
Takashi Kajinami [Tue, 8 Feb 2022 12:59:37 +0000 (21:59 +0900)]
Remove deprecated amqp_allow_insecure_clients

... because it was deprecated during Wallaby cycle.

Change-Id: Ie92ba069cd55546994b4b8102fc1d5fc5fd5857a

3 years agoBugfix - Deprecated notification_workers is ignored
Jacob Aharon [Mon, 7 Feb 2022 02:10:32 +0000 (13:10 +1100)]
Bugfix - Deprecated notification_workers is ignored

Change-Id: Id8e9277d4699be3aa6b92dd49b3c24f54316eab1

3 years agoMerge "Update outdated example"
Zuul [Fri, 4 Feb 2022 17:04:00 +0000 (17:04 +0000)]
Merge "Update outdated example"

3 years agoAdd scenario002 integration job
Takashi Kajinami [Fri, 4 Feb 2022 09:28:27 +0000 (18:28 +0900)]
Add scenario002 integration job

... because Telemetry service is now enabled in that scenario.

Depends-on: https://review.opendev.org/825929
Change-Id: I03fe6c57382069200a1057da46fece3d04f1b972

3 years agoUpdate outdated example
Takashi Kajinami [Fri, 4 Feb 2022 03:09:39 +0000 (12:09 +0900)]
Update outdated example

The ceilometer::dispatcher class no longer exists, and its parameters
were replaced by the ones of ceilometer::agent::notification.

Change-Id: Iaf92d94c834e6b34c54d4f270fb007caa37fb367

3 years agoDeprecate cache parameters in the base class
Takashi Kajinami [Thu, 27 Jan 2022 05:04:04 +0000 (14:04 +0900)]
Deprecate cache parameters in the base class

in favor of the new ceilometer::cache class. This should have been done
when we added that class.

Change-Id: Ida080fe2a71d6215a8365cfb4f9f902dfcaaa760

3 years agoAdd HashClient retry options for the dogpile.cache backend
Grzegorz Grasza [Mon, 31 Jan 2022 10:29:13 +0000 (11:29 +0100)]
Add HashClient retry options for the dogpile.cache backend

This patch specifies a set of options required to setup the HashClient
retry feature of dogpile.cache cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/824944

Depends-On: https://review.opendev.org/826870
Change-Id: Idb2fe7e5573103d9e7ef36652fc2b4252418cdc3

3 years agoAdd cache client retry options for the pymemcache backend
Grzegorz Grasza [Mon, 31 Jan 2022 09:55:57 +0000 (10:55 +0100)]
Add cache client retry options for the pymemcache backend

This patch specifies a set of options required to setup the retrying
wrapper feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803747

Depends-On: https://review.opendev.org/826869
Change-Id: I6ab9dcd40678d98aceed8fe28658b984b41a63cb

3 years agoMerge "Add socket keepalive options for the pymemcache backend"
Zuul [Fri, 28 Jan 2022 22:08:58 +0000 (22:08 +0000)]
Merge "Add socket keepalive options for the pymemcache backend"

3 years agoMerge "Fix duplicate (Optional) in parameter description"
Zuul [Thu, 27 Jan 2022 19:32:57 +0000 (19:32 +0000)]
Merge "Fix duplicate (Optional) in parameter description"

3 years agoFix duplicate (Optional) in parameter description
Takashi Kajinami [Thu, 27 Jan 2022 11:40:53 +0000 (20:40 +0900)]
Fix duplicate (Optional) in parameter description

Trivial-Fix

Change-Id: Ic0ee1a3eba9875160dc7a8a2eb8a506cfe36693e

3 years agoAdd socket keepalive options for the pymemcache backend
Grzegorz Grasza [Thu, 4 Nov 2021 09:57:54 +0000 (10:57 +0100)]
Add socket keepalive options for the pymemcache backend

This patch specifies a set of options required to setup the socket
keepalive feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803716

Depends-On: https://review.opendev.org/807851
Change-Id: I5d7822101da301a6910f4da54569315d5c62f0b7

3 years agoFix wrong service user name in parameter description
Takashi Kajinami [Tue, 25 Jan 2022 01:54:33 +0000 (10:54 +0900)]
Fix wrong service user name in parameter description

Change-Id: I39944bc0089a0dd8209121ec9738ba373c7ae909

3 years agoMerge "Allow customizing roles of the ceilometer service user"
Zuul [Mon, 24 Jan 2022 18:11:15 +0000 (18:11 +0000)]
Merge "Allow customizing roles of the ceilometer service user"

3 years agoMerge "Do not test detail of keystone::auth::service_identity"
Zuul [Mon, 24 Jan 2022 17:29:20 +0000 (17:29 +0000)]
Merge "Do not test detail of keystone::auth::service_identity"

3 years agoAllow customizing roles of the ceilometer service user
Takashi Kajinami [Sat, 22 Jan 2022 12:23:53 +0000 (21:23 +0900)]
Allow customizing roles of the ceilometer service user

This change introduces the capability to customize project-scoped and
system-scoped roles assigned to the ceilometer service user.

Change-Id: I6221fa85ad1fd0388c49f2ed49db1b6645dec3f5

3 years agoDo not test detail of keystone::auth::service_identity
Takashi Kajinami [Sat, 22 Jan 2022 12:19:45 +0000 (21:19 +0900)]
Do not test detail of keystone::auth::service_identity

... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.

Change-Id: If1172824c6f446602632632ad749aed48fb5abfa

3 years agoAvoid testing details of oslo::messaging(::*)
Takashi Kajinami [Fri, 21 Jan 2022 14:33:05 +0000 (23:33 +0900)]
Avoid testing details of oslo::messaging(::*)

... so that any change in puppet-oslo would not directly break unit
tests.

Change-Id: I0579cd61806133d90b8214c7d671e6f651038d87

3 years agoMerge "compute: Add support for tunables parameters"
Zuul [Sat, 8 Jan 2022 05:41:40 +0000 (05:41 +0000)]
Merge "compute: Add support for tunables parameters"

3 years agoPrepare Yoga M2 20.1.0
ZhongShengping [Wed, 1 Dec 2021 06:42:52 +0000 (14:42 +0800)]
Prepare Yoga M2

Update the version metadata for Yoga milestone M2

Change-Id: I220dd6acb06db85a3df744c6554d8e8a2691da6d

3 years agoAdd support for rootwrap.conf
Takashi Kajinami [Mon, 27 Dec 2021 03:05:35 +0000 (12:05 +0900)]
Add support for rootwrap.conf

Change-Id: I2a6f5c4c6a185c1bf71c4136dee425afdfc0ce56

3 years agoMerge "Remove deprecated ceilometer::agent::auth"
Zuul [Sat, 1 Jan 2022 21:25:18 +0000 (21:25 +0000)]
Merge "Remove deprecated ceilometer::agent::auth"

3 years agoMerge "Remove unnecessary dependency"
Zuul [Thu, 30 Dec 2021 21:26:14 +0000 (21:26 +0000)]
Merge "Remove unnecessary dependency"

3 years agoRemove deprecated ceilometer::agent::auth
Takashi Kajinami [Mon, 27 Dec 2021 12:24:43 +0000 (21:24 +0900)]
Remove deprecated ceilometer::agent::auth

... because it was deprecated during Wallaby cycle[1].

[1] 9a5323ad18b9bc0e15b514ea98449a3ea5d58b68

Change-Id: I2fd3ecdefc0181dd47e23f125d887e86228a99b6

3 years agoRemove unnecessary dependency
Takashi Kajinami [Mon, 27 Dec 2021 03:06:19 +0000 (12:06 +0900)]
Remove unnecessary dependency

Current Ceilometer doesn't provide API, thus it doesn't use policy
files.

Change-Id: I3006a03d788df043151655589fb57e027e0bd9e2

3 years agoLoad libraries in a single place
Takashi Kajinami [Mon, 27 Dec 2021 02:58:53 +0000 (11:58 +0900)]
Load libraries in a single place

This change refactors how the dependent libraries are loaded during
unit tests, and load the libraries in the base spec_helper to avoid
duplicate and redundant implementations.

Change-Id: I440118c0a63a19cde453c2ba5b73b23604d868cd

3 years agocompute: Add support for tunables parameters
Takashi Kajinami [Fri, 17 Dec 2021 06:39:14 +0000 (15:39 +0900)]
compute: Add support for tunables parameters

Change-Id: I21c1f7b46c008131301a86ab01616dd9b63b610d

3 years agoAdd support for oslo.cache parameters
Takashi Kajinami [Mon, 29 Nov 2021 01:49:36 +0000 (10:49 +0900)]
Add support for oslo.cache parameters

Since [1] was merged, ceilometer supports caching attributes of gnocchi
resource using the oslo.cache library. This change allows setting
parameters of the oslo.cache library to leverage the caching feature.

[1] 2511cfb6e48c5d03cd198ecf9f09f36db3caced8

Change-Id: I382816bc199f0d54337b25ab6e07fd0a32d2e4e8

3 years agoInstall coordination backend packages before starting services
Takashi Kajinami [Mon, 29 Nov 2021 01:14:15 +0000 (10:14 +0900)]
Install coordination backend packages before starting services

Change-Id: Id2fd19b3319ec35a684b9cb5fa1a4a56d4bc9793

3 years agoMerge "Add support for [polling] batch_size" 20.0.0
Zuul [Wed, 17 Nov 2021 13:16:32 +0000 (13:16 +0000)]
Merge "Add support for [polling] batch_size"

3 years agoMerge "Add support for polling Radosgw metrics"
Zuul [Wed, 10 Nov 2021 17:50:27 +0000 (17:50 +0000)]
Merge "Add support for polling Radosgw metrics"

3 years agoMerge "Add support for the [service_types] parameters"
Zuul [Wed, 10 Nov 2021 17:50:25 +0000 (17:50 +0000)]
Merge "Add support for the [service_types] parameters"

3 years agoMerge "Do not hardcode default of [DEFAULT] http_timeout"
Zuul [Tue, 9 Nov 2021 08:57:42 +0000 (08:57 +0000)]
Merge "Do not hardcode default of [DEFAULT] http_timeout"

3 years agoMerge "Add support for [DEFAULT] max_parallel_requests"
Zuul [Tue, 9 Nov 2021 08:33:05 +0000 (08:33 +0000)]
Merge "Add support for [DEFAULT] max_parallel_requests"

3 years agoAdd support for polling Radosgw metrics
Takashi Kajinami [Mon, 8 Nov 2021 15:28:19 +0000 (00:28 +0900)]
Add support for polling Radosgw metrics

Ceilometer supports polling metrics from the Radosgw service using
radosgw.* pollsters. This change introduces support for the parameters
required to use that feature.

Change-Id: I58be60247bba1483f49f830802d422109ff13930

3 years agoAdd support for the [service_types] parameters
Takashi Kajinami [Mon, 8 Nov 2021 15:10:06 +0000 (00:10 +0900)]
Add support for the [service_types] parameters

Change-Id: Ia81c9c3da067cacf131262a0ad9cfa575ff3c246

3 years agoRemove unused, outdated unit test cases
Takashi Kajinami [Mon, 8 Nov 2021 14:24:23 +0000 (23:24 +0900)]
Remove unused, outdated unit test cases

These test cases were added when the metering_secret parameter was
deprecated in favor of the new telemetry_secret parameter[1], but were
not enabled properly.

The deprecated metering_secret parameter was later removed[2] but
these ineffective test cases were not removed at that time.

[1] 4600d4135ac1bef01f7a7dd4b12582a0c8db6b50
[2] f28830d5aae8021215026bdf2f63a8713b7deeb1

Change-Id: I80290f4388e9bb3eb5542a9d1e70ccea81698905

3 years agoDo not hardcode default of [DEFAULT] http_timeout
Takashi Kajinami [Mon, 8 Nov 2021 14:19:26 +0000 (23:19 +0900)]
Do not hardcode default of [DEFAULT] http_timeout

Currently the ceilometer::http_timeout parameter defaults to 600 but
this equals to the default value defined in ceilometer itself.
This change removes that hardcode in puppet-ceilometer and just let
the service default used.

Change-Id: Idbd14e267b8759f7313a1a74db03f47e69a899aa

3 years agoAdd support for [DEFAULT] max_parallel_requests
Takashi Kajinami [Mon, 8 Nov 2021 14:18:22 +0000 (23:18 +0900)]
Add support for [DEFAULT] max_parallel_requests

Change-Id: I8fc892301c06d9ff0cb4a687c02c35fcb6942d11

3 years agoAdd support for [polling] batch_size
Takashi Kajinami [Fri, 5 Nov 2021 00:27:42 +0000 (09:27 +0900)]
Add support for [polling] batch_size

Change-Id: I44f07afcdd5a723afda8a9fb2abd698508694278

3 years agoBump puppetlabs-inifile
Takashi Kajinami [Tue, 2 Nov 2021 03:59:15 +0000 (12:59 +0900)]
Bump puppetlabs-inifile

Depends-on: https://review.opendev.org/816117
Change-Id: I03c3f2a90aecad04c2430bb25ddddd6b81e70b4d

3 years agoRemove the ceilometer::policy class
Takashi Kajinami [Tue, 12 Oct 2021 04:35:47 +0000 (13:35 +0900)]
Remove the ceilometer::policy class

... because it was deprecated during the Xena cycle and has had no
effect since then.

Change-Id: I5c65afbc9f33b8d02545cceb29f305e8bd50ff47

3 years agoBump version for the start of Yoga
Takashi Kajinami [Mon, 11 Oct 2021 01:57:07 +0000 (10:57 +0900)]
Bump version for the start of Yoga

Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: I4f28462e427896cb74b290b69eb6ac7f72ad72c3

3 years agoUpdate master for stable/xena
OpenStack Release Bot [Thu, 7 Oct 2021 08:21:06 +0000 (08:21 +0000)]
Update master for stable/xena

Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: I28c72076d5ff99acaa85c2f0f2c123a21dc2021c

3 years agoAdd information technology in the setup.cfg 19.4.0
ZhongShengping [Thu, 30 Sep 2021 22:54:49 +0000 (06:54 +0800)]
Add information technology in the setup.cfg

Change-Id: I101fcbd2b21e8a6724bbb3fe14b82f774b33e301