-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable iSCSI session SelHealing feature #864
Comments
Hello @ysakashita I agree there should be an option to disable or modify this feature. There are two inputs into the daemonset In the meantime, the only way to disable these features is by first disabling the Trident Operator (setting replica count to 0) and then passing Ideally, both the configuration parameters (iscsi_self_healing_interval, iscsi_self_healing_wait_time) should be exposed via operator as well as tridentctl installation to disable or modify iSCSI self-healing behaviour. |
Minor correction, it has to be a |
Thank you for the configuration parameters. I would like to be provided the disable option(or tuning value) not only in |
IMO, I think you can add |
As part of the enhancement, I agree there should be an option in future releases of Trident that would allow users to override the default behaviour (e.g. disableISCSISelfHealing: true) to disable iSCSI Self-healing via the Trident Operator as well as Helm. It means the Operator would set Today, this option does not exist, therefore in the absence of this option the only way to achieve it today is:
Please note: This is a workaround, the downside of disabling the Trident Operator is that you would lose Trident Operator's capabilities to remediate Trident installation issues, automatic upgrades and watches that ensures Trident is running in a desirable state. |
@ntap-arorar I can use this workaround in my experimental environment. Please let me know about versions that support this feature if NetApp make a plan. |
The fix for this issue is merged f1d7e12. Two configuration parameters have been added to Trident installers (Operator, tridentctl, and Helm): iSCSI Self-Healing Interval: Changing this value influences at what interval iSCSI Self-healing is run (default 5 mins). A user may configure it to run more often by setting a lower number or less frequently by configuring it to a larger value. Setting this to iSCSI Self-Healing Wait Time: Changing this value influences how much time iSCSI self-healing waits before logging out of an unhealthy session and trying to log in again (default 7 mins). A user may configure it to a larger value so that sessions that are identified as unhealthy have to wait longer before being logged out and then an attempt is made to log in again or a smaller value to log out and log in earlier. e.g. (Operator)
e.g. (tridentctl)
|
Fixed in 24.02. |
Describe the solution you'd like
I would like to be provided with an option to disable the feature of "automation to detect and fix broken or stale iSCSI sessions on host nodes" in Tridnet v23.01.
The feature may cause iSCSI sessions to be logged out at the incorrect time, risking a serious incident.
For example, if an iSCSI session is logged out by this function at the perfect timing when a path is switched in Multi Path, the number of alive paths will be zero, leading to a serious failure.
Therefore, I would like to disable option of the function.
Describe alternatives you've considered
Mature iSCSI session SelfHealing functionality must be provided. However, until this functionality grows, it must be removed or turned off from Trident.
Alternatively, you can not do iSCSI Session SelfHealing for Trident and let open-iscsi session recovery do the work.
Additional context
None
The text was updated successfully, but these errors were encountered: