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: I6e017f7349096fd298fd1b6f63de57046f0067d0
This refactors resource dependencies to improve the following points.
- Avoid unnecessary dependencies across services. For example aodh
service does not require cinder db.
- Restart only api service when config files like paste.ini, which
are used only be api service is changed.
Also, guestagent.conf is not used by trove services but the overall
file is loaded each time when trove launches an instance, so we don't
have to restart trove services when guesagent.conf is updated.
Change-Id: If3eb7e4d2e572735af67eb59f81f67af99527a92
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
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: I9852a17cf3dd8ae6d8ce16c5957f7dcec55e1174
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
When SRBAC is completely implemented according to the current spec,
each service user no longer has full admin privilege but has access
limited to the actual requirement. This means that we are no longer
able to use service users to create resources.
This change is a prep-work to get rid of usage of the service user,
currently loaded from authtoken parameters in the .conf file. Now
each providers loads clouds.yaml file placed in /etc/openstack/puppet.
Change-Id: I198e2cc089a12e1ef260d78665f274db9149f9c9
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Icbbb481812c68c2982341733e2f90597b6a67796
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
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: I5207ae627cb6aa66095edc0966fd26869a722e0e
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I63b97817e164cf745a7fec0b4ba77583ee4274ab
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: If6f7711691a4f607ca41d825e8f61571bff2db8e
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: Ia67f9fb228cba8d16d9a1ed05afd61074cfda2aa
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: If1211e7adfa541b1f915191fa3d8c73155268e08
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.
Change-Id: I0de636a2ca00757ef24552a0c9a97ee95e485d19
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
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
This also adds validations about some boolean parameters.
Change-Id: I57e0321eab18b66c00e364bb3b4346bb06591286
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Ic1c8178bab95d39eef033aadc90443402d6b3ac5