pcs stonith sbd watchdog test fails with "Failed to initialize watchdog!!!" when Pacemaker is running with sbd enabled

Solution Verified - Updated -

Issue

  • The pcs stonith sbd watchdog test command succeeds when the cluster is stopped. When the cluster is running with sbd enabled, the command fails as follows:
# pcs stonith sbd watchdog test
Warning: This operation is expected to force-reboot this system without following any shutdown procedures.
Proceed? [no/yes]: yes
System will reset shortly
Error: Unable to initialize test of the watchdog: Initializing /dev/watchdog with a reset countdown of 5 seconds ...
Failed to initialize watchdog!!!

Environment

  • Red Hat Enterprise Linux 7, 8, 9 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content