Bug 1927394
Summary: | New web UI - cleanup of resource and fence device doesn't work | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Michal Mazourek <mmazoure> | ||||
Component: | pcs | Assignee: | Ivan Devat <idevat> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | medium | Docs Contact: | Steven J. Levine <slevine> | ||||
Priority: | medium | ||||||
Version: | 8.4 | CC: | cfeist, cluster-maint, idevat, kmalyjur, mlisik, mpospisi, nhostako, omular, tojeline | ||||
Target Milestone: | rc | Keywords: | TechPreview, Triaged | ||||
Target Release: | 8.5 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | pcs-0.10.8-2.el8 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
Web ui uses unsupported flag "force" in resource cleanup request to backend.
Consequence:
Request fails on backend.
Fix:
Web ui don't use flag "force" anymore.
Result:
It is possible to cleanup resource from web ui.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-11-09 17:34:53 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: | |||||||
Bug Blocks: | 1552470, 1996067, 1999014 | ||||||
Attachments: |
|
Description
Michal Mazourek
2021-02-10 16:24:34 UTC
Created attachment 1789876 [details]
proposed fix
Test: [root@r8-node-01 ~]# rpm -q pcs pcs-0.10.8-2.el8.x86_64 [root@r8-node-01 ~]# crm_resource --resource d-01 --fail -H r8-node-01 Waiting for 1 reply from the controller ... got reply (done) [root@r8-node-01 ~]# crm_resource --resource fence-r8-node-01 --fail -H r8-node-01 Waiting for 1 reply from the controller ... got reply (done) [root@r8-node-01 ~]# pcs resource failcount show Failcounts for resource 'd-01' r8-node-01: 1 Failcounts for resource 'fence-r8-node-01' r8-node-01: 1 Web UI: - In resource detail of d-01 resource we see issues: Warning alert:Failed to asyncmon d-01 on Fri Jun 11 11:30:30 2021 on node r8-node-01: Simulated failure Danger alert:Resource failed - After clicking on Cleanup button, confirmation diallog shows up: Cleanup resource? This makes the cluster forget failed operations from history of the resource and re-detects its current state. - After clicking on "Cleanup button" failure is cleaned. - In Fence Devices detail of fence-r8-node-01 device we see issues: Warning alert:Failed to asyncmon fence-r8-node-01 on Fri Jun 11 11:30:39 2021 on node r8-node-01: Simulated failure - After clicking on Cleanup button, confirmation diallog shows up: Cleanup fence device? This makes the cluster forget failed operations from history of the fence device and re-detects its current state. - After clicking on "Cleanup button" failure is cleaned. [root@r8-node-01 ~]# pcs resource failcount show No failcounts 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 (Low: pcs security, 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/RHSA-2021:4142 |