* Update puppet-cinder from branch 'master'
to 777dcf40c766e52825a376604bbd5dfcded6697e
- 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
* Update puppet-cinder from branch 'master'
to 634b6152c185edc48b4bce6d38a68d6ee86afd9a
- nvmeof: Add reserved_percentage
This defined resource type was overlooked when the reserved_percentage
option was added[1].
[1] 5451b7135b486e8d7a8936adbc0f0d5298f5c3c3
Change-Id: I602f47cb06eff1c41b47abe36853bc418a122332
* Update puppet-cinder from branch 'master'
to af07a1a46b243f9e4b34296d430486702f37be94
- Merge "Deprecate support for unsupported drivers"
- 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
* Update puppet-cinder from branch 'master'
to ce0ee05b3aa804c8da5d8ace9f690221c94fe3ac
- Merge "Deprecate support for VMWare storage driver"
- 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
* Update puppet-cinder from branch 'master'
to a5fb242e23e261c59c66c23ece81685658f8ce0f
- 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
* Update puppet-cinder from branch 'master'
to 24988ff24b73b2f65a62f6bcc1193647a03b3a6f
- Merge "rbd: Stop overriding CEPH_ARGS environment"
- 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
* Update puppet-cinder from branch 'master'
to 8bbd80d053e893f7989395e184e9543e8d74970b
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I430641c883147a144fe8f2142d786059d9f0dae9
* Update puppet-cinder from branch 'master'
to 1cb3aa59c0590d6f02b629f9f414817717270f21
- Merge "Add support for oslo.reports options"
- Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: Id2e06c51defc715bc9a308a80615b06ab1a4bb7f
* Update puppet-cinder from branch 'master'
to 14f630e986b48264a6f5759df2eafb399b7938fa
- Merge "Drop redundant default of send_service_user_token"
- 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
* Update puppet-cinder from branch 'master'
to bc8624f9da5bf1d22758a829e0e1e998b340225d
- Merge "rbd: Support rbd_concurrent_flatten_operations option"
- 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
* Update puppet-cinder from branch 'master'
to cc5d5719958106965212d426d8152cab6ae6b18e
- Merge "rbd: Support options for deferred deletion"
- rbd: Support options for deferred deletion
This introduces support for the options used by the deferred deletion
feature[1].
[1] c6580b2ab4ba10fefddf790a9282d1201df782f1
Change-Id: Ia385f88f1a9cdf79ca912844ff773fbc3e3fd688
* Update puppet-cinder from branch 'master'
to fa8e1ced411200454ccf74f9e81139d723964d05
- Merge "pure: Remove redundant default of use_chap_auth"
- 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
* Update puppet-cinder from branch 'master'
to 4864602199f71600e890e620ae7b01a62955e105
- Fix misplaced release note file
The change faf117f9f8958c32b8425883e238df496b5e5165 added a release
note file in a wrong place. This fixes it.
Change-Id: I1c97afb00a34845024555eea1f2a0e909a5c79b0
* Update puppet-cinder from branch 'master'
to 0db533332828e003f7419c9e75280ad482186781
- Merge "Support image volume cache options"
- 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
* Update puppet-cinder from branch 'master'
to 376325ddc1f5cb4a7e831d13d3078479c0c377d2
- Merge "gpfs: Support volume_backend_name option"
- gpfs: Support volume_backend_name option
... to make the parameter interface consistent with the other defined
resource types.
Change-Id: Ic8418acc52c4ce21134f1dc056eb30eab4830bbb
* Update puppet-cinder from branch 'master'
to 5dcee763a51ab9bfb743f3e9e898bd2bd1d31a69
- Merge "Fix wrong source to define volume_backend_name"
- 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
* Update puppet-cinder from branch 'master'
to 0f500ef7da98b9579f801132f70e030e8d56922f
- 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
* Update puppet-cinder from branch 'master'
to c4815933719682ae6b1fcbbf83ff2a2ca0973dcd
- Use undef for package/service name
... instead of booleans, so that we can implement type enforcement
more easily.
Change-Id: I4c31192b6d1471c27962da922d650c8e443aa327
* Update puppet-cinder from branch 'master'
to 8273a44172d073099deb1c83088d255e8d3c1a9e
- 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, 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
* Update puppet-cinder from branch 'master'
to a3f52d40e6c2e9500ab966e218e0000f7c4596dd
- 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
* Update puppet-cinder from branch 'master'
to 89b9c7cd13aeaf87429ae02a6ae017c35f3268d8
- 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
* Update puppet-cinder from branch 'master'
to 04e3d15f1a57fc9593a3e94d4e02714afa5f4a56
- Stop reading keystone_authtoken options
Using credentials in keystone_authtoken options for cinder_* resources
was deprecated some cycles ago[1].
[1] 596a77483b3d2c25590ab58b71037de9c4d1c81d
Change-Id: I21fc46f49a143ae1282cad91732925195eda6541
* Update puppet-cinder from branch 'master'
to 5451b7135b486e8d7a8936adbc0f0d5298f5c3c3
- 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
* Update puppet-cinder from branch 'master'
to d4112d8a79362bed6fc4abe9a73e4ff87a18826a
- Merge "Validate protocols using parameter types"
- 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
* Update puppet-cinder from branch 'master'
to 5b379942a666d10099a0013ccd637ff0b7235745
- Merge "powermax: Support array for powermax_port_groups"
- 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
* Update puppet-cinder from branch 'master'
to 56759aac72980c2c3323e8bb3802a462a8f09655
- 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
* Update puppet-cinder from branch 'master'
to e4bac8464801db9f7c1340d997a66929982bf7e7
- 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
* Update puppet-cinder from branch 'master'
to 90ac98f5ded7ca76d6c5157ad75e8ba32791813e
- Merge "nfs: Require nfs_servers"
- 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
* Update puppet-cinder from branch 'master'
to fdf9d8f72918eb5d40b0afa50080346ce485d161
- 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
* Update puppet-cinder from branch 'master'
to 43c8156b134b25c033f0e6d42b49a93826052ed6
- 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: I77cea5e3638c5cac412bef8579ded119cd22f2a0
* Update puppet-cinder from branch 'master'
to 12ac6a52c7215bd1abb811479e9e361e90ea7322
- Merge "RabbitMQ: Add support for quorum queue options"
- RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I447aca06bb1e0050c01bd1e21eb6942602d2643e
* Update puppet-cinder from branch 'master'
to 79783fd4bf0734c0794158cd649765c5e77fc677
- 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
* Update puppet-cinder from branch 'master'
to e2636737a4a3b07ab8cec6c1dfcb1f5cd64a0d42
- Merge "Ensure absolute path for file creation"
- 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
* Update puppet-cinder from branch 'master'
to d0c7f4c34496ec4c66525e39016b6b9303bb469e
- Merge "Remove redundant order enforcement"
- Remove redundant order enforcement
This order is already implemented using the autorequire interface.
Change-Id: Ib30b4f59666c788e4a28262cf8ddf0602ccd570e
* Update puppet-cinder from branch 'master'
to 5e76896e5c56b9bbcabb75d9e68b13e3b4bb4b7a
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: I5e0fe599a2c56eb8163f40e82ea6f3dfc29c382e
* Update puppet-cinder from branch 'master'
to 6bde164bd1785b748be7c0e33c942f7be45e6441
- 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: Ic973fd55a6cfc3924187fc70a1a1d2b6e388dc28
* Update puppet-cinder from branch 'master'
to 069c8b100bd3e88a67fa83e2d987ae2813d4ac74
- Merge "default_availability_zone: Deprecate usage of false values"
- 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
* Update puppet-cinder from branch 'master'
to 4110755f31873110544e30fbe991b7c2614a5c6f
- 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
* Update puppet-cinder from branch 'master'
to ddc183f58e9945c100736df907f301523516c4a7
- 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: Id6fc79b9725e9c88e90b06c002ccfde59c75b089
* Update puppet-cinder from branch 'master'
to 915a4a9c2644ff4a3ce5942ea03ba630547a73ad
- Merge "Add per module policy service refresh"
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I22618ef8528d0e8dafd1d3483a2d02a15b30c816
* Update puppet-cinder from branch 'master'
to 8d00e748ef3df3c4a5d92477df08a6bcc238a4d6
- Fix missing inclusion of cinder::params
This fixes the missing inclusion of cinder::params, to ensure
the subsequent reference works properly.
Change-Id: Idca647a1c149d93f3c477ac448ddc69ac5bbb2b1
* Update puppet-cinder from branch 'master'
to 47e7587063c50f483187d56dcf69325058431327
- Merge "replace validate_legacy with proper data types"
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
This change also adds a few more validations about some data types
inexplicitly required.
Change-Id: I18bc265876f48a7569e971681428fac9e2504486
* Update puppet-cinder from branch 'master'
to e21a1fd0d300619f0df1683d58e7c983fb779650
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I9b510e17b45051642762285731d94686063594d7
* Update puppet-cinder from branch 'master'
to 19bc1d5ba65ba26bf475a0b857cb3347465253ca
- 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: I2d7ef4f338e40e88154a38e4cec8cda12b6b5b58
* Update puppet-cinder from branch 'master'
to 606a925b1951545cd6daa2b45b9f7a7888770c47
- 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: If64b21ff2bde741bb6f7d835d4f341e1f474125f