NetApp cDOT driver does not fence off 'dr' replicas after promotion

Bug #1634278 reported by Goutham Pacha Ravi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Naresh Kumar Gunjalli

Bug Description

The NetApp cDOT DHSS=False driver supports 'dr' replication style. The semantics of the 'dr' replication style are that the secondary copy is inaccessible, i.e., is not exported.

When a replica is created on a share, the cDOT driver creates an unexpected secondary volume, and, if the secondary is promoted, the replication relationship is now reversed. When this reversal occurs, the old primary is expected to be fenced off, i.e., all existing clients are evicted and the volume is un-junctioned, so that, no one can mount it.

This doesn't occur. Clients that have the primary mounted, will continue to see the filesystem mounted even after promotion. (they can't write into it anymore though)

Changed in manila:
importance: Undecided → Medium
assignee: nobody → Goutham Pacha Ravi (gouthamr)
milestone: none → ocata-2
tags: added: dr netapp replication
Changed in manila:
milestone: ocata-2 → none
Changed in manila:
assignee: Goutham Pacha Ravi (gouthamr) → nobody
Tom Barron (tpb)
tags: added: driver
Changed in manila:
assignee: nobody → Naresh Kumar Gunjalli (nareshkumarg)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/648705

Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/648705
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=8fd4dfb4dea54706ab8261e342b249a430f8613d
Submitter: Zuul
Branch: master

commit 8fd4dfb4dea54706ab8261e342b249a430f8613d
Author: Naresh Kumar Gunjalli <email address hidden>
Date: Thu Mar 14 06:40:09 2019 -0400

    Unmount NetApp active share after replica promote

    The NetApp cDOT driver is now fixed to unmount the original
    active share volume after one of its replica gets promoted.

    Change-Id: Iecb734b431f0b7bc9a905b0a672013869ff60fd8
    Closes-Bug: #1634278

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/669756

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

Reviewed: https://review.opendev.org/669756
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=0402f78a7b5c5cacca23e36ea6a1e73f1395eaea
Submitter: Zuul
Branch: stable/stein

commit 0402f78a7b5c5cacca23e36ea6a1e73f1395eaea
Author: Naresh Kumar Gunjalli <email address hidden>
Date: Thu Mar 14 06:40:09 2019 -0400

    Unmount NetApp active share after replica promote

    The NetApp cDOT driver is now fixed to unmount the original
    active share volume after one of its replica gets promoted.

    Change-Id: Iecb734b431f0b7bc9a905b0a672013869ff60fd8
    Closes-Bug: #1634278
    (cherry picked from commit 8fd4dfb4dea54706ab8261e342b249a430f8613d)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/673251

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

Reviewed: https://review.opendev.org/673251
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=3335bdcfe88c187b4bc0a14c4f2a1bf400472ec9
Submitter: Zuul
Branch: stable/rocky

commit 3335bdcfe88c187b4bc0a14c4f2a1bf400472ec9
Author: Naresh Kumar Gunjalli <email address hidden>
Date: Thu Mar 14 06:40:09 2019 -0400

    Unmount NetApp active share after replica promote

    The NetApp cDOT driver is now fixed to unmount the original
    active share volume after one of its replica gets promoted.

    Change-Id: Iecb734b431f0b7bc9a905b0a672013869ff60fd8
    Closes-Bug: #1634278
    (cherry picked from commit 8fd4dfb4dea54706ab8261e342b249a430f8613d)
    (cherry picked from commit 0402f78a7b5c5cacca23e36ea6a1e73f1395eaea)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 9.0.0.0rc1

This issue was fixed in the openstack/manila 9.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/687611

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

Reviewed: https://review.opendev.org/687611
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=a564a4db6dfd15a61a56e6549e439982cebc3b94
Submitter: Zuul
Branch: stable/queens

commit a564a4db6dfd15a61a56e6549e439982cebc3b94
Author: Naresh Kumar Gunjalli <email address hidden>
Date: Thu Mar 14 06:40:09 2019 -0400

    Unmount NetApp active share after replica promote

    The NetApp cDOT driver is now fixed to unmount the original
    active share volume after one of its replica gets promoted.

    Change-Id: Iecb734b431f0b7bc9a905b0a672013869ff60fd8
    Closes-Bug: #1634278
    (cherry picked from commit 8fd4dfb4dea54706ab8261e342b249a430f8613d)
    (cherry picked from commit 0402f78a7b5c5cacca23e36ea6a1e73f1395eaea)
    (cherry picked from commit 3335bdcfe88c187b4bc0a14c4f2a1bf400472ec9)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 6.3.2

This issue was fixed in the openstack/manila 6.3.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 8.1.0

This issue was fixed in the openstack/manila 8.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 7.4.0

This issue was fixed in the openstack/manila 7.4.0 release.

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.