Skip to content

ISCSI reconnection when not necessary #702

@Wescoeur

Description

@Wescoeur

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions