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

ISCSI reconnection when not necessary #702

Open
Wescoeur opened this issue Aug 7, 2024 · 1 comment
Open

ISCSI reconnection when not necessary #702

Wescoeur opened this issue Aug 7, 2024 · 1 comment

Comments

@Wescoeur
Copy link
Contributor

Wescoeur commented Aug 7, 2024

Hello,

We have noticed bad behavior for several months because of this commit:
xcp-ng@d28dcc1

In practice the commit that we revert is useful in the case where ISCSI connections are no longer valid, but sometimes even without any config change or bad connections, a disconnect/connect is launched preventing the correct use of the SR.
This means that it can interrupt backup tasks, for example.

Wouldn't this piece of code be a little too violent to restart the ISCSI service while the SR is still functional?
Wouldn't the code be a little too sensitive to a particular trigger, when there is no reason to restart the service?

Thanks!

@MarkSymsCtx
Copy link
Contributor

The code should not restart the iSCSI service while the SR is functional, the only expected outcome is to establish additional iSCSI sessions which could not be made when the SR was attached (e.g. if a path is down at startup) so that full multipath resilience is provided. If you have logs showing that the iSCSI service is restated or that existing live sessions are impacted by this code please attach them here.

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

No branches or pull requests

2 participants