Bug 1198222
| Summary: | pcsd: GUI fails if orphaned resource is present in a cluster | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Steiger <rsteiger> |
| Component: | pcs | Assignee: | Ondrej Mular <omular> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.1 | CC: | cfeist, cluster-maint, tojeline |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pcs-0.9.142-2.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Orphaned resource is present in cluster.
Consequence: In web UI all nodes are displayed as offline and no resources are shown.
Fix: Orphaned resources are handled properly.
Result: Web UI works normally even though there is orphaned resource in cluster.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 09:35:47 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: | |||
|
Description
Radek Steiger
2015-03-03 15:22:36 UTC
Patch in upstream: https://github.com/feist/pcs/commit/fac6f7a1d058ba699ee90f0b4423900fcfef0395 Before Fix: [root@rh71-node1 ~]# rpm -q pcs pcs-0.9.141-1.el7.x86_64 [root@rh71-node1:~]# pcs resource create delay delay startdelay=0 stopdelay=10 [root@rh71-node1:~]# pcs resource delete delay --force Deleting Resource - delay [root@rh71-node1:~]# pcs resource | grep delay delay (ocf::heartbeat:Delay): ORPHANED Started rh71-node2 Open the cluster in a GUI. Nodes are reported to be stopped, no resources nor any other information is shown. After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.142-2.el7.x86_64 [root@rh71-node1:~]# pcs resource create delay delay startdelay=0 stopdelay=10 [root@rh71-node1:~]# pcs resource delete delay --force Deleting Resource - delay [root@rh71-node1:~]# pcs resource | grep delay delay (ocf::heartbeat:Delay): ORPHANED Started rh71-node2 Open the cluster in a GUI. GUI works properly. 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, 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://rhn.redhat.com/errata/RHSA-2015-2290.html |