Commit Graph

912 Commits

Author SHA1 Message Date
Takashi Kajinami 88a6773b2c Prepare 2024.1 release
Change-Id: Ife7f48b70868cb9c803629b845dc3a3d776c62f1
2024-04-15 22:29:24 +09:00
Zuul 7d034c721c Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:03:09 +00:00
OpenStack Release Bot 2c22230967 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I42dc2a7886501747605f846370af2513d7fbc2aa
2024-04-12 12:32:45 +00:00
OpenStack Release Bot 1d9b7851ef reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: If5239c3a374ec2047f7aa0003f9f07b59cf5e53f
2024-04-12 12:24:39 +00:00
Zuul f9f2e8bb44 Merge "validate maxdelay for cron job" 2024-04-08 21:26:28 +00:00
Takashi Kajinami bf6f63fb90 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
2024-04-08 16:47:30 +09:00
Takashi Kajinami d3c1479600 Support [DEFAULT] admin_only_metadata
Change-Id: I50a773a189f800193207bed1a4ded6b1f7236490
2024-04-04 04:57:35 +00:00
Takashi Kajinami 6d51d11354 Fix wrong test case title in manila::api unit tests
Trivial-Fix

Change-Id: Id99a42300cc0336aa1ce283e12af238254537af4
2024-04-04 12:16:13 +09:00
Zuul 6b613b7778 Merge "Require enabled_share_backends" 2024-04-01 22:43:49 +00:00
Takashi Kajinami 5cc6faada5 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
2024-03-28 15:03:37 +09:00
Takashi Kajinami a37c133988 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
2024-03-19 01:06:22 +00:00
Takashi Kajinami 59c444d7a4 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
2024-03-17 01:05:28 +09:00
Zuul cfdb02ac4c Merge "service_instance: Ensure create_service_image is a boolean" 2024-03-14 12:16:03 +00:00
Takashi Kajinami a4cbad02a8 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: Ibca9ab8c8c7adba1dfc1da7236a31820fb4e0e21
2024-03-14 09:43:17 +09:00
Takashi Kajinami 3bb02309d9 service_instance: Ensure create_service_image is a boolean
... because it's used in if-else logic.

Change-Id: Ia9584ac431e3e1a378c1e5a138548db1dcadd303
2024-03-13 10:47:57 +09:00
Takashi Kajinami 6dc78a00e3 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
2024-03-04 09:53:05 +09:00
Takashi Kajinami 2447fdad14 healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: I95c15c7585f1afd81d03c234637e7a5d08ac04e3
2024-02-26 01:23:47 +09:00
Zuul 0669b5cd06 Merge "reno: Update master for unmaintained/yoga" 2024-02-21 22:29:59 +00:00
Zuul 5868d9e8bd Merge "Deprecate support for Dell EMC VNX driver" 2024-02-21 18:19:20 +00:00
OpenStack Release Bot fc5f299d25 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I53cda0fe2ea026ce37a68a136975c63443a92f2b
2024-02-21 16:46:56 +00:00
Zuul fa19ab5520 Merge "Deprecate support for GlusterFS drivers" 2024-02-17 07:50:25 +00:00
Takashi Kajinami 71e99ad2d5 Deprecate support for GlusterFS drivers
... because these are deprecated in manila.

Depends-on: https://review.opendev.org/908735
Change-Id: Ic605abffe6c7fc7df3ee285ed338f4939ed8ecf7
2024-02-17 11:32:30 +09:00
Takashi Kajinami 36eafc26ae 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
2024-02-17 07:11:20 +09:00
Takashi Kajinami ef843ea5bf Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: Ic91979dbfd736573cf6b3a12a402a97c03077c72
2024-01-30 00:43:41 +09:00
Takashi Kajinami 63d7b6e8c4 healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: Ide8acee8656c5d19c9deeb7ee7053f9b3a8cf6c5
2024-01-17 15:26:14 +09:00
Takashi Kajinami e34ba45bf5 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
2023-11-20 00:44:26 +09:00
Takashi Kajinami 713faae998 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
2023-11-18 09:15:16 +00:00
Zuul 59823d1aaf Merge "Stop reading keystone_authtoken options" 2023-11-17 18:24:07 +00:00
Takashi Kajinami 6447b0b926 Stop reading keystone_authtoken options
Using credentials in keystone_authtoken options for manila_* resources
was deprecated some cycles ago[1].

[1] 5ca6e6fc9c

Change-Id: I71d98227468ef3be42ece9f5b1e4b588b51b9854
2023-11-16 17:36:31 +09:00
Takashi Kajinami cfab2b79d1 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
2023-10-27 22:41:31 +09:00
Zuul 1b89d78af6 Merge "Allow multiple Unity backend" 2023-10-23 16:50:14 +00:00
Takashi Kajinami d00ac4804b Allow multiple Unity backend
The current implementation causes duplicated resources when multiple
Unity backends exist.

Change-Id: Ia364951d989a78d05327fd2f2bc64173426382fa
2023-10-21 18:50:57 +09:00
Takashi Kajinami 063b4b5a8c 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
2023-10-19 04:11:56 +00:00
OpenStack Release Bot f965957d17 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
2023-10-16 15:17:36 +00:00
Zuul 0bb751e027 Merge "Add support for share backup/restore options" 2023-10-11 06:58:47 +00:00
Zuul c6d889b183 Merge "Remove usage of deleted manifest_dir" 2023-10-11 04:43:11 +00:00
Takashi Kajinami d9180aab0e 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
2023-10-11 12:02:36 +09:00
Zuul f7c52c53a8 Merge "PowerMax: Fix wrong nfs client package name in Ubuntu/Debian" 2023-10-09 07:06:29 +00:00
Takashi Kajinami 2c6e685768 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
2023-10-07 17:02:16 +09:00
Takashi Kajinami 1d38a1265b 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] 5e92666e08

Related-Bug: #1931711
Change-Id: Ibd59d7bd2c74d0b459645bbb53ce7a57495eb27d
2023-10-06 23:01:56 +09:00
Takashi Kajinami f319ebb145 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
2023-10-06 14:06:02 +09:00
Takashi Kajinami 15c9eb40e6 Remove redundant order enforcement
We implemented anchor to control order of each deployment phase.

Change-Id: Id0e86d8f8eaeebc2102a585e0bf3567790f1d332
2023-10-06 14:06:02 +09:00
Zuul f779495bd2 Merge "Prepare 2023.2 release" 2023-10-03 17:18:57 +00:00
Takashi Kajinami 683b70a872 Prepare 2023.2 release
Change-Id: I1c747696051bc30dceaca7a6f84455df4a69b339
2023-10-03 17:09:20 +09:00
Takashi Kajinami 58ea7fbc1e 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
2023-10-03 13:15:03 +09:00
Zuul 1cd02f242d Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 16:00:04 +00:00
Takashi Kajinami 11a89a63c5 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I77fa2775ce8073ff9e88c80041c4ea3463084fd7
2023-09-15 10:46:03 +09:00
Takashi Kajinami 8de218137c 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
2023-09-11 12:29:38 +09:00
Takashi Kajinami 30c74b8be6 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
2023-08-22 14:29:12 +00:00
Takashi Kajinami 7389c58a17 Enable memcached in acceptance tests
Now memcached is used as cache backend for some services and authtoken
middleware.

Change-Id: Ib68e1abcdf980c5ec8feedd98ccb8c03e08daf93
2023-08-22 23:27:55 +09:00