187 Commits

Author SHA1 Message Date
Takashi Kajinami
06b384e84d 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
2024-02-28 11:12:11 +09:00
8252b9f4a8 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ic663a7f60fc3dfc5139c151b438a07a07b11a170
2024-02-21 16:52:49 +00:00
Zuul
1ceca6c229 Merge "quota: Stop overriding defaults" 2024-02-05 22:18:56 +00:00
Takashi Kajinami
65214a004a Add support for caching options
Trove supports caching using the oslo.cache library. This add support
for customizing caching options.

Change-Id: Ic4f8b9dc285efb4cd983cc6ba8a9eeaedd188456
2024-02-04 01:37:31 +09:00
Takashi Kajinami
2db61dcc98 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
2024-02-03 16:44:56 +09:00
Takashi Kajinami
0a832b7a06 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
2023-12-27 10:44:15 +09:00
Zuul
3a7c5a4faf Merge "Deprecate usage of authtoken parameters in providers" 2023-11-17 18:16:06 +00:00
Takashi Kajinami
f99ea85cd3 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
2023-11-16 15:53:54 +09:00
798e4bedc2 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
2023-10-16 15:20:38 +00:00
Takashi Kajinami
b7f441682a RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: Ib1ec7e7e3d39c58f3645ea934080b3389484a1ea
2023-09-15 13:50:09 +09:00
Takashi Kajinami
3504c344c0 Fix ignored rabbit_heartbeat_in_pthread
... and adds support for a few more heartbeat options.

Change-Id: Id5c84897cea25de95b5382cd2b6b9719e2cc9892
2023-09-15 13:48:38 +09:00
Takashi Kajinami
80bd5e8abf 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
2023-06-21 10:23:06 +09:00
Takashi Kajinami
bc209cda05 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I2d6c7d82eb12bd38592840ccadb81b71005fb78a
2023-05-22 12:31:35 +09:00
cf4e54a4dd 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
2023-04-05 15:36:43 +00:00
Zuul
c9da126ea7 Merge "Support running trove-api using httpd+mod_wsgi" 2023-02-24 09:03:46 +00:00
Zuul
28c8085fcb Merge "Remove deprecated use_guestagent_template" 2023-02-22 04:55:03 +00:00
Takashi Kajinami
d7a1ea5fb7 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
2023-02-21 16:44:02 +09:00
Takashi Kajinami
019c9b1a43 Deprecate support for [DEFAULT] default_password_length
This option was deprecated[1] in favor of the datastore-specific
options.

[1] f4cbaf6ccd3c6de14837fcf9532e44de1265bdf6

Change-Id: I4f89dcc5f70e03e210d038e80adba3002c5dc9c9
2023-02-20 20:07:01 +09:00
Takashi Kajinami
12131677e9 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
2023-02-20 20:02:56 +09:00
Takashi Kajinami
ebc165b789 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
2023-02-20 05:12:14 +00:00
Takashi Kajinami
b30bd92450 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
2023-01-23 14:56:08 +09:00
Takashi Kajinami
66ae8a1b35 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I7105b8d13b8a9eca5f58f2c1edde47872dcb8a4f
2023-01-15 22:33:15 +09:00
Takashi Kajinami
8838f7fa8c Remove trove::default_neutron_networks
... because the parameter was deprecated in the past cycle by [1].

[1] 74881548a4315b09fa9488a94a70fa865b7b5d42

Change-Id: I7b12225aa82a05bcb978a3b6adc975c3a5d6c75c
2022-11-15 11:09:01 +09:00
a824170d55 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I0dc737c3940bbe67da6aecd27f2c1a931061f7ee
2022-10-20 11:13:18 +00:00
Takashi Kajinami
d76efc7787 Remove deprecated trove::guestagent::control_exchange
The parameter was deprecated long ago[1] and has had no effect.

[1] 7cb103c17ff121de8f852988f356386fcf4229f1

Change-Id: I1e7f54ae462e72866d03a2ea7f00e656e68db513
2022-09-29 08:54:05 +09:00
Takashi Kajinami
4d59d16be5 Remove resource types for per-daemon config files
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
2022-07-15 18:05:59 +09:00
Zuul
4eb44b5e2c Merge "Rename default_neutron_networks" 2022-06-28 14:23:53 +00:00
Zuul
1363652740 Merge "Remove deprecated database options" 2022-06-28 14:23:50 +00:00
Zuul
a1d2c1ef1e Merge "Remove use_neutron parameter" 2022-06-28 14:23:48 +00:00
Takashi Kajinami
667028ea26 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Depends-on: https://review.opendev.org/843503
Change-Id: If74d0f5683ef8d8e59ea477923831417eb2c5f8c
2022-06-01 14:05:59 +09:00
Takashi Kajinami
6111841dd1 Add CentOS/RHEL 9 to supported operating systems
... because CentOS 9 is now verified by unit tests and integration
tests.

Change-Id: Idd88e87fc453ab583334f3a6f061dbc7578df081
2022-06-01 14:04:53 +09:00
Takashi Kajinami
74881548a4 Rename default_neutron_networks
... 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
2022-05-21 06:48:52 +00:00
Takashi Kajinami
7d5e85200a Remove deprecated database options
... because these options were deprecated during Yoga cycle[1].

[1] a1f85ce1ef33f2d1f8c9bfe89e84d4f8a32248c0

Depends-on: https://review.opendev.org/842828
Change-Id: I6e7402bacd8ca23abda39d9fb3330cface5da288
2022-05-21 04:31:55 +00:00
Takashi Kajinami
18a4e46704 Remove use_neutron parameter
... because it was deprecated during Yoga cycle[1] and has had no
effect since then.

[1] ddb0f14f95156c483c499fe95982d2e5777b236f

Change-Id: Ib9eab7d3c174c11932afb05c66138dfe3cbf5a7c
2022-05-21 12:24:20 +09:00
Takashi Kajinami
4d87fa2c69 Clean up deprecated items related to conductor/taskmanager
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
2022-04-22 13:42:46 +00:00
b5d6abdcbd Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I3cdbb72e71c1c11036579ae749486a1500232186
2022-04-05 09:16:04 +00:00
Zuul
e6686c48a9 Merge "guestagent: Deprecate the backup_aes_cbc_key parameter" 2022-03-18 09:29:05 +00:00
Takashi Kajinami
4c6e5c9d76 Disable trove-guestagent service by default
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
2022-03-17 15:23:59 +09:00
Takashi Kajinami
977c0dc0e5 guestagent: Deprecate the backup_aes_cbc_key parameter
... because it was deprecated since Victoria cycle[1].

[1] bd2b256a377a5648586ec4a5d51edd58dd88a620

Change-Id: I4c068890a6d60434ee419167428a6fd0507ba919
2022-03-17 10:40:39 +09:00
Takashi Kajinami
f35dc66ff3 Globally support system scope credentials
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
2022-03-11 05:17:13 +00:00
Takashi Kajinami
967522885a Clean up deprecated keystone v2 parameters
... 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
2022-03-11 05:17:03 +00:00
Zuul
476d5efd18 Merge "Deprecate database parameters of the base class" 2022-03-11 00:58:52 +00:00
Zuul
9032b00c28 Merge "Deprecate the use_neutron parameter" 2022-03-11 00:46:22 +00:00
Zuul
32d22efab5 Merge "Use single trove.conf for api, conductor and taskmanager" 2022-03-11 00:46:20 +00:00
Takashi Kajinami
8b00efde40 remove unicode literal from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I7027cc6bb13ca52e1abebd0251b29c24dcacb7bc
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:26:20 +09:00
Takashi Kajinami
a1f85ce1ef Deprecate database parameters of the base class
... because these are duplicates of the trove::db parameters.

Change-Id: I273c9f88b532b4ff7c68434dbb1f616cf490ba79
2022-03-07 23:57:33 +00:00
Takashi Kajinami
ddb0f14f95 Deprecate the use_neutron parameter
... because nova-network was removed a while ago and now neutron should
be used always.

Change-Id: Icc23d46b18c0bdc0564219d3773f2a3b5d99a829
2022-03-07 23:57:24 +00:00
Takashi Kajinami
f1c11c68d5 Use single trove.conf for api, conductor and taskmanager
Previously puppet-trove creates separate config files for each service
but these individual files have been removed from Trove by [1].

This change follows that decision and merge these three files into
the single trove.conf file.

[1] https://review.opendev.org/679043

Change-Id: I23c01acd9439335abb706f2528684d4ec473247d
2022-03-07 23:56:02 +00:00
Zuul
446b1cb262 Merge "Remove deprecated database_min_pool_size" 2022-02-18 09:59:49 +00:00
Zuul
46b2bb7d14 Merge "Remove deprecated amqp_allow_insecure_clients" 2022-02-18 09:59:47 +00:00