Bug 1189857
Summary: | need a tree view for clones/MS/groups in the resource panel [GUI] | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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, jruemker, mlisik, tlavigne, tojeline | ||||||||||
Target Milestone: | rc | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | pcs-0.9.143-10.el7 | Doc Type: | Bug Fix | ||||||||||
Doc Text: |
Cause: User tries to manage constraints, attributes and other properties of grouped, cloned or multistated resources in web UI.
Consequence: In web UI were displayed only primitive resources. There was no way to set attributes, constraints and other properties separately for parent (group/clone/master-slave) resource and child (primitive) resource.
Fix: Resources are displayed in tree structure. It is possible to view and edit all resource elements (groups, clones, master-slaves, primitives) independently.
Result: User now can manage constraints, attributes and other properties of groups, clones, multistates and primitive resources independently.
|
Story Points: | --- | ||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2015-11-19 09:34:44 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: | 1148863, 1182119, 1198640, 1219574, 1240321 | ||||||||||||
Attachments: |
|
Description
Radek Steiger
2015-02-05 16:18:19 UTC
*** Bug 1240321 has been marked as a duplicate of this bug. *** Created attachment 1061041 [details]
proposed fix
Created attachment 1061042 [details]
proposed fix 2
Before Fix: [root@rh71-node1 ~]# rpm -q pcs pcs-0.9.142-2.el7.x86_64 Resources displayed in a flat structure. When setting an attribute or a constraint to a cloned or grouped resource it is not possible to set it specifically to parent or child resource. After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-1.el7.x86_64 Resources are displayed in a tree view. It is possible to edit settings of a clone, a master/slave resource and a group and settings of its child resources independently. Created attachment 1061559 [details]
proposed fix - add resource form
Before Fix: [root@rh71-node1 ~]# rpm -q pcs pcs-0.9.143-1.el7.x86_64 Using web UI try to create an ocf:pacemaker:Dummy resource. An ocf:heartbeat:Dummy resource is created instead. After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-2.el7.x86_64 Using web UI try to create an ocf:pacemaker:Dummy resource. An ocf:pacemaker:Dummy resource is created. Created attachment 1068974 [details]
proposed fix 4
Test: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-5.el7.x86_64 After pcsd has been stopped on one node, cluster details are properly displayed in web UI. It works also when pcsd has been stopped on two out of three nodes. Node attributes and fence levels are displayed in web UI for both online and offline nodes. Before Fix: [root@rh71-node1 ~]# rpm -q pcs pcs-0.9.143-6.el7.x86_64 Web UI reloads cluster status upon each change of cluster settings done in the UI. This can lead to loading cluster status in parallel which unnecessarily takes cluster and browser resources. If user changes resource settings using web UI (e.g. meta attributes) and removes the last constraint of the resource while web UI is loading cluster status, the constraint will remain displayed in web UI even though the constraint was successfully removed from the cluster. After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-7.el7.x86_64 If a cluster status reload is triggered in web UI while another request to refresh the cluster status is already in progress, the new request is put into a queue and run only after the previous request is finished. Resource constraints are removed properly from web UI. additional patches: https://github.com/feist/pcs/commit/541be157872bc5b710002c8f794695bb29c11ead https://github.com/feist/pcs/commit/7a3c3eb8eaf54806726f80f4160257b94a2ee892 https://github.com/feist/pcs/commit/dd599ca90e05c5e200b45cc831a679942b41cb3e https://github.com/feist/pcs/commit/2dbe4d17cd79f4175e66254a0a27338586b1ca59 https://github.com/feist/pcs/commit/83e82d113cc73ade8dfb34c2a0ff3ee46b8e5e46 After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-9.el7.x86_64 It is possible to create a disabled resource using web UI. When removing the last resource from a cluster using web UI, the resource settings are no longer displayed. In the resources page running resources are displayed in blue color, resources with warnings are displayed in orange color, resources with errors are displayed in red color. Create a new group of resources. Try to add another resource to the group. The group name is available in the group name select. Create a clone resource. Add an ordering set constraint containing the primitive from the clone and some other resource. An error message is displayed stating the clone shoud be used instead of the primitive. It is possible to force the constraint creation, the constraint is then created on the primitive resource. Additional patches in upstream: https://github.com/feist/pcs/commit/0bc5b3cc4f21412798d48ef4e549af199965b554 https://github.com/feist/pcs/commit/a4cdb6234fcf0850415117c71f0738edf85930e9 https://github.com/feist/pcs/commit/64bfdb0c3ef2fb6b97b4dbc51c00066a64870f17 After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.143-10.el7.x86_64 Resource details are not displayed in a group, clone and master/slave page when switching to it quickly from a primitive resource page. Multi-state resources are displayed as running when a status of a cluster running older version of pcs is displayed. 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 |