20499 Commits

Author SHA1 Message Date
Eric Harney
7f629facb4 Hacking: Remove C306, C308 checks
These block usage of methods that no longer
exist in oslo.utils 6.0.0+.  Since they have
been removed, we don't need a hacking check
for this.

Change-Id: If0345c863b1750eaca3097f240fde9b976ac442e
2023-09-14 15:18:58 -04:00
Zuul
f79048d282 Merge "Imported Translations from Zanata" 2023-09-02 13:31:06 +00:00
OpenStack Proposal Bot
1058bb1d08 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I735fed5b263e37fe868e59ead9a28503d9b94374
2023-09-01 04:26:25 +00:00
Zuul
4c9ffabe5c Merge "Use openstack-tox-py311 job" 2023-09-01 02:45:24 +00:00
Zuul
639b114309 Merge "NetApp ONTAP: Fix create FlexVol pool replica" 2023-09-01 01:03:50 +00:00
Brian Rosmaita
5a17149def Use openstack-tox-py311 job
Instead of our custom tox-py311 job, use the openstack-wide job
that was added by change I725b94bee6601a and added to the testing
template by I3b22ff95ab7b83a.

Since the openstack-tox-py311 job uses a debian bookworm nodeset,
follow change I736ecb2a18d3 in adjusting cinder's bindep.txt.

Change-Id: I3b22ff95ab7b83ae6e0e12f0d2bf645cc87424d2
2023-08-18 18:55:23 -04:00
FengJiankui
ddcf394ae2 Do not ignore availability_zone in backup creation
This patch corrects a regression introduced by change
Ie2afb57c4861c4.

Change-Id: I8b1b09ecf2ad1e19a557a664516251cae3ddf2ae
Closes-Bug: #1912624
2023-08-18 15:10:53 -04:00
Zuul
3b9cc13a94 Merge "HPE 3PAR: use vlan iscsi ips" 2023-08-17 08:56:35 +00:00
OpenStack Proposal Bot
24c712f49d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib4dbc1396e2c814e4d3c4a15f9c488088571e6e0
2023-08-03 04:09:48 +00:00
Pierre Riteau
ff4b1c910e docs: add missing space
Change-Id: I3ae05e12608bb708a1765f812ecffb03d4eafb6b
2023-08-01 16:49:08 +02:00
Zuul
4da12c70ac Merge "Automate generation of backups api-ref samples" 2023-07-27 08:52:53 +00:00
Zuul
26847ddeed Merge "[Pure Storage] Fix failure in replication failover" 2023-07-25 00:46:23 +00:00
Zuul
d69e26244e Merge "mypy: Cover cinder/flow_utils.py" 2023-07-21 19:47:43 +00:00
Zuul
a0268b0faa Merge "api-ref: Remove non-existent attribute" 2023-07-21 17:35:18 +00:00
Zuul
47ef7e48e7 Merge "[docs] Update REST API version history" 2023-07-21 16:53:01 +00:00
Simon Dodsley
084d84152a [Pure Storage] Fix failure in replication failover
A previous patch incorrectly removed a call using a specific
version of API as part of the replication failover process.

The call being made to the backend fails as one of the
parameters is not supported in later API version.

This patch fixes the call to the backend to use the required
API version.

There are no tempest tests for replication failover, hence
why the original patch passed tests.

Closes-Bug: #2028380
Change-Id: Id4f5f16a04220cc880e17ffd69a8303c93a6e8ba
2023-07-21 10:43:28 -04:00
Zuul
7d467069bb Merge "Yadro Tatlin Unified FC driver" 2023-07-21 12:35:14 +00:00
OpenStack Proposal Bot
39c254a50a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I600b3ff4752021471abe3e546d48a357282ad5e5
2023-07-20 03:25:53 +00:00
Zuul
cd795e4588 Merge "[SVf] : Fix multiple SVC CLI calls for rc-relationship operations" 2023-07-18 12:54:58 +00:00
Zuul
f3db07d669 Merge "Cleanup image_utils chown check" 2023-07-17 23:55:04 +00:00
Zuul
5728d3899f Merge "api-ref: Fix indentation, case" 2023-07-17 14:37:45 +00:00
Zuul
c191432232 Merge "Automate generation of volume transfer api-ref samples" 2023-07-17 12:34:14 +00:00
Stephen Finucane
b6c38c3001 api-ref: Fix indentation, case
A bullet list shouldn't be indented in rST and doing so causes it to be
rendered inside a blockquote, which is not what we want.

In addition, indicating versions as vXXX is more prevalent than VXXX so
correct this.

Change-Id: I3ea8e0a8ae58d5b7da9aae85b41162b2458020d5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-17 11:21:56 +01:00
Zuul
712032959c Merge "Fix a regression in restoring to sparse volumes" 2023-07-15 07:14:55 +00:00
Zuul
95f0dc8e90 Merge "Add Cinder driver for TOYOU NetStor TYDS" 2023-07-14 16:18:25 +00:00
Vladislav Belogrudov
3f3112f796 Yadro Tatlin Unified FC driver
Added support of FC to Tatlin Unified driver

Implements: blueprint yadro-tatlin-unified-fc
Co-Authored-By: Sergey Karpenkov <s.karpenkov@yadro.com>

Change-Id: Ia8192854a7095354f2616d53d2c5b71580384dcb
2023-07-14 10:44:37 +03:00
cccqqqlll
6fcb495c8b Add Cinder driver for TOYOU NetStor TYDS
* Supported Protocol
 - iSCSI

* Supported Feature
 - Create Volume
 - Delete Volume
 - Attach Volume
 - Detach Volume
 - Extend Volume
 - Create Snapshot
 - Delete Snapshot
 - Create Volume from Snapshot
 - Create Volume from Volume (clone)
 - Create lmage from Volume
 - Volume Migration (host assisted)

ThirdPartySystems: TOYOU TYDS CI
Implements: blueprint add-toyou-netstor-tyds-driver
Change-Id: I0a2b6e81c0440593a97c3aff2554cfdb96af77a5
2023-07-14 14:34:52 +08:00
Toheeb
6172d2a9a0 Automate generation of backups api-ref samples
This patch adds the following tests:

1) List backup with details
2) Show backup
3) Update backup

Partially-Implements: blueprint generating-sample-files
Change-Id: I9bbfab93fb138932243d880e440c9524b5f08217
2023-07-13 14:25:52 +01:00
Pete Zaitcev
2e031e1cac Fix a regression in restoring to sparse volumes
Unfortunately, the commit b75c29c7d8e0e6ac212b59f9ad8d140874e55251
did not update all the places where BackupAPI.restore_backup()
was called. One of them was in the flow manager.

Although this regression being undetected in is disappointing,
we are not changing how unit tests are performed in any
fundamental way for this patch. An outstanding patch using
MyPy is aready in review, which would capture this case.

Closes-bug: #2025277
Related-Change-Id: I54b81a568a01af44e3f74bcac55e823cdae9bfbf
Change-Id: Iabfebacfea44916f89584ffd019d848e53302eaf
2023-07-12 16:21:22 -05:00
Zuul
c33e138cd6 Merge "Tests: Provide filter arg to VolumeAttachmentNotFound()" 2023-07-12 21:02:41 +00:00
Brian Rosmaita
489dd5a1eb [docs] Update REST API version history
Add the "maximum" marker for Zed and 2023.1 at mv 3.70, which was
introduced by change I459f06504e90.

Change-Id: I7a7e45a99e0c7ec59f4e2ef7e98c9710c4cd37a1
2023-07-11 18:17:20 -04:00
Zuul
c1a18fcdf9 Merge "Ceph: Fix restore backups to diff backend" 2023-07-11 18:36:49 +00:00
Eric Harney
540ff2e715 Cleanup image_utils chown check
Remove duplicated code.

Change-Id: I697e8c685d67250e2d016964c20bb2189ac384a4
2023-07-11 18:27:23 +00:00
Desire Barine
79a9210c52 Automate generation of volume transfer api-ref samples
This patch adds the following tests:

1) Volume transfer for microversions 3.55 and above

Partially-Implements: blueprint generating-sample-files

Signed-off-by: Desire Barine <desirebarine16@gmail.com>
Change-Id: Ifdd99433563ab72d8d43a374af0377213834d46e
2023-07-08 07:56:50 +00:00
OpenStack Proposal Bot
7fa5561eb5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5b41f761b0957d508eedd9f003860b833b14d56f
2023-07-08 03:22:16 +00:00
Zuul
25455c476f Merge "db: Remove the legacy 'migration_version' table" 2023-07-03 19:31:33 +00:00
Zuul
3c0aea5feb Merge "Deadlock prevention support in synchronize" 2023-07-03 19:09:39 +00:00
Zuul
8930f3f323 Merge "Remove six from dell_emc drivers" 2023-06-30 00:03:39 +00:00
Zuul
6ce209efdb Merge "Remove six from kaminario driver" 2023-06-30 00:03:36 +00:00
Zuul
a243b4c75d Merge "Remove six from qnap driver" 2023-06-29 23:42:06 +00:00
OpenStack Proposal Bot
f1569abd66 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ide8f124c3a7dddc9fb45f11673684bd705131a38
2023-06-28 03:43:26 +00:00
Zuul
e673bcc368 Merge "Remove six from solidfire driver" 2023-06-27 22:11:24 +00:00
Zuul
02761c8385 Merge "Remove six from ibm_storage drivers" 2023-06-27 22:11:20 +00:00
Zuul
1279443a98 Merge "Remove six from storwize driver" 2023-06-27 22:11:17 +00:00
Sofia Enriquez
7b635086cb Ceph: Fix restore backups to diff backend
The current implementation of the `_full_restore` method in the Ceph
backup driver is causing restoration to fail when restoring to another
volume type. This is because the method generates an incorrect image
name in the Ceph pool, resulting in the error message:

```
rbd.ImageNotFound: [errno 2] error opening image
b'volume-a91c11af-1147-4ac7-a5ce-61676736e076.backup.base' at snapshot
None.
```
Originally, the format `volume-<vol-uuid>.backup-<backup-uuid>` was used
for every backup created on the Ceph pool. However, after the change introduced in commit Ia08c252d747148e624f8d9e8b0e43f94773421e0, the
base name format was altered to volume-<uuid>.backup.base when
creating backups from Cinder snapshots.

This patch modifies the current if statement in _full_restore() to check
for the presence of a snapshot_id attribute in the backup. If the
attribute exists, the old base name format is used; otherwise, the new
format is applied. The if block statement in _full_restore() should now
match the format generated by the _full_backup() method.

Additionally, src_snap is activated when the destination volume is RBD
or if the backup is incremental. Currently, the Ceph backup driver only
supports incremental RBD backups, so incremental backups from non-RBD
volumes are not permitted.

NOTE: This patch primarily mirrors the modifications in
Ia08c252d747148e624f8d9e8b0e43f94773421e0, addressing it as a partial
bug fix. There's a consequential patch that further strengthens the
backup restore operations, which should be considered to fully resolve the bug. These two should be squashed and backported together for
optimal implementation.

Partial-Bug: #1895035
Change-Id: Iff8e1e90ab3c7b519819577ec3aafff838e6934f
2023-06-27 21:25:50 +00:00
Zuul
f11b18e385 Merge "PowerStore driver - documentation update" 2023-06-27 19:24:28 +00:00
Felipe Rodrigues
0dc8d75229 NetApp ONTAP: Fix create FlexVol pool replica
The replication needs to map the origin cluster aggregates to destination.
The origin is got from the provisioning options that contains the aggregate
as a list for FlexGroup pool and a string for FlexVol pool. This patch
fixes the create operation by adding that aggregate condition check.

Change-Id: Ia0af0777eeae18cfabefb5df4fdeb562382c2299
Closes-Bug: #1927784
2023-06-23 20:11:25 +00:00
raghavendrat
4482ec892f HPE 3PAR: use vlan iscsi ips
In the code hpe_3par_iscsi.py, only the trunk ips
(192.168.68.203) are considered. If vlan ips (192.168.100.1)
are specified, they aren't considered while forming list of
iscsi ips.

Sample output of "showport" command from HPE 3par storage system:

CSSOS-SSA04 cli% showport -iscsivlans
N:S:P VLAN IPAddr        Netmask
0:2:1  -  192.168.68.203 255.255.192.0
0:2:1 100 192.168.100.1  255.255.192.0
0:2:1 200 192.168.100.2  255.255.255.0

Kindly refer launchpad bug for details.

This patch adds support for using vlan iscsi ips.

Closes-Bug: #2015034
Change-Id: Idaea18411ae03c5a9696b2ab67e84087177fcc74
2023-06-23 07:11:41 +00:00
Tony Saad
293f88127f PowerStore driver - documentation update
Update of the PowerStore driver documentation to include
Image Volume Caching.

Change-Id: I40919bb4ef6aaac28d6c62d146934330260b8003
2023-06-21 12:28:36 -05:00
Zuul
2b0567b0e5 Merge "Automate generation of volume transfer api-ref samples" 2023-06-20 13:13:30 +00:00