Skip to content
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

fix(state): reset the CurrentHostIP on closed iscsi connection #108

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

prateekpandey14
Copy link
Contributor

@prateekpandey14 prateekpandey14 commented Aug 17, 2021

Signed-off-by: prateekpandey14 [email protected]

PR tries to fix the issue with iscsi connection, in case k8s Node is shutdown abruptly, ending up not allowing the reschedule application pod to mount the volume again.

PR reset the CurrentHostIP in case of connection state is closed and set the state as closed in case of any readdata errors happens on IOSTATE_RX_BHS state.

More info: openebs-archive/jiva-operator#125

@carmark carmark merged commit e5d5366 into gostor:master Aug 17, 2021
@carmark
Copy link
Contributor

carmark commented Aug 17, 2021

LGTM, thanks

@prateekpandey14 prateekpandey14 deleted the handle-connection-state branch August 17, 2021 04:56
@prateekpandey14
Copy link
Contributor Author

prateekpandey14 commented Aug 17, 2021

Thanks @carmark for quick reviews and merge. Can you pls create a new tag with this changes.

@carmark
Copy link
Contributor

carmark commented Aug 17, 2021

Sure, no prolem. @prateekpandey14

@carmark
Copy link
Contributor

carmark commented Aug 17, 2021

done, please try it. @prateekpandey14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants