Repository navigation
nvmeofgw: delay failback - #67717
nvmeofgw: delay failback#67717
Conversation
Config Diff Tool Output+ added: mon_nvmeofgw_failback_delay (mon.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
Fix issue with ESX NVMeof initiators: To prevent IO delays during GW failback add configurable failback delay. Failback process for recovered GW would be delayed by configured number of seconds. The default value is 0 - no delays need when Host is Linux. tracker: https://tracker.ceph.com/issues/75427 Signed-off-by: Leonid Chernin <[email protected]>
bill-scales
left a comment
There was a problem hiding this comment.
Approve.
If new conf variable is non zero it calculates when the failback should happen and transitions to GW_AVAILABLE state but does not failback immediately. Each mon tick handle_abandoned_ana_groups is called and check if enough time has passed to allow the gateway to failback. This was already used to retry gateway failback so is reusing an existing code path.
|
jenkins test api |
|
jenkins test windows |
1 similar comment
|
jenkins test windows |
| std::chrono::seconds failback_delay = g_conf().get_val<std::chrono::seconds> | ||
| ("mon_nvmeofgw_failback_delay"); | ||
| if (failback_delay == std::chrono::seconds{0}) { | ||
| find_failback_gw(gw_id, group_key, propose_pending); |
There was a problem hiding this comment.
OK, no change on the default path.
| } else { | ||
| dout(4) << "failback not allowed for GW "<< gw_id | ||
| << " failback delay not expired yet" << dendl; | ||
| } |
@leonidc FYI - make sure that this command gets appropriate documentation if needed. |
|
@leonidc Please resolve the PR check issue and merge the PR. If re-run is required add the needs-qa label |
|
/config check ok |
|
jenkins test config |
Fix issue with ESX NVMeof initiators:
To prevent IO delays during GW failback add configurable failback
delay. Failback process for recovered GW would be delayed by configured
number of seconds.
The default value is 0 - no delays need when Host is Linux.
The new configuration mon_nvmeofgw_failback_delay with default value 0 was added to the mon/yaml.in
tracker: https://tracker.ceph.com/issues/75427
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.