The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: I0bb6c90c38c77942bea7e9cb71cd7fbe6ff64256
This reverts commit 62a6b1eb29.
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.
Change-Id: I5abebaeb747a0f09fc1c66dcd9fbb10c6b5f1955
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: Ie9c0a6f495aeb17c7137ba78efbb1437ddd309a0
... to fix the broken idempotency in litmus job. Current mysql/mariadb
in Ubuntu replaces utf8 with uft8mb3 automatically and this behavior
results in unexpected change in second run.
Depends-on: https://review.opendev.org/804365
Related-Bug: #1929073
Change-Id: Ie8888dca5886fe0048f82450b96f7883760306ea
This change ensures the [DEFAULT] auth_strategy is set. Otherwise
setting the parameter to non-default value doesn't take any effect.
Change-Id: I3fddb08c83dc6bbf10d395c8601e9982de79954f
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: Ida6cdf9d529376c11d121bd22f219f575028a95c
This change introduces a new resource type and the corresponding puppet
parameter to allow managing records in api-paste.ini.
Change-Id: I92df917887da3220dfb7c7ed10fac123f01af1aa
This replaces the provider implementation of tacker_config type so
that MultiStrOpt, which is used by several options like
- oslo_messaging_notifications/driver
- oslo_policy/policy_dirs
are handled correctly.
Change-Id: Ie75269a987c39d4ce24e8cafc652876aff56fb49
This change is the first step to support secure RBAC and allows usage
of system scope credentials for Keystone API request.
This change covers the following two items.
- assignment of system scope roles to system user
- credential parameters for authtoken middleware
Depends-on: https://review.opendev.org/804325
Change-Id: I8bd8e455c739d6eaa43d3ea22af86003a7617bc9
... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.
Change-Id: I3c539f688e2c266b3b68050cf24a3136ba0c4faf
The authtoken parameters are not managed directly but managed by
the keystone::resource::authtoken class. Thus we should avoid testing
parameters directly otherwise any change in the resource type can
cause test failures.
Change-Id: I4d0180b7d357ad225c7d49786e45f307dfdec582
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: I34e5b2dfca78528f86eb3021f574212bfe1d8e3f
Since puppetlabs-stdlib 8.0.0, ensure_packages automatically translates
'ensure => present' to 'ensure => installed' and that translation
breaks existing assertions in unit tests.
Change-Id: Iaf3291669b53e8448155280d24188f2159ed66c8
This change introduces the new purge_config parameter to the policy
class so that any policy rules not managed by puppet manifests can be
cleared.
Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>
Depends-On: https://review.opendev.org/802305
Change-Id: I702ddaa8a88e804ea378d686fbbe7ea89ca62823
Recent Tacker uses the tooz library to synchronize vnf action tasks[1].
This change introduces the new tacker::coordination class which manages
coordination parameters and backend packages using oslo::coordination
resource type.
[1] cff8c756822da5a8a7b92eec536db4532d31c408
Depends-on: https://review.opendev.org/791628
Change-Id: I3cb36be7fe6b43133f09ed6edce3f258786d7dc2
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: I2a4c32c174b61a131d97e4ab811237fa1937f7e9
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .
Change-Id: I006c137e78c1bac99202ced38fd6f82a07ad65e3
As Openstack projects continue to have longer database migration
chains, the Puppet default timeout of 300 seconds for an execution
is becoming too short a duration on some hardware, leading to timeouts.
As projects continue to add more migration scripts without pruning
the base, timeouts will continue to become more frequent unless
this time can be expanded.
Change-Id: I3e075edf9e97995ff9d014f41bea72ad758c72e2
Closes-Bug: #1904962
The allow_insecure_clients has been deprecated[1].
[1]https://review.opendev.org/#/c/417629/
Note this patch disables litums tests since it is broken by the issue
with database sync, to unblock the gate.
Change-Id: Ica04d19587fc2c27eba194ea33f2ffca53c4be5f
Closes-Bug: #1902158