984 Commits

Author SHA1 Message Date
Grzegorz Grasza
f1a4758061 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
2022-01-31 11:32:54 +01:00
Zuul
0b751f669c Merge "Add socket keepalive options for the pymemcache backend" 2022-01-28 22:08:58 +00:00
Zuul
0f3def3265 Merge "Fix duplicate (Optional) in parameter description" 2022-01-27 19:32:57 +00:00
Takashi Kajinami
9252cc892c Fix duplicate (Optional) in parameter description
Trivial-Fix

Change-Id: Ic0ee1a3eba9875160dc7a8a2eb8a506cfe36693e
2022-01-27 20:40:53 +09:00
Grzegorz Grasza
455cf1ba64 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
2022-01-27 20:08:54 +09:00
Takashi Kajinami
fecba8f351 Fix wrong service user name in parameter description
Change-Id: I39944bc0089a0dd8209121ec9738ba373c7ae909
2022-01-25 10:54:33 +09:00
Zuul
2101af92df Merge "Allow customizing roles of the ceilometer service user" 2022-01-24 18:11:15 +00:00
Zuul
49dbd55f16 Merge "Do not test detail of keystone::auth::service_identity" 2022-01-24 17:29:20 +00:00
Takashi Kajinami
68d6a51931 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
2022-01-22 21:24:57 +09:00
Takashi Kajinami
bcb4265b2b 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
2022-01-22 21:24:44 +09:00
Takashi Kajinami
453cc40878 Avoid testing details of oslo::messaging(::*)
... so that any change in puppet-oslo would not directly break unit
tests.

Change-Id: I0579cd61806133d90b8214c7d671e6f651038d87
2022-01-21 23:49:50 +09:00
Zuul
8ff2661983 Merge "compute: Add support for tunables parameters" 2022-01-08 05:41:40 +00:00
ZhongShengping
3e022187f4 Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: I220dd6acb06db85a3df744c6554d8e8a2691da6d
20.1.0
2022-01-07 14:18:05 +00:00
Takashi Kajinami
ddeb43dacc Add support for rootwrap.conf
Change-Id: I2a6f5c4c6a185c1bf71c4136dee425afdfc0ce56
2022-01-03 09:28:20 +09:00
Zuul
6bdf24f750 Merge "Remove deprecated ceilometer::agent::auth" 2022-01-01 21:25:18 +00:00
Zuul
e0d2492f4c Merge "Remove unnecessary dependency" 2021-12-30 21:26:14 +00:00
Takashi Kajinami
e25e6bd483 Remove deprecated ceilometer::agent::auth
... because it was deprecated during Wallaby cycle[1].

[1] 9a5323ad18b9bc0e15b514ea98449a3ea5d58b68

Change-Id: I2fd3ecdefc0181dd47e23f125d887e86228a99b6
2021-12-27 21:26:59 +09:00
Takashi Kajinami
f1dab428d2 Remove unnecessary dependency
Current Ceilometer doesn't provide API, thus it doesn't use policy
files.

Change-Id: I3006a03d788df043151655589fb57e027e0bd9e2
2021-12-27 12:06:19 +09:00
Takashi Kajinami
f9bd8755ed 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
2021-12-27 11:58:53 +09:00
Takashi Kajinami
6892474ace compute: Add support for tunables parameters
Change-Id: I21c1f7b46c008131301a86ab01616dd9b63b610d
2021-12-17 18:11:23 +09:00
Takashi Kajinami
5d40c9503c 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
2021-11-29 10:49:36 +09:00
Takashi Kajinami
b05d311bb6 Install coordination backend packages before starting services
Change-Id: Id2fd19b3319ec35a684b9cb5fa1a4a56d4bc9793
2021-11-29 10:14:38 +09:00
Zuul
8a567216f7 Merge "Add support for [polling] batch_size" 20.0.0 2021-11-17 13:16:32 +00:00
Zuul
29fae2cabd Merge "Add support for polling Radosgw metrics" 2021-11-10 17:50:27 +00:00
Zuul
abab7dcb42 Merge "Add support for the [service_types] parameters" 2021-11-10 17:50:25 +00:00
Zuul
3923bd9dc8 Merge "Do not hardcode default of [DEFAULT] http_timeout" 2021-11-09 08:57:42 +00:00
Zuul
2ce16ad4b8 Merge "Add support for [DEFAULT] max_parallel_requests" 2021-11-09 08:33:05 +00:00
Takashi Kajinami
7fbd758d72 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
2021-11-09 02:30:55 +00:00
Takashi Kajinami
89923f7eb1 Add support for the [service_types] parameters
Change-Id: Ia81c9c3da067cacf131262a0ad9cfa575ff3c246
2021-11-08 23:34:32 +00:00
Takashi Kajinami
31b5d7f00b 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
2021-11-08 23:27:09 +09:00
Takashi Kajinami
ed000c0cda 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
2021-11-08 23:21:50 +09:00
Takashi Kajinami
b1ebc891f1 Add support for [DEFAULT] max_parallel_requests
Change-Id: I8fc892301c06d9ff0cb4a687c02c35fcb6942d11
2021-11-08 23:18:22 +09:00
Takashi Kajinami
c3c1afb8bd Add support for [polling] batch_size
Change-Id: I44f07afcdd5a723afda8a9fb2abd698508694278
2021-11-05 09:27:42 +09:00
Takashi Kajinami
d481b0cec1 Bump puppetlabs-inifile
Depends-on: https://review.opendev.org/816117
Change-Id: I03c3f2a90aecad04c2430bb25ddddd6b81e70b4d
2021-11-02 12:59:15 +09:00
Takashi Kajinami
330da65baf Remove the ceilometer::policy class
... because it was deprecated during the Xena cycle and has had no
effect since then.

Change-Id: I5c65afbc9f33b8d02545cceb29f305e8bd50ff47
2021-10-12 13:35:47 +09:00
Takashi Kajinami
5cf53703eb Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: I4f28462e427896cb74b290b69eb6ac7f72ad72c3
2021-10-11 10:57:07 +09:00
8f648f2379 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
2021-10-07 08:21:06 +00:00
ZhongShengping
07d4c5a8e0 Add information technology in the setup.cfg
Change-Id: I101fcbd2b21e8a6724bbb3fe14b82f774b33e301
19.4.0
2021-10-01 06:54:49 +08:00
ZhongShengping
6f1d3687c4 Add license information in the setup.cfg
Change-Id: I2b8ce076f736b3eecfc4cd97b5ce06eeb80ce924
2021-09-30 16:48:13 +08:00
ZhongShengping
5716118995 Delete useless code for setup.py
Change-Id: I2ae38c8627921bb206ed9c7821cfbc2f72ff1154
2021-09-30 13:38:32 +08:00
Zuul
da421b669a Merge "Stop configuring install_command in tox." 2021-09-29 12:05:53 +00:00
Zuul
59fce8a641 Merge "Fix pbr>=2.0.0 for setup.py" 2021-09-29 09:11:49 +00:00
Takashi Kajinami
dad345e872 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>
2021-09-29 18:04:20 +09:00
ZhongShengping
d0d3f465e1 Fix pbr>=2.0.0 for setup.py
Change-Id: I8b64ef95b2eb6d795aeecf4f36c07bc618e457cb
2021-09-29 16:37:10 +08:00
ZhongShengping
2790fe786d Update openstackdocstheme to the latest version
Change-Id: I679b88351b23d55870951c120cf7a00ab2faac67
2021-09-29 16:06:50 +08:00
ZhongShengping
ce66596c6e Update reno to the latest version
Change-Id: I3408c2477855df0cc5168448945120006d7264b1
2021-09-28 17:14:34 +08:00
Takashi Kajinami
f100a2c545 Do not define service resource when manage_service is false
Change-Id: I24364dd2ec612f1d20bc5ff8076af34d7aaa5e9c
2021-09-24 16:58:52 +09:00
Takashi Kajinami
1dd5ddb827 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
2021-09-24 16:51:08 +09:00
Zuul
317147f670 Merge "[hardware] readonly_user_password should be secret" 2021-09-23 19:40:56 +00:00
Zuul
9f7c5f236b Merge "Remove parameters for keystone endpoint/service" 2021-09-23 19:19:30 +00:00