-
Notifications
You must be signed in to change notification settings - Fork 92
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
CA-162918: DM-MP - incorrect number of paths during failover and recovery #255
Conversation
I am not sure it is a bug, it could be by design: when you set it explicitly to 0 or to "fail" it is internally set to -1. That's said, if we want our dev_loss to be accepted, I agree that this is needed. |
For completeness we should put no_path_retry in the NETAPP section, too |
Shouldn't the NetApp device entry just inherit the default? |
Yes, but this is true for dev_loss, too, so, given they are coupled, it is either both or none |
Make sure the title reflects just the bug to fix not the consequences in our testing. However, Title should be less than 72 chars |
dm-multipath does not make use of the value supplied to dev_loss_tmo (it is always set to 'infinity'), unless no_path_retry is also set. Setting no_path_retry to 0 in the defaults section and also in the NETAPP specific configuration. Signed-off-by: Kostas Ladopoulos <konstantinos.ladopoulos@citrix.com>
dm-multipath does not make use of the value supplied to dev_loss_tmo (it is always set to 'infinity'), unless no_path_retry is also set. Setting no_path_retry to 0 in the defaults section and also in the NETAPP specific configuration. Reviewed-by: Germano Percossi <germano.percossi@citrix.com> GitHub: closes xapi-project#255
There is a bug in dm-multipath that does not make use of the value supplied
to dev_loss_tmo; it is always set to 'infinity'. Explicitly setting
no_path_retry to 'defaults' overcomes that bug and makes use of the value
supplied.
Signed-off-by: Kostas Ladopoulos konstantinos.ladopoulos@citrix.com