Commit Graph

1150 Commits

Author SHA1 Message Date
Zuul 2c95d47b97 Merge "Check share network for share groups before deletion" 2024-04-24 01:25:30 +00:00
Zuul 221d4d940d Merge "Add delete CLI helper to ShareCommands" 2024-04-09 17:09:35 +00:00
Okeke Christian 23de7b4b0c Add delete CLI helper to ShareCommands
This patch adds a delete cli command to ShareCommands
The helper CLI command checks if service if up. If service
is down, it deletes the share instance

Closes-Bug: #1867030
Change-Id: I6a0575c1ed86213010e50fe1b7a733cdf7fa1736
2024-04-05 16:08:55 +01:00
Zuul f4c77bfe71 Merge "Add cephfs filesystem to shares metadata" 2024-03-01 07:52:13 +00:00
Zuul 7b685d9dda Merge "Add a new config option to specify admin metadata" 2024-02-29 17:06:48 +00:00
Zuul 618576ff31 Merge "Add disabled reason field to service." 2024-02-28 21:27:48 +00:00
silvacarloss 7e585a3bb5 Add cephfs filesystem to shares metadata
Make use of the `get_optional_share_creation_data` driver interface
to metadata in shares' created using the cephfs protocol.

Closes-Bug: #2050010
Change-Id: I91b51f974840f593334f2dcddfcfd45adfe87780
2024-02-27 18:09:31 -03:00
haixin 12ef157c3b Add disabled reason field to service.
update micversion to 2.83
user can set disabled reason for service.

Closes-Bug: #2037700

Change-Id: I3d7c46945366ac9e1d305c2f6de2233859259bf7
2024-02-27 14:27:37 +08:00
silvacarloss 3429717601 Add a new config option to specify admin metadata
- A new config option named ``admin_metadata_keys`` was introduced
and we expect it to be set in the DEFAULT section of the manila
configuration file. It is expected that administrators will provide
a list of metadata keys that can only be updated by administrators
through this configuration option.

- Drivers will be able to set metadata while creating shares
through the `get_optional_share_creation_data` driver interface.

Closes-Bug: #2050010
Change-Id: I6412710c7db89747d23033e1a5a6be9de5886b0b
2024-02-22 14:31:44 -03:00
OpenStack Release Bot 9cfb03e075 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I19a4146536bc2c0dd9da49d0c89be565f5fd3283
2024-02-20 13:09:02 +00:00
Zuul 84d10cf225 Merge "Deprecate GlusterFS (Native) Driver" 2024-02-17 06:04:10 +00:00
Zuul fbae564132 Merge "Dell EMC: Deprecate VNX driver" 2024-02-17 01:40:05 +00:00
Zuul e3aaac5bb9 Merge "Deprecate untested Tegile share driver" 2024-02-16 19:22:44 +00:00
Zuul 179a1e7a4d Merge "Dell EMC: Drop "vmax" alias" 2024-02-16 17:17:30 +00:00
Takashi Kajinami f2afe01ab9 Deprecate untested Tegile share driver
The driver was added in 2016, but it has had no 3rd party CI and it has
been untested. According to git log, the driver has not get any updates
specific to it.

Cinder already removed the Tegile driver[1] because of lack of CI.

[1] https://review.opendev.org/c/openstack/cinder/+/501333

Change-Id: I25a97ee23e5ce96ca0aec15941ad26763cd8cea0
2024-02-13 01:50:16 +00:00
Takashi Kajinami 436c89fefd Deprecate GlusterFS (Native) Driver
CI of these drivers has been broken since migration to Ubuntu Jammy
and no one has shown interest to fix it so far.

Because these drivers haven't been update for some time, we can assume
these drivers are no longer used.

Related-Bug: #1998493
Change-Id: I9df5b7289dcec3a0de321169e892512571e7c006
2024-02-13 09:47:28 +09:00
Kiran Pawar 09c51d2978 Retry on connection error to neutron
In case of keystoneauth1 ConnectError, manila will retry the neutron
API call. For create_port(), it will make sure no duplicate ports
are created.

Closes-bug: #2049507
Change-Id: I12fece58671e9fb3705e22090187c42d9c3a74d9
2024-02-06 13:58:09 +00:00
Zuul a83a4b1165 Merge "api: Dump config options when deployed as a wsgi app" 2024-02-05 17:20:02 +00:00
Zuul ffff0e1dbf Merge "Fixing skipped default override for CORS options" 2024-02-01 16:52:19 +00:00
Takashi Kajinami 19a91e0558 Dell EMC: Deprecate VNX driver
... because VNX already reached its EOL.

Change-Id: I1d6b2bfd7d99295f30fd9028771c8c4e7bd6b65f
2024-02-01 02:27:41 +00:00
Takashi Kajinami aabbd02598 Dell EMC: Drop "vmax" alias
This removes support for using "vmax" backends, which was translated
to "powermax" backends. This behavior was expected to be removed during
Wallaby cycle.

Also replace the remaining reference to EMC VMAX.

Change-Id: Id1187a9a99d87abefe3549e70df768f41494145f
2024-02-01 02:27:34 +00:00
Zuul 677437d394 Merge "Change misleading user message when user services are down" 2024-01-31 13:00:22 +00:00
Takashi Kajinami 2aa2ed5119 api: Dump config options when deployed as a wsgi app
This ensures api service dumps config options to debug logs when being
deployed as a wsgi app, so that users can review the effective values
and find misconfiguration more easily.

Closes-Bug: #2031480
Change-Id: I622fbae7fb273e7405a305cc3e33ac89c0564fdc
2024-01-31 10:47:28 +09:00
melakualehegn ecda09a14d Change misleading user message when user
services are down

enhance the user message when all of the share
manager services are down or are still
initializing
removed a duplicate test: test_create_share_non_admin

Closes-Bug: #1886690
Change-Id: I168564a5b054d17762ad668ebbe4f5e7b562197b
2024-01-30 20:41:58 +00:00
Joshua Cornutt 5d48410d0a Fixing skipped default override for CORS options
Some of the cores middleware options should have overridden default
values but the override method was not actually called so the library
defaults are still used.

Closes-Bug: #2051691
Change-Id: I8dac03c787bf729c60c2e0ecc9c03b7ba9a5b5a5
2024-01-30 22:18:43 +09:00
Zuul 357f62cf97 Merge "NetApp Derive vserver name from share server identifier" 2023-12-13 20:14:14 +00:00
Kiran Pawar 54c4f91aa1 NetApp: Stop clone split while deleting child share.
If share created from snapshot is deleted immediately after creation
and if clone split operation is in progress, then delete call fails.
Fix this issue by first stopping the clone split job and then continue
with deletion.

Closes-bug: #1960239
Change-Id: If9844b3da70cec427c6260ee239c8c6131ed77ed
2023-11-22 12:48:12 +00:00
Zuul 72280df44c Merge "Don't fail remove-export in NFS-Ganesha" 2023-11-09 17:55:39 +00:00
Takashi Kajinami 2235fea5ca Fix typo in the release note for bug 2038607
This is follow-up of Id75082507cee27bef03318dc3af5ae5c1b233505 and
fixes a type made in the release note content.

Change-Id: Ia28ec81d5faa87f0ca3a5db6bf84d52582bab316
2023-11-02 00:50:03 +09:00
Zuul 4dc5f6b730 Merge "Fix the link to get the next share replica" 2024-03-20 17:46:58 +00:00
OpenStack Release Bot 0c8cc2333b 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: If6933ad6a578042eef9c56652d5273dafd29602e
2024-03-14 11:55:18 +00:00
Zuul 18ffa38116 Merge "Change admin metadata config option name" 2024-03-13 22:27:21 +00:00
Zuul 6c04a9621f Merge "Deprecate the Ceph NFSProtocolHelper" 2024-03-13 22:27:17 +00:00
Zuul 0ca91f11b6 Merge "Human readable export location NetApp driver changes" 2024-03-13 18:04:30 +00:00
Zuul bd3b074aa5 Merge "Forbid resetting state of active replicas" 2024-03-13 14:08:49 +00:00
Okeke Christian c8236141f8 Fix the link to get the next share replica
The url to get the next share replica is broken when performing
pagination. The new API uses underscore to represent resource.
This fix resolves the broken link for share replicas by using alias.

Closes-bug: #2023754
Change-Id: I31e32c0bcfb60b53121da9a96df3b44ad2b3ac67
2024-03-13 11:45:11 +01:00
jayaanand.borra@netapp.com 4f36847de9 Human readable export location NetApp driver changes
NetApp driver changes to accommodate human readable
share location. Export path is updated with
human frendly value if present else use share-id.

partially-implements: bp human-readable-export-locations
Depends-On: I72ac7e24ddd4330d76cafd5e7f78bac2b0174883
Change-Id: I2f5bfdbc9d0458c7b9198a3eb94b3b095d5b5e04
2024-03-13 01:34:21 -04:00
Zuul f5a8202c53 Merge "Deprecate Windows SMB share driver" 2024-03-12 22:03:36 +00:00
Zuul 42cf099bb4 Merge "Implement the share backup for NetApp driver" 2024-03-12 22:03:34 +00:00
Zuul b6010bb746 Merge "Add support for share/snapshot deferred deletion" 2024-03-12 21:51:10 +00:00
silvacarloss 5a0ebacb88 Deprecate the Ceph NFSProtocolHelper
A couple of releases ago, we started supporting clustered NFS
gateways [1], and we mentioned we had clear intentions to make
this the default choice for the deployments.

In this change, we are deprecating the NFSProtocolHelper, which
will be removed in the next skip-level release.

This means that Manila will no longer support exports created over
a NFS Ganesha instance that is not managed by the Ceph Cluster.

[1] https://review.opendev.org/c/openstack/manila/+/848987

Change-Id: I062a8c552d7d94e010cef6694bec6da68d7ea180
2024-03-12 20:39:01 +00:00
Kiran Pawar 558288e00a Add support for share/snapshot deferred deletion
Implements: bp/deferred-deletion
Change-Id: I9e55e1706fc0c3d9f65f73e13ba2a20f355c74f4
2024-03-12 14:22:25 +00:00
agireesh 6909a7c213 Share backups enhancement
Added new column named 'backup_type' in 'share_backups' table
and changes the share common api libs to support the dhss_true
configuration for share backup creation

Partially-implements: bp/share-backup
Change-Id: Ifb88ec096674ea8bc010c1c3f6dea1b51be3beaa
2024-03-12 15:56:38 +05:30
agireesh dfbf51bafd Implement the share backup for NetApp driver
Implement the share backup feature for NetApp driver.
NetApp SnapVault technology is used to create and restore
the backup for NetApp ONTAP share. backup delete workflow
just delete the transferred snapshot from destination
backup volume.

Depends-On: Ifb88ec096674ea8bc010c1c3f6dea1b51be3beaa
Change-Id: I5a4edbf547e7886fb4fa9c1bed90110a33f9bf3b
2024-03-12 10:12:25 +05:30
Gray Lutalo b7a1b5b2cf Forbid resetting state of active replicas
In a replication setup, users encountered a critical
issue where they unintentionally reset the replica_state
of an active replica while attempting to resolve errors
on a non-active replica. This led to a situation with no
active replica, causing data loss. Users expected
server-side validation to prevent such actions.

This commit implements the necessary validation in the
codebase to ensure that the reset_replica_state action
cannot be applied to active replicas, addressing the
reported issue and improving data integrity in
replication setups.

Co-Authored-By: Solly <solobarine@gmail.com>
Closes-Bug: #2015328
Change-Id: I629669476e585a834673b8c8b49ad4b0270b877f
2024-03-09 07:40:42 +01:00
silvacarloss 987352d6cb Change admin metadata config option name
This change is a follow-up to a change that merged recently [1].
We are changing the name of the config option to make it similar
to the policy we have defined for updating some metadata that
should only be manipulated by administrators.

[1] https://review.opendev.org/c/openstack/manila/+/909175

Related-Bug: #2050010
Change-Id: I9a8a27f1181b92291f2d4ad5fd9d4483e2dacc50
2024-03-08 20:36:35 +00:00
Zuul a230ea511e Merge "Human readable export location core implementation" 2024-03-08 18:10:03 +00:00
jayaanand.borra@netapp.com ea1ac5f448 Human readable export location core implementation
Export locations are usually too difficult to memo
rize.Currently, there is no way to determine the
export location before the share is created, so
users wait until the share creation request gets
completed, and then they check the export
locations to mount the share. The generated
export locations are often not human readable
 and it is hard to memorize and control them.

Implements: bp/human-readable-export-locations
Change-Id: I72ac7e24ddd4330d76cafd5e7f78bac2b0174883
2024-03-07 17:20:30 -05:00
Zuul a5532c3080 Merge "reno: Update master for unmaintained/xena" 2024-03-06 16:55:14 +00:00
Zuul f5b822ae07 Merge "reno: Update master for unmaintained/victoria" 2024-03-06 16:52:44 +00:00