Skip to content

Test/share server replica [TESTING PURPOSE] - #355

Open
kpawar-sap wants to merge 3 commits into
stable/2025.1-m3from
test/share-server-replica
Open

kpawar-sap wants to merge 3 commits into
stable/2025.1-m3from
test/share-server-replica

Conversation

@kpawar-sap

Copy link
Copy Markdown

No description provided.

@kpawar-sap
kpawar-sap requested a review from skook1 August 24, 2026 10:54
@kpawar-sap
kpawar-sap force-pushed the test/share-server-replica branch 5 times, most recently from f81c6f4 to 9d7bd76 Compare September 1, 2026 08:11
@kpawar-sap
kpawar-sap force-pushed the test/share-server-replica branch from 9d7bd76 to 1c6fc91 Compare September 7, 2026 14:08
Comment thread manila/api/v2/router.py

from manila.api import extensions
import manila.api.openstack
from manila.api.v1 import limits

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the v1 api is still there and only L51 with share_server_replicas should be added as v2

SUPPORTED_ENCRYPTION_TYPES = ['share', 'share_server']

SUPPORTED_SHARE_PROTOCOLS = (
'NFS', 'CIFS', 'MULTI', 'GLUSTERFS', 'HDFS', 'CEPHFS', 'MAPRFS')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MULTI is still needed

@kpawar-sap
kpawar-sap force-pushed the test/share-server-replica branch 3 times, most recently from 11613ec to 35d4f9b Compare September 8, 2026 16:27
Added Share Server Replica APIs enabling replication of entire
share servers across backends for disaster recovery, with
support for create, list, show, delete, promote, resync, and
metadata operations.

Cherry-picked from upstream: https://review.opendev.org/c/openstack/manila/+/993501
DB migration down_revision updated to match sapcc/stable/2025.1-m3 head (004e506e922e).
Test files excluded.

Change-Id: Idb0bbed72e00527d2b675853656317ce00cec812
Implements share server replica driver methods for NetApp ONTAP
using SnapMirror Active Sync (SM-as) for DHSS=True deployments.
Adds create/delete/promote/update-state for share server replicas,
with full ONTAP REST client primitives for SVM SnapMirror.

Cherry-picked from upstream: https://review.opendev.org/c/openstack/manila/+/991844
Test files excluded.

Depends-On: https://review.opendev.org/c/openstack/manila/+/993501
Change-Id: Ifd27ac55c211f552fa802d56823e901bf557ff5b
Adds SMAS (SnapMirror Active Sync) awareness to share create/delete
and create_from_snapshot workflows: pre-checks for in_sync state,
unprotect-on-delete with destination volume cleanup, smas_protection
flag on clones, and _deallocate_container fix to skip offline_volume
for REST (prevents relationship stuck in shrinking state).

Cherry-picked from upstream: https://review.opendev.org/c/openstack/manila/+/996629
Test files excluded.

Depends-On: https://review.opendev.org/c/openstack/manila/+/991844
Change-Id: Ica99f990a1d6c14e7ee29fb9acd6ff986eb28adc
@kpawar-sap
kpawar-sap force-pushed the test/share-server-replica branch from 35d4f9b to d065e47 Compare September 9, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants