* Update puppet-trove from branch 'master'
to 62c7ac0159b5c0f27a44cca021dd21bbce8ef4ea
- Merge "Prepare to rename trove::api::service_credentials"
- Prepare to rename trove::api::service_credentials
This class is used by all services but is still kept under the api
directory.
Change-Id: I4016752d94da35ea257f9c76079a33797151640b
* Update puppet-trove from branch 'master'
to b98b91f729c0b45bb764b4d9820e80311c19ffa1
- Merge "cache: Support new redis options"
- cache: Support new redis options
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
* Update puppet-trove from branch 'master'
to d7ffee80e2da3056941acec7bb9ba3326cc58cde
- Merge "Refactor resource dependencies"
- Refactor resource dependencies
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
* Update puppet-trove from branch 'master'
to b816669b3e6b6b7e208a880409fb3a53cba47eaa
- cache: Support options for SASL mechanism in memcached
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
* Update puppet-trove from branch 'master'
to 06b384e84df36f942ca7686481d0d40fb5618f0f
- Support healthcheck middleware options
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
* Update puppet-trove from branch 'master'
to 8252b9f4a8816c7183c29ca851c66157fb535dbe
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Ic663a7f60fc3dfc5139c151b438a07a07b11a170
* Update puppet-trove from branch 'master'
to 1ceca6c229e2a6f8c1a91610487a2246f8053c32
- Merge "quota: Stop overriding defaults"
- quota: Stop overriding defaults
... 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
* Update puppet-trove from branch 'master'
to 65214a004aba12ad8b8b75104a2c06c3f7fb8555
- Add support for caching options
Trove supports caching using the oslo.cache library. This add support
for customizing caching options.
Change-Id: Ic4f8b9dc285efb4cd983cc6ba8a9eeaedd188456
* Update puppet-trove from branch 'master'
to 0a832b7a0665ce01bf95e4da3e646286160d6b0f
- Add support for volume options
This introduces a few new parameters to customize volume creation for
database instances.
Depends-on: https://review.opendev.org/c/openstack/trove/+/823164
Change-Id: Ie5b862422567083802a86fabeee11d5c80b8f396
* Update puppet-trove from branch 'master'
to 4c87eadbd319cc72fdc782b271b1d387b72c7a23
- Merge "Use new openstackclient tag"
- Use new openstackclient tag
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
* Update puppet-trove from branch 'master'
to 8b6d70051c4ce78e6908ab77219508451bd52198
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: I9852a17cf3dd8ae6d8ce16c5957f7dcec55e1174
* Update puppet-trove from branch 'master'
to d4233a63609118165adf6722f91d1f6a78babe70
- Merge "Use :commands interface for trove-manage"
- Use :commands interface for trove-manage
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
* Update puppet-trove from branch 'master'
to 3a7c5a4faf63e8be44d98428a0f63585391af87d
- Merge "Deprecate usage of authtoken parameters in providers"
- Deprecate usage of authtoken parameters in providers
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
* Update puppet-trove from branch 'master'
to 798e4bedc267201e8932297d3ed5f7f40b6242c0
- Update master for stable/2023.2
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
* Update puppet-trove from branch 'master'
to 428129c2e1867804861830257de6db78541dfb27
- Remove usage of deleted manifest_dir
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
* Update puppet-trove from branch 'master'
to 6700758464667178921beddbc3202dcbf42f723a
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: I5207ae627cb6aa66095edc0966fd26869a722e0e
* Update puppet-trove from branch 'master'
to a685511043b40bb28765f00812cd37fea2076e19
- Merge "RabbitMQ: Add support for quorum queue options"
- RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: Ib1ec7e7e3d39c58f3645ea934080b3389484a1ea
* Update puppet-trove from branch 'master'
to 5bc29fa8adac6eae1f105a2631e81c5378b58075
- Merge "Fix ignored rabbit_heartbeat_in_pthread"
- Fix ignored rabbit_heartbeat_in_pthread
... and adds support for a few more heartbeat options.
Change-Id: Id5c84897cea25de95b5382cd2b6b9719e2cc9892
* Update puppet-trove from branch 'master'
to fde0f910f65b0195c623157d383acb30f0888304
- Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I63b97817e164cf745a7fec0b4ba77583ee4274ab
* Update puppet-trove from branch 'master'
to 9974cdd4a28eceba0c02c301e6ec0cc26b70f813
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: If6f7711691a4f607ca41d825e8f61571bff2db8e
* Update puppet-trove from branch 'master'
to 9a12156cc23b6a86cfc208c081ec1959252c40cd
- Add .pdkignore to exclude some files from tar ball
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
* Update puppet-trove from branch 'master'
to 3fd257bcfcffe64ba26e09d0e277a944b60ff003
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: If1211e7adfa541b1f915191fa3d8c73155268e08
* Update puppet-trove from branch 'master'
to 05d606ced69869965e1acd6e2f0f33682b6b4ce5
- Merge "authtoken: Make password required"
- authtoken: Make password required
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.
Change-Id: I0de636a2ca00757ef24552a0c9a97ee95e485d19
* Update puppet-trove from branch 'master'
to a853f9871a6cbdddfcdac5d37677a04355e60efc
- Replace remaining validate_legacy
This was overlooked during the previous attempt.
Change-Id: Ibeb56fce47113cf180cb3b0f51c729355f8eba94
* Update puppet-trove from branch 'master'
to 160b0b18d173351a91e6dde051d802e0affc88a2
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I4733a5d445621ff1cb270fa3be3811b531b9a7b8
* Update puppet-trove from branch 'master'
to 75feab0b223415301576b8eeb38ef8035af62a7b
- Stop hard-coding default of service_type options
... because the values are exactly same as the service defaults.
Change-Id: Ibb1da63bccd0abaf90a81cdc0461e32747f24c6b
* Update puppet-trove from branch 'master'
to 0c3ce2312459f01f3e60bf322212aba077693715
- Add support for [DEFAULT] glance_url
Change-Id: I641f6e0c0e496d2dfd163318ca02fd12cf7767ec
* Update puppet-trove from branch 'master'
to 80bd5e8abfab407cfa07bc1ae20bf6035e9cd71f
- Replace unnecessary usage of false
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
* Update puppet-trove from branch 'master'
to 1f273d3b4e9703a764ee0d72b3db84370d29116b
- replace validate_legacy with proper data types
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
* Update puppet-trove from branch 'master'
to bc209cda05c02d513279f3aa20c1888c321951e7
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I2d6c7d82eb12bd38592840ccadb81b71005fb78a
* Update puppet-trove from branch 'master'
to 7347f3d86e4caf36650f3a295f9342292aa70133
- Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.
Depends-on: https://review.opendev.org/880118
Change-Id: I0542826ab30f2f1fdcc9939f2b3b0bb51d175313
* Update puppet-trove from branch 'master'
to cf4e54a4dd42086259df5bd497c7c23083d62e77
- Update master for stable/2023.1
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
* Update puppet-trove from branch 'master'
to 505c5dbbe44e753ac85045eb5ca6c042481364a1
- Replace legacy facts and use fact hash
... 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
* Update puppet-trove from branch 'master'
to c9da126ea7509418b606f4f6df0cabfa478fe1c8
- Merge "Support running trove-api using httpd+mod_wsgi"
- Support running trove-api using httpd+mod_wsgi
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
* Update puppet-trove from branch 'master'
to b092381c594aac9001c4b6c3ef632c11b3da980c
- Merge "trove_datastore_version: Validate status"
- trove_datastore_version: Validate status
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
* Update puppet-trove from branch 'master'
to bdb3712b89a505e3c833390a072be303a899d1d5
- Merge "trove_datastore: Make version optional"
- trove_datastore: Make version optional
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
* Update puppet-trove from branch 'master'
to ad4cd17a3c08c1fd2c028a3d2bcd86fbfb57afe6
- Merge "trove_datastore_version: Handle missing datastore"
- trove_datastore_version: Handle missing datastore
The trove_datastore_version resource fails if the datastore is not yet
created. This fixes that problem.
Change-Id: I403f0ede9061eb0a9361b084ada26954250fb2e6
* Update puppet-trove from branch 'master'
to 03351ada585ca328b29f188f1395c9b55edc116e
- Merge "Ensure trove services are up before managing datastore"
- Ensure trove services are up before managing datastore
... because these resource types require API access.
Change-Id: Ibf90912fef56fcbe81bbd40691a7fd172fce9b5b
* Update puppet-trove from branch 'master'
to 28c8085fcb98a9893a26576067d6b69e627fbbdb
- Merge "Remove deprecated use_guestagent_template"
- Remove deprecated use_guestagent_template
The parameter has had no effect since the previous cycle[1].
[1] 4d87fa2c694adb33607fa33273faa849792351b1
Depends-on: https://review.opendev.org/874371
Change-Id: I76794b9bff3873419673a7f5ee5efc9473c0a169
* Update puppet-trove from branch 'master'
to 019c9b1a4358e473027c881f772669b97388120f
- Deprecate support for [DEFAULT] default_password_length
This option was deprecated[1] in favor of the datastore-specific
options.
[1] f4cbaf6ccd3c6de14837fcf9532e44de1265bdf6
Change-Id: I4f89dcc5f70e03e210d038e80adba3002c5dc9c9
* Update puppet-trove from branch 'master'
to 12131677e9c06c8d25fe31a7666493e27157099f
- Support mysql/mariadb options
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
* Update puppet-trove from branch 'master'
to 0ca65d22c5d54837bca96c6358e49fabcceb5cfe
- Merge "Replace mocha by rspec-mocks"
- Replace mocha by rspec-mocks
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
* Update puppet-trove from branch 'master'
to b30bd9245074107d8a6ab319a0837b5f4470b4c7
- Expose policy_default_rule
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
* Update puppet-trove from branch 'master'
to 66ae8a1b35cf9c0948794f8673273ab8654ef48b
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: I7105b8d13b8a9eca5f58f2c1edde47872dcb8a4f