share server migration check does not allow replicas

Bug #2052785 reported by chuan137
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Unassigned

Bug Description

Hi,

share API does not allow migration to continue if any share has replicas. Afaik, some driver started supporting this feature now, e.g., NetApp OnTap 9.12 onwards. Would be nice to allow skipping the check in
_migration_init_check() [1] based on the driver's capability or configuration. Wdyt?

Best,
Chuan

[1]: https://github.com/openstack/manila/blob/a7ffbf7bd0b62fea1c94eaaa6cc518298704ad85/manila/share/api.py#L2922

Vida Haririan (vhariria)
tags: added: migration
tags: added: replication
Vida Haririan (vhariria)
Changed in manila:
importance: Undecided → Low
Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/933902

Changed in manila:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to manila-tempest-plugin (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/936170

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/933902
Committed: https://opendev.org/openstack/manila/commit/c9fa6f939c8f3ad5a0add3ed92499b394b1330c8
Submitter: "Zuul (22348)"
Branch: master

commit c9fa6f939c8f3ad5a0add3ed92499b394b1330c8
Author: Kiran Pawar <email address hidden>
Date: Fri Nov 1 07:33:34 2024 +0000

    [netapp] Allow share server migration with replicas

    New share server property `share_replicas_migration_support` will be set
    by backend driver and then evaluated in api layer to allow/dis-allow share
    server migration with replicas.

    Closes-bug: #2052785
    Change-Id: I1cc5489488f44cc7edc7348fb3b3af7397564682
    Depends-On: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/935355

Changed in manila:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.