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

Send sbd data in diskless scenario #321

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Conversation

arbulu89
Copy link
Contributor

Update cluster discovery part to allow sending SBD data in diskless scenario.
In this case, even if the cluster doesn't have any SBD resource, the cluster can be running a SBD diskless fencing type.
The code removes that conditions. It will still print an error message is something goes wrong during SBD discovery and the SBD resource is configured. The code won't crash anymore, as not having SBD is not critical always, and the web part handles all this scenarios. Better to send the payload in any case.

I have removed some unused code as well.

The rationales:
SBD diskless consists on having SBD configured and running, but without any SBD device or resource.
If somebody wants to read further: https://documentation.suse.com/sle-ha/15-SP5/html/SLE-HA-all/cha-ha-storage-protect.html#sec-ha-storage-protect-diskless-sbd

@arbulu89 arbulu89 added the enhancement New feature or request label Feb 14, 2024
Copy link
Contributor

@rtorrero rtorrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @arbulu89, thanks!

Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, nothing to add LGTM!

@arbulu89 arbulu89 merged commit a0c73ff into main Feb 20, 2024
10 checks passed
@arbulu89 arbulu89 deleted the send-sbd-data-diskless-case branch February 20, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants