Commit Graph

20758 Commits

Author SHA1 Message Date
Zuul b36142602e Merge "Fix snapshot status is always backing-up" 2024-04-15 19:37:04 +00:00
Zuul d46e2ebbd7 Merge "Ceph: Catch more failure conditions on volume backup" 2024-04-12 16:37:09 +00:00
zhaoyixin 7f819854d2 Fix snapshot status is always backing-up
This patch adds a snapshot clean operation in the
cleanup_incomplete_backup_operations process of c-bak.

Co-Authored-by: Christian Rohmann <christian.rohmann@inovex.de>
Closes-Bug: #1938488
Change-Id: Ifa3d572139fc37c94e3b50a02e61c9818a1b6501
2024-04-12 17:01:17 +02:00
Brian Rosmaita f3a63ed6fa [docs] update gerrit group info
The cinder-core gerrit group is configured directly in project-config
to act as openstackclient/openstackSDK "service cores".  Add info to
the cinder-groups document so that we know where to look if this needs
to be changed or adjusted in the future.

Change-Id: I6b626604f9ff573ab59fd4867fdee7a0178ed7f0
2024-04-11 08:43:01 -04:00
Zuul b0f0b9015b Merge "hacking: Fix E501 errors" 2024-04-04 06:09:58 +00:00
Zuul 08adeda490 Merge "Remove six from Huawei drivers" 2024-04-04 04:29:56 +00:00
Eric Harney 6ae44ce501 hacking: Fix E501 errors
https://github.com/PyCQA/pycodestyle/issues/622 was fixed
in pycodestyle 2.4.0, which triggers E501 for docstrings
that didn't previously.

This shows up if we pull in a hacking>=6.0.0.

Change-Id: Id3c8a66c26f01ca734e6bc33c14f5deedf8e15f3
2024-04-03 12:07:11 -04:00
Zuul c0d824dd0e Merge "Imported Translations from Zanata" 2024-04-03 14:59:47 +00:00
Zuul 54856da910 Merge "PowerMax: Allow live migration without pool name" 2024-03-28 06:42:03 +00:00
cuiyeliu 9a470d41f4 PowerMax: Allow live migration without pool name
This change is to update the live migration ability in environments
using PowerMax. In previous 2023.1 version, the live migration fails
without a pool name.
The update adds the ability of live migration without a pool name.

Change-Id: Iad767cd516c8527136508470629236f68e0c7cc2
Closes-Bug: #2034937
2024-03-26 09:08:02 +00:00
Zuul 00e59c7d1d Merge "Dell PowerMax: Fix SnapVx unlink failure" 2024-03-24 16:41:51 +00:00
Zuul 273175720f Merge "HPE 3par: Unable to create clone of replicated vol" 2024-03-22 10:09:46 +00:00
Yian Zong 03ac369854 Dell PowerMax: Fix SnapVx unlink failure
Dell PowerMax SnapVx unlink fails as the linked device
is not yet fully defined.
This patch fixed the issue by checking the new configuration
'snapvx_unlink_symforce' and the linked device 'defined' status
to determine the value of 'symforce' in the payload of
SnapVx unlink restcall.

Closes-Bug: #2045230
Change-Id: I614f6aef2d4da76c417b4a143ab80e4a5f716dcd
2024-03-21 14:05:31 +00:00
raghavendrat 577e2ee108 HPE 3par: Unable to create clone of replicated vol
Two possibilities of clone volume:
1] same size, online copy

Existing behaviour: start clone & return from function.
Error occur because clone is not yet complete and
code tries to create vol on secondary array.

2] size is different, offline copy

Existing behaviour: (i) create new replicated vol.
(ii) during clone operation below error occur:
Volume is involved in remote copy
(iii) Since clone operation fails, delete new replicated vol (as cleanup).

To overcome both possibilities, code changes are done.

For clone of replicated vol, create offline copy only.
Steps:
(i) Create new vol without replication.
(ii) Perform clone operation; wait till completion (offline copy).
(iii) Create vol on secondary array.

Closes-Bug: #2021941
Change-Id: I1f025542a2509e36919ece01b29064377dbbe189
2024-03-20 07:32:05 +00:00
OpenStack Proposal Bot 7a92818772 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I604c2ed35f14040b10fc27d1a8f7e379a54a7205
2024-03-20 02:29:33 +00:00
OpenStack Release Bot d94ecc22c0 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: I4311c34b40838da8ecc48802091908f08bf6f48f
2024-03-18 08:48:54 +00:00
Zuul 1f87e45986 Merge "Run protection tests during gate check" 2024-03-15 17:36:58 +00:00
Zuul aec1c88712 Merge "Correct releasenote bug-1951250" 2024-03-15 15:07:42 +00:00
Zuul 08835cab08 Merge "Dell EMC: PowerMax - Configurable SRDF snapshots" 2024-03-15 15:07:33 +00:00
Zuul 942289ecb3 Merge "Deprecate Windows OS support" 2024-03-15 09:36:08 +00:00
Zuul baa7c33422 Merge "Dell EMC: Deprecate volume drivers for EOL products" 2024-03-14 21:49:19 +00:00
Zuul 8475859fce Merge "reno: Update master for xena Unmaintained status" 2024-03-14 19:02:53 +00:00
Zuul c6040dc3bc Merge "JovianDSS: Rework Open-E JovianDSS driver" 2024-03-14 18:16:22 +00:00
OpenStack Release Bot 23069626b6 reno: Update master for xena Unmaintained status
The stable/xena branch has been deleted, so reno can't find its
release notes.  Use the xena-eom tag to indicate the end of the
Cinder project's maintenance of the Xena series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: Iafa97d17bd5684c4a43b08f4b1a8d2b580a2cfd1
2024-03-13 22:01:48 +00:00
OpenStack Release Bot c0ff458b05 reno: Update master for Unmaintained branches
The stable/victoria and stable/wallaby branches have been deleted,
so reno can't find their release notes.  Use the victoria-eom and
wallaby-eom tags to indicate the end of the
Cinder project's maintenance of these series.

Also fix our override for the reno closed_branch_tag_re to include
the -eom tags. Add the changed reno.yaml file to all relevant
irrelevant-files lists.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: I505b7cc12888d2373a0550b40bb945d75bb11067
2024-03-13 12:56:42 +01:00
Takashi Kajinami c690fe7cbd Deprecate Windows OS support
Unfortunately the Winstackers project has been retired because of no
maintainers[1][2], and OpenStack on Windows host is no longer
maintained.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031044.html
[2] https://review.opendev.org/c/openstack/governance/+/886880

Change-Id: Ic9438ac444734c397cbc814cfee82f4f60abfd74
2024-03-13 01:11:24 +00:00
Takashi Kajinami 202713dd93 Dell EMC: Deprecate volume drivers for EOL products
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 change marks these drivers unsupported, 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/

Change-Id: I763278ec72adaf6f2ddd21edbfc687ca2f17f09a
2024-03-13 10:09:56 +09:00
Rajat Dhasmana 92afd39c12 Correct releasenote bug-1951250
This might be the reason for the releasenote job failing since
this bug number already exist in another releasenote[1].

2024-03-12 08:08:22.062615 | ubuntu-jammy | Warning, treated as error:
2024-03-12 08:08:22.062665 | ubuntu-jammy | /home/zuul/src/opendev.org/openstack/cinder/releasenotes/source/zed.rst:3:Duplicate explicit target name: "bug #1920870".
2024-03-12 08:08:22.137791 | ubuntu-jammy | ERROR

[1] https://github.com/openstack/cinder/blob/master/releasenotes/notes/bug-1920870-ibm-svf-fix-extend-issue-for-mirroring-volumes-31b1a9119c49e112.yaml

Change-Id: If3b45be606bfe318e339c8ab2df9be4162a63b40
2024-03-12 20:20:09 +00:00
Zuul 0581e8cbd6 Merge "Remove six from HPE drivers" 2024-03-07 09:36:29 +00:00
Zuul c7f2f61307 Merge "[NetApp] LUN space allocation support" 2024-03-06 18:12:12 +00:00
Zuul 59a789dfe4 Merge "Add Cinder active-active support for Dell PowerFlex driver" 2024-03-06 17:59:40 +00:00
Jayaanand Borra 48d922cf62 [NetApp] LUN space allocation support
Space allocation is an important NetApp driver specific feature.
This needs to be set when the cinder volume is created.
This is not related to thin/thick provisioning feature of cinder
volumes.It is independent of that. It enables ONTAP to reclaim
space automatically when host deletes data.This helps ONTAP
and host to see the actual space correctly when the host
deletes data.
It also helps to keep a LUN (cinder volume) online when the
LUN (cinder volume) in ontap runs out of space and containing
volume (in ONTAP) cannot automatically grow more space.

User can configure it by using volume type extra spec.
By default Space allocation value is disabled for ONTAP LUN

netapp:space_allocation: "<is> True"  # to enable space allocation
netapp:space_allocation: "<is> False" # to disable space allocation

Blueprint: netapp-space-allocation-support
Change-Id: Ib7072f3093067ecd8ad84e396aaecec8f15c49ba
2024-03-06 03:16:05 -05:00
Zuul b5d08a53ab Merge "Remove six from Nexenta drivers" 2024-03-05 23:10:26 +00:00
Zuul a43cdaa85c Merge "[Pure Storage] Enable sync repl volume creation during failover" 2024-03-05 17:57:28 +00:00
Bryan Neumann 7e38339201 Dell EMC: PowerMax - Configurable SRDF snapshots
Add volume type extra spec boolean property
'powermax:disable_protected_snap'. Enabled when set to: `'<is> True'`,
`'True'`, `'true'`, or True, otherwise the property is disabled by
default.

When set to True, snapshot won't be replicated and won't
match the source volume type, it will be a regular device
no matter what.

If the property is not enabled in the volume type extra_specs, then
there is no change from the current behavior.

Implements blueprint powermax-protected-snap-config

Change-Id: Iafa44dcf0e8f46749b5ef37f0b8d341e8253a3bd
2024-03-01 20:28:03 +00:00
Zuul 20fe5b51f6 Merge "Remove six from ProphetStor driver" 2024-03-01 18:26:28 +00:00
Zuul ba424aae92 Merge "Dell PowerFlex: Added timeout into rest API call." 2024-02-29 10:09:30 +00:00
Atsushi Kawai 6677d0c8c2 Hitachi: Update driver document
This patch updates Hitachi cinder driver document,
to add following 4 descriptions:

- Use of Global-Active Device(GAD).
  https://review.opendev.org/c/openstack/cinder/+/796170
- Use of data deduplication and compression.
  https://review.opendev.org/c/openstack/cinder/+/850831
- Use of Port scheduler
  https://review.opendev.org/c/openstack/cinder/+/828696
- Use of target port assignment
  https://review.opendev.org/c/openstack/cinder/+/828060

This patch is like a follow-up patch,
because above features have already merged by 2023.1 Antelope.

Change-Id: I6ca6241ac9c66a6bbd891c1f0474e7bf7c0ca386
2024-02-27 04:12:48 +00:00
Zuul b2a96e82fc Merge "Dell PowerMax: Added timeout into rest API call." 2024-02-26 19:10:46 +00:00
Zuul 2cb647584a Merge "Fix error in cinder-manage quota sync cmd" 2024-02-26 19:10:39 +00:00
Zuul 647fa0b102 Merge "Add the os-extend_volume_completion volume action" 2024-02-23 20:16:31 +00:00
Zuul 4eef9c0830 Merge "Fix online data migration" 2024-02-22 17:57:52 +00:00
Brian Rosmaita a56d3976d6 Fix syntax in release note
An apostrophe was in place of a backtick, and as a result the
hyperlink to the LP bug didn't display as a hyperlink.

Change-Id: I42867de19c35255f275f47eb78062130f5756cab
2024-02-22 09:31:08 -05:00
Zuul 47bf6af18c Merge "db: Set name for FK constraint" 2024-02-22 14:20:24 +00:00
Zuul d3a80ad134 Merge "db: Remove erroneous primary key definitions" 2024-02-22 14:20:20 +00:00
Nilesh Thathagar cf83449bbd Dell PowerFlex: Added timeout into rest API call.
Added connect and read timeout into rest API call
of PowerFlex to avoid cinder hang issue.
Deafult value of connect and read timeout
is 30 seconds.

Closes-Bug: #2052995
Change-Id: I032d76627466f74121e3dc4fb2c8e175d830fa14
2024-02-22 11:20:34 +00:00
Nilesh Thathagar 5082cb3e07 Dell PowerMax: Added timeout into rest API call.
Added connect and read timeout into rest API call
of PowerMax to avoid cinder hang issue.
Deafult value of connect and read timeout
is 30 seconds.

Closes-Bug: #2051830
Change-Id: I2d419b4257bae75c69577a34758910c4889e2507
2024-02-22 05:33:03 +00:00
Zuul 0425c08f3d Merge "Hacking: Remove C306, C308 checks" 2024-02-21 16:00:04 +00:00
Eric Harney 105728c2ab Tests: Support jsonschema 4.21
This fixes unit test compatibility with
jsonschema 4.21 while maintaining compat
with jsonschema 3.2.

Change-Id: If9b8b4ccc805c8086c180e881b0ddd712289ad13
2024-02-20 09:02:48 -05:00
Rajat Dhasmana 45250e9a92 Fix online data migration
The online migration remove_temporary_admin_metadata_data_migration
was recently merged and broke gate for the kolla project.

There are 2 issues with the current code:
1. The db api doesn't return the total and updated values
2. We are issuing a limit and update query together which is
not allowed generating the following error:

sqlalchemy.exc.InvalidRequestError: Can't call Query.update()
or Query.delete() when limit() has been called

This patch fixes the issue by creating a select subquery to get
all the ID values with the limit as max_count. We then create
a new query for update and pass the select subquery as a filter.

We don't require a releasenote since the bug and fix are in the
same release.

Closes-Bug: 2052805
Change-Id: Ida994f767eecb094c177db15dfc80a0c0fe56447
2024-02-20 13:59:46 +05:30