[RFE] Netapp make netapp_snapmirror_quiesce_timeout end user option

Bug #2000171 reported by Maurice Escher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
kiran pawar

Bug Description

Hi,

currently netapp_snapmirror_quiesce_timeout is an option of replica promote that can only be set by the operator running the manila service, i.e. the cloud administrator.

There are situations where a high timeout may be good: safeguarding planned failovers to prevent data loss.
But there are also situations where no time should be waited at all: disaster stroke and I want to do an unplanned failover fast.

So there is no: one fits all. Let's move the decision up to the end user client whether the timeout should be at a certain higher value or zero.

I can imagine this being implemented as a force option to the replica promote API, since this is nothing that could be expressed via share type. One and the same share could get into both described example situations at different times, so it is not a describing attribute of the share itself, but rather a thing to provide at the time of calling promote (or some cleverness to determine, whether it is a disaster situation or not. but how to implement such goes beyond my imagination currently)

Thanks in advance for your thoughts about this,
Maurice

Revision history for this message
Maurice Escher (maurice-escher) wrote :

More thoughts after brainstorming with kpdev: instead of a force-option the option per call can also be giving the value of the quiesce wait time to be used for that particular promote operation.

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/+/868486

Changed in manila:
status: New → In Progress
Changed in manila:
importance: Undecided → Medium
assignee: nobody → kiran pawar (kpdev)
Changed in manila:
milestone: none → antelope-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit 5f0f14a7f8b99ac008be4604bcaeec2dbc149d06
Author: Kiran Pawar <email address hidden>
Date: Fri Dec 23 12:41:37 2022 +0000

    Add quiesce_wait_time option to share replica promote API.

    Currently netapp_snapmirror_quiesce_timeout is an option of replica
    promote that can only be set by the operator. There are scenarios where
    high timeout value set by operator does not fit well e.g. disaster
    stroke and user want to do an unplanned failover fast. Added new
    option 'quiesce_wait_time' to share replica promote API which allows
    to use specified wait_time(in seconds) instead of config option.

    Closes-bug: #2000171
    Change-Id: Ib02063ee8b82f7374cd89f90e7f24a845c6c7cd7

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-manilaclient 4.3.0

This issue was fixed in the openstack/python-manilaclient 4.3.0 release.

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

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

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.