]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/log
puppet-modules/puppet-ceilometer.git
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

3 years agoAdd license information in the setup.cfg
ZhongShengping [Thu, 30 Sep 2021 08:48:13 +0000 (16:48 +0800)]
Add license information in the setup.cfg

Change-Id: I2b8ce076f736b3eecfc4cd97b5ce06eeb80ce924

3 years agoDelete useless code for setup.py
ZhongShengping [Thu, 30 Sep 2021 05:38:32 +0000 (13:38 +0800)]
Delete useless code for setup.py

Change-Id: I2ae38c8627921bb206ed9c7821cfbc2f72ff1154

3 years agoMerge "Stop configuring install_command in tox."
Zuul [Wed, 29 Sep 2021 12:05:53 +0000 (12:05 +0000)]
Merge "Stop configuring install_command in tox."

3 years agoMerge "Fix pbr>=2.0.0 for setup.py"
Zuul [Wed, 29 Sep 2021 09:11:49 +0000 (09:11 +0000)]
Merge "Fix pbr>=2.0.0 for setup.py"

3 years agoStop configuring install_command in tox.
Takashi Kajinami [Wed, 29 Sep 2021 08:58:57 +0000 (17:58 +0900)]
Stop configuring install_command in tox.

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: Ibb01a28bc7369b18416354c8aa363780f7841094
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
3 years agoFix pbr>=2.0.0 for setup.py
ZhongShengping [Wed, 29 Sep 2021 08:37:10 +0000 (16:37 +0800)]
Fix pbr>=2.0.0 for setup.py

Change-Id: I8b64ef95b2eb6d795aeecf4f36c07bc618e457cb

3 years agoUpdate openstackdocstheme to the latest version
ZhongShengping [Wed, 29 Sep 2021 08:06:50 +0000 (16:06 +0800)]
Update openstackdocstheme to the latest version

Change-Id: I679b88351b23d55870951c120cf7a00ab2faac67

3 years agoUpdate reno to the latest version
ZhongShengping [Tue, 28 Sep 2021 09:14:34 +0000 (17:14 +0800)]
Update reno to the latest version

Change-Id: I3408c2477855df0cc5168448945120006d7264b1

3 years agoDo not define service resource when manage_service is false
Takashi Kajinami [Fri, 24 Sep 2021 07:58:52 +0000 (16:58 +0900)]
Do not define service resource when manage_service is false

Change-Id: I24364dd2ec612f1d20bc5ff8076af34d7aaa5e9c

3 years agoUse package resource directly
Takashi Kajinami [Fri, 24 Sep 2021 07:49:05 +0000 (16:49 +0900)]
Use package resource directly

... instead of using ensure_resource to define a package resource,
because it is not expected that ceilometer packages are managed outside
of puppet-ceilometer.

Change-Id: I541450707b64277b30d55f136d57b8cf4443cfd4

3 years agoMerge "[hardware] readonly_user_password should be secret"
Zuul [Thu, 23 Sep 2021 19:40:56 +0000 (19:40 +0000)]
Merge "[hardware] readonly_user_password should be secret"

3 years agoMerge "Remove parameters for keystone endpoint/service"
Zuul [Thu, 23 Sep 2021 19:19:30 +0000 (19:19 +0000)]
Merge "Remove parameters for keystone endpoint/service"

3 years agoMerge "Do not use the deprecated service_type in unit tests"
Zuul [Thu, 23 Sep 2021 18:19:34 +0000 (18:19 +0000)]
Merge "Do not use the deprecated service_type in unit tests"

3 years ago[hardware] readonly_user_password should be secret
Takashi Kajinami [Thu, 23 Sep 2021 13:37:02 +0000 (22:37 +0900)]
[hardware] readonly_user_password should be secret

... because the parameter accepts a password string.

Change-Id: I362b09f60c22d615ed13c79bbc25f27f3b73feb5

3 years agoFix stdlib version in metadata
ZhongShengping [Thu, 23 Sep 2021 11:44:22 +0000 (19:44 +0800)]
Fix stdlib version in metadata

puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.

Change-Id: Iec35b36d42bfab89a98e5792c2490832e087c68d

3 years agoRemove parameters for keystone endpoint/service
Takashi Kajinami [Tue, 21 Sep 2021 08:33:06 +0000 (17:33 +0900)]
Remove parameters for keystone endpoint/service

... because these parameters were deprecated during the wallaby
cycle[1], and has been ineffective since then.

[1] be7a359ad661aa5a3950974e25adf9aa343ee369

Change-Id: I1a5fc6eb74d6decf8bbec0eabf688cb7da921c3d

3 years agoDo not use the deprecated service_type in unit tests
Takashi Kajinami [Wed, 22 Sep 2021 10:11:42 +0000 (19:11 +0900)]
Do not use the deprecated service_type in unit tests

... because the parameter is ineffective now.

Change-Id: I6aead4793b936b68fbf2e7b140b5057379296a61

3 years agoPrepare Xena RC1
ZhongShengping [Fri, 17 Sep 2021 09:36:09 +0000 (17:36 +0800)]
Prepare Xena RC1

Update the version metadata for Xena milestone RC1

Change-Id: I1305fd4e5f3795cbef5160e435a723d781568f98

3 years agoAdd watch_log_file option
ZhongShengping [Tue, 14 Sep 2021 08:02:08 +0000 (16:02 +0800)]
Add watch_log_file option

Add support for Using logging handler designed to watch file system.

Change-Id: I0ac91a77a1809ee851821bd6f52a43cc6fda890b
Closes-Bug: #1943212

3 years agoPrepare Xena M3 19.3.0
ZhongShengping [Mon, 6 Sep 2021 07:32:07 +0000 (15:32 +0800)]
Prepare Xena M3

Update the version metadata for Xena milestone M3

Change-Id: I5c31db649e922cc3f58d548d31610bd37bbb21bb

3 years agoMerge "Deprecate the ceilometer::policy class"
Zuul [Mon, 16 Aug 2021 17:33:07 +0000 (17:33 +0000)]
Merge "Deprecate the ceilometer::policy class"

3 years agoDeprecate the ceilometer::policy class
Takashi Kajinami [Sat, 14 Aug 2021 15:25:40 +0000 (00:25 +0900)]
Deprecate the ceilometer::policy class

Ceilometer removed its API service a long ago and no longer uses policy
rules. This change deprecates the invalid class to manage oslo.policy
settings.

Change-Id: Id2a7ebaf57b97083b8cc9eb32a8ecefcee39672f

3 years agoSupport Puppet 7
Takashi Kajinami [Sat, 14 Aug 2021 10:28:47 +0000 (19:28 +0900)]
Support Puppet 7

Puppet 7 has been tested in CI for a while but we haven't seen any
issue with it. Let's officially support the version.

Change-Id: Ic7849c10de99db67eab25a0b7f0dea62e082f275

3 years agoPrepare Xena M2 19.2.0
ZhongShengping [Mon, 26 Jul 2021 11:03:46 +0000 (19:03 +0800)]
Prepare Xena M2

Update the version metadata for Xena milestone M2

Change-Id: I357504b139b23e053253e4e158ab4c0bd5e903c6

3 years agoMerge "Use oslo::coordination to manage coordination parameters" 19.1.0
Zuul [Mon, 28 Jun 2021 10:13:07 +0000 (10:13 +0000)]
Merge "Use oslo::coordination to manage coordination parameters"

4 years agoMerge "Set fixture paths for unit tests"
Zuul [Wed, 2 Jun 2021 23:46:48 +0000 (23:46 +0000)]
Merge "Set fixture paths for unit tests"

4 years agoSet fixture paths for unit tests
Takashi Kajinami [Wed, 2 Jun 2021 04:47:49 +0000 (13:47 +0900)]
Set fixture paths for unit tests

This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.

Closes-Bug: #1930403
Change-Id: I9342ae7e8945cf8a8d05c0d8d2956191605c7ad8

4 years agoAdd a release note about Fedora support removal
Takashi Kajinami [Mon, 31 May 2021 07:16:14 +0000 (16:16 +0900)]
Add a release note about Fedora support removal

This is a follow up commit of [1] and adds a proper release note to
announce that Fedora is no longer supported.

[1] 9c876228713889cfe89bfb62f0522ceb7bddc385

Change-Id: I402daedd6c3a950baa48593281663644551f25bb

4 years agoMerge "Drop Fedora support"
Zuul [Mon, 31 May 2021 07:02:12 +0000 (07:02 +0000)]
Merge "Drop Fedora support"

4 years agoPrepare Xena M1
ZhongShengping [Thu, 27 May 2021 07:50:27 +0000 (15:50 +0800)]
Prepare Xena M1

Update the version metadata for Xena milestone M1

Change-Id: I9a38fe86dde9f2c5a2a0f0970f786d15fe3cad44

4 years agoDrop Fedora support
Takashi Kajinami [Wed, 26 May 2021 09:52:24 +0000 (18:52 +0900)]
Drop Fedora support

Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.

Change-Id: I1230fe902d6c11f77f168b04814c584a3e026a72

4 years agoUse oslo::coordination to manage coordination parameters
Takashi Kajinami [Fri, 21 May 2021 07:02:00 +0000 (16:02 +0900)]
Use oslo::coordination to manage coordination parameters

This change replaces current implementation about coordination
parameters by oslo::coordination resource type, so that we can gather
all logics related to coordination in a single place.

Depends-on: https://review.opendev.org/791628
Change-Id: I5e0af169ccdb2f4c56318dbc0198f480ab4b15fa