* Update puppet-manila from branch 'master'
to 90b010f80c17fb392de9ea6bf3f88ac815da268c
- Merge "client: Install openstackclient"
- client: Install openstackclient
The manila CLI was already deprecated in favor of the openstack CLI
plugin[1]. Install openstackclient when client is requested so that
the openstack CLI can be used.
[1] ba9a3887869ecd4cbed4aeb43c11a3d9493fafa2
Change-Id: I4589f6d74b3f4b6b88333306eb013b91fc0a9d44
* Update puppet-manila from branch 'master'
to 2164f321f44222671c173bf6e3b926de57b63df6
- Merge "Replace deprecated keystone::client"
- Replace deprecated keystone::client
keystone::client was deprecated because keystoneclient no longer
provides CLI and is usually installed automatically by package
dependencies.
Change-Id: I0c085078c4c9b185b7949fabbdc7f30c42451e0c
* Update puppet-manila from branch 'master'
to c1ac7d2e6de916f052b845d55eb003c129b5eb7f
- Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I5579a7d450b63e254d980bb79e2734181078820c
* Update puppet-manila from branch 'master'
to 7d034c721c0de0082caeb1475c3889ee2164ed5b
- Merge "reno: Update master for unmaintained/xena"
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: I42dc2a7886501747605f846370af2513d7fbc2aa
* Update puppet-manila from branch 'master'
to 1d9b7851efffcdc847940c9adb86155a4ad61094
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: If5239c3a374ec2047f7aa0003f9f07b59cf5e53f
* Update puppet-manila from branch 'master'
to f9f2e8bb44059ff3e85f84d9e18076c8cc5ae325
- Merge "validate maxdelay for cron job"
- validate maxdelay for cron job
The parameter descriptions says the value should be a positive integer
(or 0). Validate the given value to reject invalid values such as
strings or even negative values.
Change-Id: Ica59437af00ea05335c934e6c3283e9207085587
* Update puppet-manila from branch 'master'
to d3c14796003018b35f7bd15022ffd66b93a5277f
- Support [DEFAULT] admin_only_metadata
Change-Id: I50a773a189f800193207bed1a4ded6b1f7236490
* Update puppet-manila from branch 'master'
to 6d51d113543469b08f91307f7b86f21a3c93cc3e
- Fix wrong test case title in manila::api unit tests
Trivial-Fix
Change-Id: Id99a42300cc0336aa1ce283e12af238254537af4
* Update puppet-manila from branch 'master'
to 6b613b77787956786e7501180195d1b301097d6c
- Merge "Require enabled_share_backends"
- Require enabled_share_backends
If manila-share launches without enabled_share_backends, it actually
has no effect because it can't manage any share backend.
Require a valid inputs to detect potential misconfiguration.
Change-Id: I9d4387384908384e9b7d2b1621f856f49bce7cd8
* Update puppet-manila from branch 'master'
to a37c1339880450edb3b2a6ec26fdc9699b739adb
- 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: I8b6fd6a14f77f56c6b42a9977fe81b64698b5db4
* Update puppet-manila from branch 'master'
to 59c444d7a49ec21578bf74b6b0711dcd4842c175
- Fix wrong parameter used to configure reserved_share_extend_percentage
We should use the reserved_share_extend_percentage parameter, instead
of the reserved_share_percentage parameter, to configure the option.
Closes-Bug: #2058111
Change-Id: Ib224d0af5c9794c9c27573981f498cdd28dacc4a
* Update puppet-manila from branch 'master'
to cfdb02ac4c247524860184006d14d16b2d549585
- Merge "service_instance: Ensure create_service_image is a boolean"
- service_instance: Ensure create_service_image is a boolean
... because it's used in if-else logic.
Change-Id: Ia9584ac431e3e1a378c1e5a138548db1dcadd303
* Update puppet-manila from branch 'master'
to 6dc78a00e3f12537d959dcbc17d8bbafb904e9f7
- 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: I33f0123caa057169be0e7eee6c17d1d4d387f87f
* Update puppet-manila from branch 'master'
to 0669b5cd06ca01895b6f7935f2abbcd0446b1c1a
- Merge "reno: Update master for unmaintained/yoga"
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I53cda0fe2ea026ce37a68a136975c63443a92f2b
* Update puppet-manila from branch 'master'
to 5868d9e8bdf12cccd09056e03ee577252013e742
- Merge "Deprecate support for Dell EMC VNX driver"
- Deprecate support for Dell EMC VNX driver
The Dell EMC VNX driver is deprecated because of the product reached
its EOL.
Depends-on: https://review.opendev.org/c/openstack/manila/+/907370
Change-Id: Ib4de7371964ea0e25753ec04e338480039a45355
* Update puppet-manila from branch 'master'
to fa19ab552019588482130c7724803aabc7167231
- Merge "Deprecate support for GlusterFS drivers"
- Deprecate support for GlusterFS drivers
... because these are deprecated in manila.
Depends-on: https://review.opendev.org/908735
Change-Id: Ic605abffe6c7fc7df3ee285ed338f4939ed8ecf7
* Update puppet-manila from branch 'master'
to ef843ea5bf1f353c3f49005b80df766c1ad1d620
- Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: Ic91979dbfd736573cf6b3a12a402a97c03077c72
* Update puppet-manila from branch 'master'
to 63d7b6e8c43ca5a3757cddb376ae50ac4fff1dba
- healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.
Depends-on: https://review.opendev.org/905557
Change-Id: Ide8acee8656c5d19c9deeb7ee7053f9b3a8cf6c5
* Update puppet-manila from branch 'master'
to e34ba45bf554288fec189f42fbf405328115f42b
- Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.
Also, manilaclient is not required by manila itself so the support
package tag can be removed.
Depends-on: https://review.opendev.org/899594
Change-Id: I826e54bf5bbe125441aec38bb05353ea651252b7
* Update puppet-manila from branch 'master'
to 713faae998450266728e22f9e1bc4c078f7432fd
- 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: I7ed9eecb3d8027143a2f11ce59711b1fb32287f1
* Update puppet-manila from branch 'master'
to cfab2b79d19ddaa9dc9c5380d02071b9b0b46e88
- Allow skipping installation of storops library
The unity share driver requires storops library, and now we install it
using pip. However this may not be ideal in some deployments because
it mixes up python libraries installed by packages and ones installed
by pip. This change introduces an option to disable management of
the storops library so that users can install the library by
a different method (3rd party package).
This change also fixes the missing manila-support-package tag, to
ensure that the package is installed before manila services start.
Change-Id: I56951a77264154c2f3cbc57234b7f54eef99aee1
* Update puppet-manila from branch 'master'
to 063b4b5a8cdb88f14b1466b365ab9382fb1d4608
- Add support for reserved percentage options
Each backend support a few options to determine the capacity percentage
which should be reserved for certain operations. This adds support
for these options.
Change-Id: Ia259871cb6759eb2f8768cb5989846dd121d0d70
* Update puppet-manila from branch 'master'
to f965957d178316f8f7a7f33b6f07993e73c7d672
- 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: I32fa0913f4e1470374c6964019fee6da90cde792
* Update puppet-manila from branch 'master'
to 0bb751e027d81ff35b10f90662807e9ba2e17e87
- Merge "Add support for share backup/restore options"
- Add support for share backup/restore options
This introduces support for options used by share backup and restore
feature, which was introduced to manila recently.
This also adds support for NFS share backup driver.
Change-Id: Idf187458b62e81999874f9582f932d9707c0d8c1
* Update puppet-manila from branch 'master'
to c6d889b1832f0c2993a845980d1fa038602cba26
- Merge "Remove usage of deleted manifest_dir"
- 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: Ia3affb52355ef859320a2b2bd6ef6365ea2b4844
* Update puppet-manila from branch 'master'
to f7c52c53a8adccdf80c58f221188a1e1decde817
- Merge "PowerMax: Fix wrong nfs client package name in Ubuntu/Debian"
- PowerMax: Fix wrong nfs client package name in Ubuntu/Debian
This was fixed for the other drivers by [1] but we somehow overlooked
this specific implementation.
[1] 5e92666e086eb13b270a73b711c389376bb54439
Related-Bug: #1931711
Change-Id: Ibd59d7bd2c74d0b459645bbb53ce7a57495eb27d
* Update puppet-manila from branch 'master'
to f319ebb1459a38073a67bf383fa537763dce77fb
- Add support for share manger options
This updates the manila::share class so that users can manage options
used by share manager.
Change-Id: I9d386e183bca3ea410d2deb491a85c992d7b5367
* Update puppet-manila from branch 'master'
to 15c9eb40e632edd1d3e3e95491f68d577e956810
- Remove redundant order enforcement
We implemented anchor to control order of each deployment phase.
Change-Id: Id0e86d8f8eaeebc2102a585e0bf3567790f1d332
* Update puppet-manila from branch 'master'
to 58ea7fbc1e162140ea1c3fd95d833908482dcec4
- 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: I0942614c38a3fd887a5611adb3f322bea43d7c87
* Update puppet-manila from branch 'master'
to 1cd02f242d17e5970145958e091108a10fe8ef8a
- Merge "RabbitMQ: Add support for quorum queue options"
- RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I77fa2775ce8073ff9e88c80041c4ea3463084fd7
* Update puppet-manila from branch 'master'
to 8de218137c9ed835c4c4d3424e25bde62e9bddc6
- 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: Idbd1eb9f14242e069a446acfc757b32568625388
* Update puppet-manila from branch 'master'
to 30c74b8be614989e02ff21a8739dd16af3ad0323
- 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: I0e39855aa5e4892f338d5f476be7760ec59e2eb8
* Update puppet-manila from branch 'master'
to 7389c58a17324ed8c207b2d9a64abc13c65422f9
- Enable memcached in acceptance tests
Now memcached is used as cache backend for some services and authtoken
middleware.
Change-Id: Ib68e1abcdf980c5ec8feedd98ccb8c03e08daf93
* Update puppet-manila from branch 'master'
to f1ac6f261463341aa9c6e6fbd8ac33e72fbb1be2
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Ia80b3e6c00e4f9ece454ff217012e1d51578186b
* Update puppet-manila from branch 'master'
to 8956637035501feca30f5111560df84f411fa24a
- 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: Ibea10c7048160e93501d11f941fa3e089a99f133
* Update puppet-manila from branch 'master'
to 0997601839f3695006affd49d5b20a40fda9e238
- Merge "Do not hard-code [oslo_messaging_amqp] container_name"
- Do not hard-code [oslo_messaging_amqp] container_name
The container name should be globally unique, and using a fixed and
hard-coded value does not meet that requirement.
The oslo.messaging library generates the random value automatically
unless the option is set, so we should rely on that behavior.
Change-Id: Id021d0581894fea76359a7d1d41117b27bfa7376
* Update puppet-manila from branch 'master'
to 61ae2c64e648082c42ee3a1162d95cbac0ce48a2
- Merge "Drop redundant hardcoded defaults of amqp options"
- Drop redundant hardcoded defaults of amqp options
These defaults match the default values defined in oslo.messaging.
Change-Id: Ie0be34f7b6af5cbfd895301983bd8e0e58482930
* Update puppet-manila from branch 'master'
to 607e366887fe8068f1b2f526ed4b3a7f0962f90e
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Id7f139b395e193635a673fe07b46baafe4a8772f
* Update puppet-manila from branch 'master'
to 72cc48f921f7d9b7a70f057616a9635bac93d398
- Merge "Replace remaining validate_legacy"
- Replace remaining validate_legacy
These were somehow overlooked during the previous attempt.
Change-Id: I64e9446c5e2efac9daa96f5d043975b3c6cf3e82
* Update puppet-manila from branch 'master'
to 997733a765339c412480620213737ee1ab228ded
- 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: I36d065587938f7fb49df591c21d0267545d069b3
* Update puppet-manila from branch 'master'
to fd90649c82116148bd474a57544ce5a345de5ac5
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I2364aed9cadceaa9b71b570357975b93634f71a2
* Update puppet-manila from branch 'master'
to ddc24d4981cceb316a5ea1b96e5c0d61239c6f95
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I047e92e280cf75d03520715c2acb64faeb9c5ad2
* Update puppet-manila from branch 'master'
to 25e83823598054525afae11de0baaed3d36472f2
- Merge "Enable scenario 004 test"
- Enable scenario 004 test
Now Manila is enabled in the scenario to test deployment with cephfs
share driver.
Depends-on: https://review.opendev.org/884317
Change-Id: I6030c825e76d9699daf7c00c985cf37f33c7c259
* Update puppet-manila from branch 'master'
to da47296e049d23f216120f5be0ead87120718087
- Merge "Update default value of emc_ssl_cert_verify"
- Update default value of emc_ssl_cert_verify
This updates default value of the emc_ssl_cert_verify parameters from
false to true(service default). The change has been announced a while
ago[1] and we provided the enough time for operators to update their
definitions accordingly.
[1] e197b396a8224b86873aa8d439e57c847d774f57
Change-Id: I0f3d7c330b908a1aa7941a6ef62ac4f1cdcbe028