Commit Graph

2130 Commits

Author SHA1 Message Date
Zuul 6c04a9621f Merge "Deprecate the Ceph NFSProtocolHelper" 2024-03-13 22:27:17 +00: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
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
Takashi Kajinami 12e1ec4959 Deprecate Windows SMB share driver
This feature was added and maintained by Cloudbase as part of effort to
support Windows-only OpenStack but Winstackers project was retired and
there seems to be no on requiring this deployment architecture now.

Because the driver hasn't been get any meaningful update for some time
and we no longer have Hyper-V CI active, this proposes deprecating
the driver so that we can retire it in 2024.2 at the earliest.

[1] d9c0bda0b7

Change-Id: Icec29f5512d4c4ce8c8d7ccb1f2d3823bffa7ed9
2024-03-05 17:40:40 +09: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
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
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
Zuul 8ce69b1951 Merge "Conditional Import for FIPS Compliance" 2024-02-20 16:42:50 +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
ashrod98 47e7c78f37 Conditional Import for FIPS Compliance
Conditionally Import Parakimo
Separate SSH functions into ssh_utils.py for safe conditional import.

Change-Id: Ia1a3ee69bef76b52e4e6df1e73488c018ac0f3c9
2024-02-06 20:30:39 +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
Takashi Kajinami b488f42332 Bump hacking
hacking 3.1.x is too old.

Change-Id: Ic5131276ac1d1a1a959d0a5b16398ae12fae0c18
2024-01-27 23:57:00 +09:00
Zuul 357f62cf97 Merge "NetApp Derive vserver name from share server identifier" 2023-12-13 20:14:14 +00:00
Zuul 4486cb2f3f Merge "[Pure Storage] Add support for multiple data VIPs" 2023-12-05 20:08:00 +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
Simon Dodsley ecf6823369 [Pure Storage] Add support for multiple data VIPs
Minor change to allow multiple data VIP addresses
to be specified in the `flashblade_data_vip` parameter.

Each data VIP will be used to define the file system
export address for shares created. The first address in
the list will be clasified as the Preferred export
address, but this is not enforced.

Change-Id: Ia3bfdd5ce1bfd31d10193d1f222bf27b38c8ef43
2023-11-10 17:01:09 -05:00
Zuul 31f16a443d Merge "Pure Storage - bump version numbers for 2024.1 (Caracal)" 2023-11-10 00:48:29 +00:00
Zuul 72280df44c Merge "Don't fail remove-export in NFS-Ganesha" 2023-11-09 17:55:39 +00:00
Simon Dodsley d053e437d1 Pure Storage - bump version numbers for 2024.1 (Caracal)
Pure uses the version number of the driver to identify which
customers are using which versions of OpenStack.

This will help granular analysis of which driver is being
used in each OpenStack version

Change-Id: If8d94ba3c20ea830f493fb8695f1f9cfe3f3140e
2023-11-08 09:32:38 -05:00
Zuul 1c44d99460 Merge "Change status and error handling for /shares API" 2023-10-27 20:39:50 +00:00
melakualehegn b24ef91f2c Change status and error handling for /shares API
This change modifies the status and error handling
logic of the /shares API when it fails to handle
the specified share_type in the request. The updated
logic ensures that appropriate responses are
generated to handle this scenario effectively.

Closes-Bug: #1944478

Change-Id: I8d4b30daae2fe8c88c30d93d402bf2e5a558f804
2023-10-27 15:26:40 +03:00
Zuul 9812983bbb Merge "[Pure Storage] Fix connection issue on network failure." 2023-10-26 15:28:53 +00:00
Zuul db6dc973eb Merge "Add service_network_host option for port host" 2023-10-24 18:29:08 +00:00
Zuul 2693c7a187 Merge "Fix python shebang" 2023-10-23 20:42:40 +00:00
Goutham Pacha Ravi 609b925a51 Don't fail remove-export in NFS-Ganesha
When dropping an export over DBUS, if there's a problem
with the removal, we can ignore the failure and move on.
If not, the share ends up in an "error_deleting" state.

There's not much that we can do here besides logging
the failure as an exception.

Change-Id: I73c2706c9d889f8d08057a543b2a963740bb3f33
Closes-Bug: #2035572
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2023-10-21 09:56:42 +00:00
MelloCaique 8229f3e5c1 Fix BadRequest from share-server-migration-get-progress
The share-server-migration-get-progress command was returning error
when executed immediataly after starting migration.

This patch fix all the errors related to this change.

Closes-bug: #2025075

Change-Id: Iaaf15906aa3a29543860d878cde305cfddc7f70e
2023-10-19 15:31:05 +00:00
Takashi Kajinami cc572226cd Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

Change-Id: Ice53cc822d9a103f28f991fc8b839097f822e2d1
2023-10-17 16:01:16 +00:00
Takashi Kajinami 8f1e605adf Fix parsing of protocol access mapping options
The protocol access mapping options should accept dictionaries whose
values are lists, not strings.

Closes-Bug: 2038607
Change-Id: Id75082507cee27bef03318dc3af5ae5c1b233505
2023-10-15 12:49:08 +09:00
Zuul 22e568d1d3 Merge "NetApp API failed. Reason - 18177:Relationship is in use by SnapMirror in local cluster" 2023-10-13 20:43:37 +00:00
Zuul 0d08682a8f Merge "db: Rename 'share_export_location_*' to 'export_location_*'" 2023-10-05 19:14:08 +00:00
Zuul d0182bf9e4 Merge "db: Rename 'share_instances_*' to 'share_instance_*'" 2023-10-04 17:17:03 +00:00
ricolin 129dc9b28b Add service_network_host option for port host
Network port host can be totally different than manila host,
So it's weird to force binding host to only manila host.
`service_network_host` allow we specify host for network ports
when `dhss` is True.

Change-Id: I3d9a3bbc81f18d60a0710d9336ad6f97176875be
2023-10-04 14:34:07 +00:00
Zuul e1aaae49c2 Merge "db: Rename some methods" 2023-10-03 19:36:04 +00:00
Kiran Pawar 8615ce2549 NetApp Derive vserver name from share server identifier
Instead of using the identifier the migration methods are deriving
the vserver name from the share server id. This causes failure for
migrate a share server that had been migrated before.

Closes-bug: #2037109
Change-Id: Ida13bacab960761bb7cd0708017d864db0d7358f
2023-10-03 12:17:51 +00:00
LuizSantos 1f9d51fdba NetApp API failed. Reason - 18177:Relationship is in use by SnapMirror in local cluster
Changed the client method 'get_snapmirror_destinations' instead of 'get_snapmirrors'

Closes-Bug: #1996907
Change-Id: Ie857caf8a439ca6b252baa3c1fbfb3f0e62d7562
2023-09-30 19:12:39 +05:30
Zuul 4637a3ca03 Merge "Respect provided "host" when plugging ports" 2023-09-28 18:58:20 +00:00