Red Hat Bugzilla – Bug 1281391
web UI lacks ability to move resources within a resource group
Last modified: 2016-11-03 16:55:46 EDT
It is possible to specify a resource's position within a group using pcs CLI. This can be done both when adding the resource to a group and when the resource already is in a group. This functionality is missing in web UI.
proposed fix: https://github.com/ClusterLabs/pcs/commit/12a05cc0f70a11294582a310e4ccf744ae6 Test: When creating group in web UI, under new group name there is list of resources. User can change order of resources with drag and drop. When resource is selected in web UI, on the right side there is section Group. Resources can be placed after/before any resource which is already in group by new group changing form.
Before Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-5.el7.x86_64 There is no support for move resources within a resource group in web UI. After Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-6.el7.x86_64 When creating group in web UI, under new group name there is list of resources. User can change order of resources with drag and drop. When resource is selected in web UI, on the right side there is section Group. Resources can be placed after/before any resource which is already in group by new group changing form.
additional fix: https://github.com/ClusterLabs/pcs/commit/a9e26188002934301be8d318565d21e3b549b12b
Before Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-8.el7.x86_64 It behaves as described in comment5. After Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-9.el7.x86_64 Resource group is not selected in "Add Resource" form ("None" is selected) when adding test4. After selecting group all their resources are in resource order selector.
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-2016-2596.html