21052 Commits

Author SHA1 Message Date
Zuul
f55d97959d Merge "StorPool: Use os-brick instead of packages storpool and storpool.spopenstack" 2025-02-20 10:53:21 +00:00
Zuul
3e7e62dddd Merge "lightbits: add qos support" 2025-02-18 20:39:14 +00:00
Zuul
debc28490f Merge "Fujitsu Driver: Improve CLI function" 2025-02-18 14:17:38 +00:00
Zuul
bca0334cec Merge "Make volume Glance metadata bulk update idempotent" 2025-02-14 18:33:37 +00:00
inori
6adc73299b Fujitsu Driver: Improve CLI function
When the CLI command execution encounters an error, the storage
returns an error code.
However, only some error codes could be parsed, resulting the
inability to view specific error information in the log.
To fix this issue, the parsing of error codes has been added when
the CLI encounters an error, allowing the error information to be
viewed in the log.

In addition, this patch also adds support for SSH keys,
allowing connections to the storage using SSH key.

Closes-Bug: #2048850
Change-Id: I204f3889e3401b142dd7c9a6e11585639585abfc
2025-02-14 14:41:33 +08:00
Zuul
bc3643b905 Merge "docs: add supported db info" 2025-02-12 22:09:34 +00:00
Brian Rosmaita
76a710a2ae docs: add supported db info
Change-Id: I77d73f91fe3497076c08e4e05d99a2da8569e1f3
Closes-bug: #1968746
2025-02-12 12:23:55 -05:00
Zuul
b854ab8466 Merge "mypy: Support mypy 1.15.0" 2025-02-12 17:02:04 +00:00
Zuul
d6e99d69ae Merge "Stop testing old release of cinder" 2025-02-10 14:53:26 +00:00
Zuul
a1fb7da213 Merge "HPE 3par: Update the calculation of free_capacity" 2025-02-06 20:23:05 +00:00
Eric Harney
f988ac3136 mypy: Support mypy 1.15.0
Change-Id: I46ad60a060a3310a3d2a762fc99bec701249b7d9
2025-02-06 10:39:31 -05:00
yuval
f6d25c93ac lightbits: add qos support
Currently Admin user will create the qos policy in the lightbits side
and add the policy UUID to the volume type.
Creation of new volume using the volume type will be created with the
qos policy.

Change-Id: Id0332c5c6a70d63c87bf63cdf4c8bd71e672a148
2025-02-06 13:56:30 +02:00
Eric Harney
fff98b182e Rally: Fix usage of cinderv3 service name
The cinder-rally-task job is failing with:
Validation error: There is no 'cinderv3' service in your environment

Change-Id: Ideae7b290c639ae1a79d29eeaf156de38777ae8d
2025-01-31 10:19:36 -05:00
Biser Milanov
89a7a3bf5f StorPool: Use os-brick instead of packages storpool and storpool.spopenstack
Stop depending on modules `storpool` and `storpool.spopenstack` for
access to the StorPool API and reading the StorPool configuration from
files. Use the new new in-tree implementation introduced in `os-brick`.

Change-Id: Ieb6be04133e1639b3fa6e3a322604b366e909d81
2025-01-29 16:26:50 +02:00
raghavendrat
792462cad1 HPE 3par: Update the calculation of free_capacity
In get_volume_stats response, below 3 values are returned,
along with some other values.
total_capacity, provisioned_capacity and free_capacity.

All these 3 values were calculated independently;
and in some cases, the sum of provisioned_capacity (PC) and
free_capacity (FC) was not equal to total_capacity (TC).
Ideally PC + FC should be equal to TC.

After checking wsapi guide and executing those calls we found that,
total_capacity and provisioned_capacity are calculated correctly.

Thus, free_capacity is now calculated as below:
free_capacity = total_capacity - provisioned_capacity

Change-Id: I89e36219f9e3adfaf626f25cd06e7a46d3fe813c
2025-01-21 10:59:07 +00:00
Zuul
651bb41689 Merge "Dell PowerMax: multi detach req caused race conditions" 2025-01-16 21:56:36 +00:00
Zuul
962fe29e77 Merge "HPE 3par - Fix retype volume" 2025-01-03 07:53:14 +00:00
Jon Bernard
eb436ffc3f Remove trailing white space in release note
This is causing pep8 to fail on other patches.

Change-Id: I2b36476f12ec7b8928534b2c458981ed407b898e
2024-12-29 07:25:47 -05:00
Zuul
bff6a6dfec Merge "[docs] Update REST API version history" 2024-12-20 15:51:22 +00:00
raghavendrat
d082b67d95 HPE 3par - Fix retype volume
The retype operation from thin volume to deco volume
(dedup + compression) fails.

RESP BODY: {"code":46, "desc":"invalid input: bad enum value"}

This patch fixes the retype operation by using updated
functions and parameters.

Closes-Bug: #2080927
Change-Id: Id2a515ad64c62552dc211078080cfdef6dc87540
2024-12-19 13:38:17 +00:00
Zuul
a7b1388932 Merge "NFS update volume attachment format during volume snapshot" 2024-12-18 21:26:09 +00:00
OpenStack Proposal Bot
c67b26e295 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id867e4fd133332954ea7479bff4719dc5d151efd
2024-12-17 03:28:06 +00:00
Zuul
01f7c97376 Merge "HPE 3par: getWsApiVersion login/logout" 2024-12-16 20:39:25 +00:00
Pierre Riteau
92a4682d4d [docs] Update REST API version history
Add the "maximum" marker for 2023.2 at microversion 3.70, which was
introduced by change I459f06504e90.

Add the "maximum" marker for 2024.1 and 2024.2 at microversion 3.71,
which was introduced by change I4aaa5da1ad67.

Change-Id: If889a3c2cb5eefc8e1ec7fb0963684fb30b8795b
2024-12-16 10:30:23 +01:00
Matus Brandys
f1f64d9e74 HPE 3par: getWsApiVersion login/logout
After logging in to WSAPI with getWsApiVersion(),
ensure you call logout() to prevent
exhausting the server's connection limit.

This patch corrects a regression introduced
by I30f105ee619386f52bc907f5115c08e0fafb9e42

Change-Id: Iec30d048b4b18cb2013005fb36484b2808030690
2024-12-16 06:05:06 +00:00
Zuul
c8ceeeb150 Merge "Add 'enforce_multipath' in connection_properties" 2024-12-13 01:19:12 +00:00
Zuul
1e50851970 Merge "reno: Update master for unmaintained/2023.1" 2024-12-12 15:47:36 +00:00
Zuul
ad623bd13a Merge "Support hacking 7.0.0" 2024-12-12 14:37:14 +00:00
OpenStack Proposal Bot
0d2a27e2fb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I01970db44193e0617da70ed33ad3ab1c38cfa667
2024-12-11 04:49:20 +00:00
raghavendrat
e953beffb6 HPE 3par iSCSI: getWsApiVersion now requires login
Earlier the call to getWsApiVersion() worked without login.
Now with new wsapi of 2024, login is required.

This patch makes call to client_login() before getWsApiVersion().

Change-Id: I334d91c978a8d0d1cff1edeb6c8cdd5aedf4acfe
2024-12-09 06:06:07 +00:00
Zuul
02980528fb Merge "Update gate jobs as per the 2025.1 cycle testing runtime" 2024-12-04 20:03:30 +00:00
Zuul
2192248fbd Merge "Huawei hypermetro: RECOVERYPOLICY typo" 2024-12-04 19:30:54 +00:00
Rajat Dhasmana
0c3c7b7bb5 Add 'enforce_multipath' in connection_properties
Previously, the check for multipath used to happen while fetching
connector information. The downside of this was we didn't know
what kind of connection (iSCSI, FC, NVMe) will be created and
it was not possible to handle the multipath checks for different
connectors.
With change[1], the check was moved to the connect_volume method
but that led to another problem that the connection information
returned from cinder didn't contain the ``enforce_multipath``
parameter.
The purpose of this patch is to include the ``enforce_multipath``
parameter in the connection information based on the value fetched
from the connector.

[1] https://review.opendev.org/c/openstack/os-brick/+/933250

Partial-Bug: #2085013

Change-Id: I4ea618a44b37cce5dd0b131ffac55bce51d08c0a
2024-12-04 23:48:51 +05:30
melanie witt
56abc9d5b9 NFS update volume attachment format during volume snapshot
During a NFS volume snapshot of an attached volume, a QCOW2 snapshot is
created and is made the active volume for the instance. The associated
volume attachment is however not updated, resulting in an unbootable
instance after a stop/start.

This adds an update to the volume format and attachment connection_info
format during the snapshot.

Closes-Bug: #1989514

Change-Id: I3c638dab2f0b5a2128eaeeea533450d7cdfa1577
2024-12-04 18:10:31 +00:00
Yian Zong
febe34fa66 Dell PowerMax: multi detach req caused race conditions
This patch added a global lock for detach/attach operation
to prevent the race conditions caused by multiple detach
requests.

It also improved trace logs for PowerMax RESTAPI requests.

Closes-Bug: #2089656
Change-Id: I7de66d96cec4bc3a4f6f1e9423dc3e9b47e9df95
2024-12-03 09:57:39 +00:00
Zuul
6e5e0b78b3 Merge "test_storpool.py: Assume volumes have a volume type" 2024-11-25 15:44:45 +00:00
Zuul
f2502d44e3 Merge "fix: typo in pure driver" 2024-11-23 20:43:32 +00:00
Biser Milanov
d9e31ee702 test_storpool.py: Assume volumes have a volume type
All volumes since the Train release have a volume type [1], so test
cases with a non-present volume type can be removed

[1]: https://docs.openstack.org/cinder/latest/admin/default-volume-types.html

Change-Id: I1df86c7d1653ece74c9cde5f77cfdaac431f581c
2024-11-22 11:16:47 +02:00
Zuul
02fa643e8d Merge "Remove default override for config options policy_file" 2024-11-21 21:14:58 +00:00
Zuul
41a07d63bf Merge "Remove unused httplib2" 2024-11-20 14:06:18 +00:00
Zuul
e79cb1b7d9 Merge "StorPool: DRY volumeCreate() in create_volume()" 2024-11-19 07:52:10 +00:00
Ghanshyam Mann
c81135cf0f Remove default override for config options policy_file
olso.policy 4.5.0[1] changed the config options policy_file
default value to 'policy.yaml', which means it is changed
for all the OpenStack services and they do not need to
override the default anymore.

NOTE: There is no change in behaviour here, oslo.policy provides
the same configuration that services have overridden till now.

[1] https://review.opendev.org/c/openstack/releases/+/934012
[2] https://review.opendev.org/c/openstack/requirements/+/934295

Change-Id: I3e3d0aaaece99120d276ff44dcdb3151855c8fe5
2024-11-15 19:45:29 -08:00
c60d28d02e reno: Update master for unmaintained/2023.1
Update the 2023.1 (Antelope) release notes configuration to build
from the 2023.1-eom tag, which is the last point at which the cinder
project team had responsibility for the branch.

Change-Id: I6677eb3f6f5abf181426e968d29036c03da9c5c4
2024-11-15 22:19:22 +00:00
Zuul
4aadc0784d Merge "Tests: Skip multiprocess test when using 1 cpu" 2024-11-15 19:01:11 +00:00
Zuul
a0eb7ee9a7 Merge "Nimble: Report max_oversubscription_ratio via backend capabilities" 2024-11-15 18:44:09 +00:00
Takashi Kajinami
0f4c0c7a18 Remove unused httplib2
The httlib2 library was added to be used by google backup driver[1],
but it was then replaced by google-auth-httplib2 .

[1] cf5653c17c1dce2a85ced8b6969a0503d5cca416
[2] 79d7a4e8da6f1118b5c235928876cf78085f4332

Change-Id: I1635ee8e5bd3b257ed64070a590a3820a2682667
2024-11-15 23:56:44 +09:00
Zuul
ab08f40f30 Merge "datacore: Mock is_valid_ipv6 to fix unit tests with netaddr >= 1.0.0" 2024-11-15 11:28:17 +00:00
Zuul
6f3c92986f Merge "Fix a typo for assert_called_with" 2024-11-15 11:28:10 +00:00
Zuul
42ef3cad9f Merge "Pure Storage - bump version numbers for 2025.1 (Epoxy)" 2024-11-15 11:28:05 +00:00
Zuul
6210005aa7 Merge "mypy: Print mypy version used" 2024-11-15 10:52:39 +00:00