Skip to content

Fix: fencer: Make the deprecated "stonith-watchdog-timeout" option work again#4068

Open
gao-yan wants to merge 1 commit intoClusterLabs:mainfrom
gao-yan:stonith-watchdog-timeout-compatibility
Open

Fix: fencer: Make the deprecated "stonith-watchdog-timeout" option work again#4068
gao-yan wants to merge 1 commit intoClusterLabs:mainfrom
gao-yan:stonith-watchdog-timeout-compatibility

Conversation

@gao-yan
Copy link
Member

@gao-yan gao-yan commented Mar 11, 2026

This fixes a regression introduced by d7cc9b4, which has not made it into made it into any release. Even though "stonith-watchdog-timeout" option has become a deprecated alias for "fencing-watchdog-timeout", we need to make sure it still works as a fallback until it's dropped in a future release.

Controller's config_query_callback() invokes pcmk__validate_cluster_options(config_hash) beforehand, which handles any settings with deprecated option names. I'll leave the g_hash_table_lookup() calls there.

…rk again

This fixes a regression introduced by d7cc9b4, which has not made it
into made it into any release. Even though "stonith-watchdog-timeout"
option has become a deprecated alias for "fencing-watchdog-timeout", we
need to make sure it still works as a fallback until it's dropped in a
future release.

Controller's config_query_callback() invokes
pcmk__validate_cluster_options(config_hash) beforehand, which handles
any settings with deprecated option names. I'll leave the
g_hash_table_lookup() calls there.
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

Successfully merging this pull request may close these issues.

1 participant