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
... 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
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
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
This change introduces capability to use separate polling agents
(central, compute and ipmi) instead of the single polling service.
Change-Id: Idaa46ad71f4bedaca91b75a732649de967663659
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
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
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
... because it was deprecated during Xena cycle[1] in favor of the new
ceilometer::coordination class.
[1] 1155b41db0
Change-Id: I0885b79bd83bcc3b41b8da0bd0fd00f29d176f13
This reverts commit 23ab18bfb6.
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
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
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
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
The triggers field is no longer used. The field was removed from
the example file by c569fcd5ed59b00950a2ac7b9df75eb700a883e8 .
Change-Id: I03b1daffa4de60f562f747b1c88ffb444020905f
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
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
This change introduces the capability to customize project-scoped and
system-scoped roles assigned to the ceilometer service user.
Change-Id: I6221fa85ad1fd0388c49f2ed49db1b6645dec3f5
... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.
Change-Id: If1172824c6f446602632632ad749aed48fb5abfa
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