Note:
The trove::cache class was added during this cycle so we skip adding
a release note file.
Depends-on: https://review.opendev.org/910122
Change-Id: I697f956af1ee8f2fa058e2bb4a577f2c9ab11dee
Trove introduced the healthcheck middleware during this cycle. This
introduces the new class to support the middleware options.
Depends-on: https://review.opendev.org/c/openstack/trove/+/910117
Change-Id: I5baf1e07078cb904d0c1ca17874c2639620e5e4f
Trove supports caching using the oslo.cache library. This add support
for customizing caching options.
Change-Id: Ic4f8b9dc285efb4cd983cc6ba8a9eeaedd188456
... and use the service defaults instead. Current values are based on
the old default values in trove but these were changed in trove some
time ago[1].
[1] 9e3860d54cc0fea59e80b1705c02c78cca8e1953
Change-Id: If6ba170457ca11cbd0531ff8ea1e87346b43dcc2
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.
Also, the troveclient package is required by trove so updating it
should restart the services.
Depends-on: https://review.opendev.org/899594
Change-Id: I52bf30c3ce857509ff1463abb7a493eb8dd48b97
The trove_manage function is quite redundant because it requires
the full argument even including the trove-manage command itself.
This refactors the function using the :commands definition.
Change-Id: Icce7f9a984484c64fe4fec63cfaa93b50d3b4f14
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='...
```
This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.
[1] 316d95923c
Change-Id: I0d6dc19fe8c34c89cdbbde3770f99d4d1da6e9a2
We currently accept false for some parameters, as an indicator to
purge options but this can be replaced by the os_service_default fact.
Change-Id: Ie6632c21b5723d1db73cfae9fa52b543fd91a605
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
This also fixes the wrong wsgi script name introduced by [1] to fix
broken litmus jobs.
[1] d7a1ea5fb7632e58a69f7dead32c28f1a9419a2e
Change-Id: Idb7d655242ccd6f785ea4dfbb94d8ff3ad961b03
The status argument of datastore_version update command accepts only
0 or 1. This ensures a correct value is used by property validation
instead of attempting to execute the command with an invalid value.
Change-Id: I3eeace41c677157d6b5913a7ab9092e3456106a7
datastore version can't be used until the version is registered but we
can't register the version before we register datastore before applying
catalog. This makes version optional to avoid that dependency look.
Partial-Bug: #2007961
Change-Id: Ieba9c10b49f41980555e2734bb29415fcf0b585f
This change introduces support for running trove-api using httpd and
mod_wsgi, in addition to the existing method using the standalone
eventlet service.
Change-Id: I5eaaed5b0963c392070586ec7eb133603c7c0dfd
This change introduces the new class to manage [mysql] options and
[mariadb] options so that users can configure behavior of the guest
agent to launch and manage mysql instances and mariadb instances.
This also introduces support for options to manage container registry
used to pull container images.
Change-Id: Ic7b1d555cf2090f7278980edf226ddf318be489f
puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]
This is the prep work to adapt to that migration.
[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with
[2] 493f0cbc1c
Closes-Bug: #2004135
Change-Id: Iff0c788f58592a24dcd6ad4cca7e46468fa82d00
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: I865d24997e2cc78c1c5ce7ff5c36cf4af72867a1
This reverts commit d07a47d2cbc51456a89936c3751013297fac96e9.
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: Ib3e5b82c9685505465d19ab5b12987f020f74076
Since yoga relase, this module no longer uses separate config files for
individual daemons but use the single trove.conf [1].
This change removes the remaining resource types for the separate
.conf files, which should have been removed by the cleanup patch[2].
[1] f1c11c68d56e4f1ad5125fa0df04ab91d929cd33
[2] 4d87fa2c694adb33607fa33273faa849792351b1
Change-Id: I66c1ccedc2ef1a73b5ee3f053b843e97be0d59b4
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: I98236e30f7f5f267dd1476adb73bdb6ecaeaf521
These default values are same as the actual default values in Trove,
thus we can replace these by $::os_service_default. This saves us
from maintaining our own default.
Change-Id: I557a919be3496d5314baec303764b7e8b99ed2de
The current hard-coded default values are exactly same as the default
values in Trove, thus can be replaced by $::os_service_default.
Change-Id: I241355d278f23ac05f42ef0150f41cc2a5795abb
... because the parameter was deprecated in favor of renaming to
the management_networks[1].
Also, allow usage of an Array value because the parameter is ListOpt.
[1] 44fbcfaaa608aba9184bd8757ba60c6a8155bae1
Change-Id: I4f8215995d098654d9303b54b5687552e94b23b7
... because it was deprecated during Yoga cycle[1] and has had no
effect since then.
[1] ddb0f14f95156c483c499fe95982d2e5777b236f
Change-Id: Ib9eab7d3c174c11932afb05c66138dfe3cbf5a7c
This change removes deprecated parmaeters and classes related to
trove-conductor and trove-taskmanager. These were deprecated during
past cycles and are ready to be removed.
Depends-on: https://review.opendev.org/839061
Change-Id: I250fb4cd098b7aaa6f4b9488e7226ffb27355046
The trove-guestagent service should be run in instances instead of
OpenStack hosts. This change disables the service by default because
we expect these modules are used to deploy hosts, and we don't expect
any use case where this puppet module is used to build the trove guest
image.
Closes-Bug: #1965228
Closes-Bug: #1485397
Change-Id: I57aa6ecd008f1a7a271e7baafc95cd75bf700f54
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: I5cad33c4caf1e3b3408dba5328c8b2f67a85b555
... and automated detection of auth_url parameter.
These were deprecated during the Ussuri cycle[1].
[1] 1d3bffd18b903aba95e5590b3c8444334d21a656
Depends-on: https://review.opendev.org/823886
Change-Id: I8304a0fd3bcabaf236a03c98f368b35842c7bff1