-
Notifications
You must be signed in to change notification settings - Fork 94
Fix: sbd: Avoid negative value for the property 'stonith-watchdog-timeout' (bsc#1246622) #1865
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: sbd: Avoid negative value for the property 'stonith-watchdog-timeout' (bsc#1246622) #1865
Conversation
…eout' (bsc#1246622) Set its default value to 2*SBD_WATCHDOG_TIMEOUT
ca6db07
to
2dc86dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, @liangxin1300 !
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Problem
Previously, when configuring diskless SBD with crmsh bootstrap, the option
stonith-watchdog-timeout
was set to -1 to prompt Pacemaker to automatically calculate the appropriate value.However, Pacemaker now raises a warning when a negative value is used for timeout or duration options such as
stonith-watchdog-timeout
:Changes
Set the default value of
stonith-watchdog-timeout
to 2*SBD_WATCHDOG_TIMEOUT. The value of SBD_WATCHDOG_TIMEOUT is stored in /etc/sysconfig/sbd and can be kept consistent across all nodes using crmsh.