Commit Graph

1647 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
OpenStack Release Bot 8bbd80d053 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I430641c883147a144fe8f2142d786059d9f0dae9
2024-02-21 16:43:41 +00: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
Zuul 0db5333328 Merge "Support image volume cache options" 2024-01-02 16:58:22 +00:00
Zuul 376325ddc1 Merge "gpfs: Support volume_backend_name option" 2024-01-02 16:58:21 +00:00
Zuul 5dcee763a5 Merge "Fix wrong source to define volume_backend_name" 2024-01-02 16:46:26 +00: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 0f500ef7da cinder_type: Fix regex for properties to accept short value
This fixes the regex to validate the properties property so that value
strings shorter than 3 characters are accepted.

This also removes the heading spaces because these are not stripped but
added to the keys, which likely results in an unexpected result.

Change-Id: I8d703a48060abb61834ecec9c72bb6295eff2b81
2023-12-25 12:58:37 +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 89b9c7cd13 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: I1c52e85b1f850d8bb1096ae2159bac8eff51b4a1
2023-11-18 09:05:42 +00:00
Takashi Kajinami 04e3d15f1a Stop reading keystone_authtoken options
Using credentials in keystone_authtoken options for cinder_* resources
was deprecated some cycles ago[1].

[1] 596a77483b

Change-Id: I21fc46f49a143ae1282cad91732925195eda6541
2023-11-16 17:36:01 +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
Zuul d4112d8a79 Merge "Validate protocols using parameter types" 2023-10-18 19:32:49 +00:00
Zuul 5b379942a6 Merge "powermax: Support array for powermax_port_groups" 2023-10-18 17:46:06 +00: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
OpenStack Release Bot 56759aac72 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: I7c6d9c4b4f61dd9db85ca4e4576beb67d52c4b08
2023-10-16 15:15:25 +00: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
Zuul 90ac98f5de Merge "nfs: Require nfs_servers" 2023-10-12 02:50:37 +00:00
Takashi Kajinami fdf9d8f729 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: I4d44a4beb67209c7c7806400cc9b83f6d24ca442
2023-10-11 11:56:21 +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