Bug 2158804
Summary: | pcs should validate the type of stonith-watchdog-timeout value based on OCF1.1 format of metadata | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Nina Hostakova <nhostako> |
Component: | pcs | Assignee: | Miroslav Lisik <mlisik> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.8 | CC: | cluster-maint, cluster-qe, idevat, mlisik, mmazoure, mpospisi, omular, tojeline |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.8 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.10.15-3.el8 | Doc Type: | No Doc Update |
Doc Text: |
The affected packages have not been released.
|
Story Points: | --- |
Clone Of: | 2158790 | Environment: | |
Last Closed: | 2023-05-16 08:12:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2158790 | ||
Bug Blocks: |
Description
Nina Hostakova
2023-01-06 16:06:45 UTC
Upstream patch: https://github.com/ClusterLabs/pcs/commit/1f3aa3afb8723abd46d79d0b9c75cc5bc1846146 Test: Environment: Cluster with enabled watchdog-only sbd (pcs) [root@r8-node-01 pcs]# pcs property set stonith-watchdog-timeout="invalid" Error: 'invalid' is not a valid stonith-watchdog-timeout value, use time interval (e.g. 1, 2s, 3m, 4h, ...) Error: Errors have occurred, therefore pcs is unable to continue (pcs) [root@r8-node-01 pcs]# pcs property set stonith-watchdog-timeout="10s" (pcs) [root@r8-node-01 pcs]# pcs property config stonith-watchdog-timeout Cluster Properties: stonith-watchdog-timeout: 10s (pcs) [root@r8-node-01 pcs]# pcs property set stonith-watchdog-timeout="10" (pcs) [root@r8-node-01 pcs]# pcs property config stonith-watchdog-timeout Cluster Properties: stonith-watchdog-timeout: 10 (pcs) [root@r8-node-01 pcs]# pcs property set stonith-watchdog-timeout="4s" Error: The stonith-watchdog-timeout must be greater than SBD watchdog timeout '5', entered '4s', use --force to override Error: Errors have occurred, therefore pcs is unable to continue (pcs) [root@r8-node-01 pcs]# pcs property config stonith-watchdog-timeout Cluster Properties: stonith-watchdog-timeout: 10 DevTestResults: [root@r08-08-a pcs]# pcs property set stonith-watchdog-timeout="invalid" Error: 'invalid' is not a valid stonith-watchdog-timeout value, use time interval (e.g. 1, 2s, 3m, 4h, ...) Error: Errors have occurred, therefore pcs is unable to continue [root@r08-08-a pcs]# pcs property set stonith-watchdog-timeout="10s" [root@r08-08-a pcs]# pcs property config stonith-watchdog-timeout Cluster Properties: stonith-watchdog-timeout: 10s [root@r08-08-a pcs]# pcs property set stonith-watchdog-timeout="10" [root@r08-08-a pcs]# pcs property config stonith-watchdog-timeout Cluster Properties: stonith-watchdog-timeout: 10 [root@r08-08-a pcs]# pcs property set stonith-watchdog-timeout="4s" Error: The stonith-watchdog-timeout must be greater than SBD watchdog timeout '5', entered '4s', use --force to override Error: Errors have occurred, therefore pcs is unable to continue [root@r08-08-a pcs]# pcs property config stonith-watchdog-timeout Cluster Properties: stonith-watchdog-timeout: 10 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (pcs bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2738 |