Commit Graph

996 Commits

Author SHA1 Message Date
Takashi Kajinami 08052b3852 lvm driver: Support lvm_type option
Change-Id: Iba6abb43a6e72f1cb5c44ff1fba5c1fcc95d3509
2024-03-17 16:36:49 +09:00
Takashi Kajinami 777dcf40c7 Add max_over_subscription_ratio parameter
... to each driver configurations, so that users can customize this
option in individual driver sections.

Note that this option works only when the driver supports thin
provisioning.

Change-Id: I3da6dd142c2ae5967da09787f01cd39052f14f42
2024-03-17 16:36:49 +09:00
Takashi Kajinami 634b6152c1 nvmeof: Add reserved_percentage
This defined resource type was overlooked when the reserved_percentage
option was added[1].

[1] 5451b7135b

Change-Id: I602f47cb06eff1c41b47abe36853bc418a122332
2024-03-17 16:19:26 +09:00
Zuul af07a1a46b Merge "Deprecate support for unsupported drivers" 2024-03-15 10:04:52 +00:00
Zuul 503140c4a8 Merge "Expose rabbit_transient_quorum_queue" 2024-03-14 18:31:57 +00:00
Takashi Kajinami 23634ccf25 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: Ifad53c99bf84d7109ca7bf8ad3dc0e331fbb923e
2024-03-14 09:19:14 +09:00
Zuul ce0ee05b3a Merge "Deprecate support for VMWare storage driver" 2024-03-08 15:55:43 +00:00
Takashi Kajinami fd66bd6446 Deprecate support for VMWare storage driver
We deprecated vmwareapi virt driver support of puppet-nova during
2023.2 cycle[1] and then removed it in 2024.2 cycle[2] based on
the driver status.

Because we don't expect any users may use VMWare storage driver without
vmwareapi virt driver, this deprecates support for VMWare storage
driver. We aim to remove it in 2024.1 cycle.

[1] 8bf7f7d2e9604e24b6226077fced4af92dacd7a5
[2] 1d0bee66fce81f1d9e40b66f280584ea28e69b45

Change-Id: I775b4ee578169d3c6dfd2087b5286ff6a84de012
2024-03-08 14:57:08 +09:00
Takashi Kajinami a5fb242e23 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.

Change-Id: I3953eea75f00c44363870c318f960b7299c65e7c
2024-03-04 09:43:14 +09:00
Zuul 24988ff24b Merge "rbd: Stop overriding CEPH_ARGS environment" 2024-02-26 16:54:28 +00:00
Takashi Kajinami 94a7b021fb rbd: Stop overriding CEPH_ARGS environment
This configuration is not actually needed because the rbd driver has
the specific rbd_user option to pick up the appropriate user.

Change-Id: Ie9e517845c115a2f0a45c8682c68c611c151d231
2024-02-26 09:57:30 +09:00
Takashi Kajinami 9f5d79a6c4 healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: Ife337058a5e397184305793000e49f762a9117b3
2024-02-26 01:15:40 +09:00
Takashi Kajinami 281b8b0daf Deprecate support for unsupported drivers
The following three volume drivers are no longer supported, because
the storage products are now EOL[1].

 - Dell SC Series Storage Driver (iSCSI, FC)
 - Dell VNX Storage Driver (FC, iSCSI)
 - Dell XtremeIO Storage Driver (iSCSI, FC)

This deprecates support for these volume drivers, so that we can remove
these drivers after 2024.1 release.

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/7D7GUOI66BOD7Z3ZQWPWYYHH6VHAY4JJ/

Depends-on: https://review.opendev.org/c/openstack/cinder/+/907346
Change-Id: I1fbe1a4788c3c39f73b94af2209318c64154dcf5
2024-02-01 03:20:37 +09:00
Zuul 1cb3aa59c0 Merge "Add support for oslo.reports options" 2024-01-31 04:11:43 +00:00
Takashi Kajinami 93046343f8 Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: Id2e06c51defc715bc9a308a80615b06ab1a4bb7f
2024-01-30 00:36:20 +09:00
Zuul 14f630e986 Merge "Drop redundant default of send_service_user_token" 2024-01-23 15:15:46 +00:00
Takashi Kajinami ffdc85e1de Drop redundant default of send_service_user_token
The option defaults to False, so we don't need the explicit default and
can replace it by os_service_default fact.

Change-Id: I1425802e4047f1bb79c90a1567bd512696dc5a2d
2024-01-23 14:40:05 +09:00
Zuul 3103c6c52d Merge "healthcheck: Expose allowed_source_ranges" 2024-01-17 16:32:20 +00:00
Takashi Kajinami 46e05c4a2b healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: I70429bf90889b3dd8ecf88a140539b073e35e6a9
2024-01-17 02:50:11 +09:00
Zuul bc8624f9da Merge "rbd: Support rbd_concurrent_flatten_operations option" 2024-01-16 16:07:59 +00:00
Zuul cc5d571995 Merge "rbd: Support options for deferred deletion" 2024-01-16 16:05:16 +00:00
Takashi Kajinami 03f100c350 rbd: Support rbd_concurrent_flatten_operations option
... which was added during this cycle.

Depends-on: https://review.opendev.org/c/openstack/cinder/+/835384
Change-Id: I93b6b81aa5e96ba1ffc98837ae6b6e72ca5e8970
2024-01-16 12:03:17 +09:00
Takashi Kajinami bfa6540457 rbd: Support options for deferred deletion
This introduces support for the options used by the deferred deletion
feature[1].

[1] c6580b2ab4ba10fefddf790a9282d1201df782f1

Change-Id: Ia385f88f1a9cdf79ca912844ff773fbc3e3fd688
2024-01-16 12:03:17 +09:00
Zuul fa8e1ced41 Merge "pure: Remove redundant default of use_chap_auth" 2024-01-09 06:54:34 +00:00
Takashi Kajinami 4864602199 Fix misplaced release note file
The change faf117f9f8 added a release
note file in a wrong place. This fixes it.

Change-Id: I1c97afb00a34845024555eea1f2a0e909a5c79b0
2024-01-03 12:10:39 +09:00
Takashi Kajinami 5aa9db2636 pure: Remove redundant default of use_chap_auth
The use_chap_auth option defaults to false in cinder, so we don't have
to explicitly define the same default.

Change-Id: I978749f078f7bd69e611f8b18546deb248435298
2024-01-03 10:57:32 +09:00
Takashi Kajinami faf117f9f8 Support image volume cache options
This introduces support for the options to customize the image volume
cache feature. This feature is added to the default class as well as
the defined resource type for each volume driver, so that users can
configure the global options as well as the backend specific options.

Note that rbd driver and vmware driver are intentionally excluded,
because for these drivers the specific image store drivers are more
popular method to use in-storage copy when creating a volume from
an image.

Change-Id: I09480346f3a2f05b5ab0aad7033f1b37a31648db
2023-12-26 18:17:30 +09:00
Takashi Kajinami 125db0de15 gpfs: Support volume_backend_name option
... to make the parameter interface consistent with the other defined
resource types.

Change-Id: Ic8418acc52c4ce21134f1dc056eb30eab4830bbb
2023-12-26 13:07:45 +09:00
Takashi Kajinami ae990b2451 Fix wrong source to define volume_backend_name
The volume_backend_name property in volume types should be set
according to the volume_backend_name option, instead of the backend
config section name.

This change ensures the option value is used consistently among all
defined resource types to manage volume backend options.

Change-Id: I29c5bcdb0e79f6f98d272995de6a86a0062cea48
2023-12-26 13:06:20 +09:00
Takashi Kajinami c481593371 Use undef for package/service name
... instead of booleans, so that we can implement type enforcement
more easily.

Change-Id: I4c31192b6d1471c27962da922d650c8e443aa327
2023-12-11 22:20:10 +09:00
Zuul 8273a44172 Merge "Use new openstackclient tag" 2023-11-20 18:34:12 +00:00
Takashi Kajinami a3f52d40e6 Fix wrong anchor in quota_set
We have to ensure cinder services are up before the quota command is
executed, because the command needs access to cinder API.

Change-Id: I44ae2f5628283818a7aa4e20b823808e30b559c7
2023-11-20 03:01:50 +09:00
Takashi Kajinami d78df82f85 Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.

Also, cinderclient is not required by cinder itself so the support
package tag can be removed.

Depends-on: https://review.opendev.org/899594
Change-Id: Ieb7656f1f9a48086a13ebeb9c5418e800bed790f
2023-11-20 00:38:09 +09:00
Takashi Kajinami 5451b7135b Add support for reserved_percentage option
Some of the volume drivers support the reserved_percentage option which
determines the minimum free percentage kept. This introduces support
for this option.

Although the option is defined in the base volume driver class, it has
effect only in drivers with appropriate implementations.

Change-Id: I6060daab9fd72f96084b3d0c5cc5783da7f5c64c
2023-10-20 21:08:52 +09:00
Takashi Kajinami bec5c873e4 Validate protocols using parameter types
Parameters types is better way to enforce specific values because it's
implemented at the interface level.

This offloads some of the validations we have in manifest logics
because we already started using parameter types.

Change-Id: I93f1bdae811a999bbbc55861d9e2c7500d347c22
2023-10-18 19:52:18 +09:00
Takashi Kajinami aaadd0ec50 powermax: Support array for powermax_port_groups
The powermax_port_groups option accepts a comma-separated list with
bounds. This allows users to use an array value to define the value
used for this option. Now the logic adds bounds ([]) in case a string
value is given but the value does not contain bounds.

Change-Id: I9b747509f7e13b05a1c0e1096733f7beb477033f
2023-10-18 12:51:21 +09:00
Takashi Kajinami e4bac84648 lvm: Ensure target_ip_address is purged
... instead of leaving the option unmanaged.

This also removes the reference in default definitions from the defined
resource type to the params class, which does not work if the params
class is not explicitly included in advance.

Unit tests coverage is also improved to ensure both default parameters
and customized parameters work.

Change-Id: I0b8199a27377a7d035f882586979a678b061e5da
2023-10-12 23:18:32 +09:00
Takashi Kajinami d3de750bc8 nfs: Require nfs_servers
This parameter was supposed to be required but actually it was not.
Without this parameter given, nfs driver may be configured without any
actual backend.

This updates the parameter definition to make the parameter actually
required.

Change-Id: I1c87dc4119dec56c78638afbbd5a650eeafbda3e
2023-10-07 17:01:09 +09:00
Zuul 12ac6a52c7 Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 16:07:21 +00:00
Takashi Kajinami 73271ab30c RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I447aca06bb1e0050c01bd1e21eb6942602d2643e
2023-09-15 01:10:40 +00:00
Takashi Kajinami 79783fd4bf 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: I09d8e48e9cb3e2a090bf2b3201c3b47a406f6f83
2023-09-11 12:26:15 +09:00
Zuul e2636737a4 Merge "Ensure absolute path for file creation" 2023-08-24 17:47:22 +00:00
Takashi Kajinami 3cb2b5472e Ensure absolute path for file creation
This ensures the parameters used as file paths accept only absolute
paths, so that more sensible errors are returned to users instead of
the error from the file resource.

Change-Id: If82751d8fc42e606593cf6c4a40651325e61872b
2023-08-22 01:22:34 +00:00
Takashi Kajinami 05fec05457 Remove redundant order enforcement
This order is already implemented using the autorequire interface.

Change-Id: Ib30b4f59666c788e4a28262cf8ddf0602ccd570e
2023-08-11 17:39:50 +09:00
Zuul 069c8b100b Merge "default_availability_zone: Deprecate usage of false values" 2023-07-20 04:27:43 +00:00
Takashi Kajinami 78c42fe678 default_availability_zone: Deprecate usage of false values
... so that we can use Optinal[String] to validate this parameter in
the future.

Change-Id: If700b059e58f7493851cab330ac0c7165a1db907
2023-07-17 10:51:57 +00:00
Takashi Kajinami 4110755f31 Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: I4638f05e5c6783d5b5d729ac166493827201066d
2023-07-17 13:03:53 +09:00
Zuul ddc183f58e Merge "authtoken: Make password required" 2023-06-26 15:32:23 +00:00
Zuul 915a4a9c26 Merge "Add per module policy service refresh" 2023-06-26 04:55:23 +00:00
Tobias Urdin f755731f77 Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: I22618ef8528d0e8dafd1d3483a2d02a15b30c816
2023-06-26 00:03:40 +02:00