Description
currently SSH operator fails if authentication fails without retying. We can add two more parameters as mentioned below which will retry in case of Authentication failure after waiting for configured time.
- max_retry - maximum time SSH operator should retry in case of exception
- wait - how many seconds it should wait before next retry
Use case / motivation
We are using SSH operator heavily in our production jobs, And what I have noticed is sometimes SSH operator fails to authenticate, however open re-running jobs it run successfully. And this happens ofthen. We have ended up writing our own custom operator for this. However, if we can implement this, this could help others as well.
Implement the suggested feature for ssh operator.
Are you willing to submit a PR?
I will submit the PR if feature gets approval.
Related Issues
N/A
No
Description
currently SSH operator fails if authentication fails without retying. We can add two more parameters as mentioned below which will retry in case of Authentication failure after waiting for configured time.
Use case / motivation
We are using SSH operator heavily in our production jobs, And what I have noticed is sometimes SSH operator fails to authenticate, however open re-running jobs it run successfully. And this happens ofthen. We have ended up writing our own custom operator for this. However, if we can implement this, this could help others as well.
Implement the suggested feature for ssh operator.
Are you willing to submit a PR?
I will submit the PR if feature gets approval.
Related Issues
N/A
No