Red Hat Bugzilla – Bug 1176687
Pacemaker resource defaults should show up in 'pcs config' output
Last modified: 2015-11-19 04:34:00 EST
Description of problem: pacemaker resource defaults are not shown in 'pcs config' output Version-Release number of selected component (if applicable): pcs-0.9.137-5.el7.x86_64 How reproducible: Steps to Reproduce: [root@rh7-1 ~]# pcs resource defaults No defaults set [root@rh7-1 ~]# pcs resource defaults resource-stickiness=500 [root@rh7-1 ~]# pcs resource defaults resource-stickiness: 500 [root@rh7-1 ~]# pcs config | grep resource-stickiness [root@rh7-1 ~]# pcs config output should show resource defaults
Created attachment 985904 [details] proposed fix Test: [root@rh70-node1:~]# pcs resource defaults No defaults set [root@rh70-node1:~]# pcs resource defaults resource-stickines=500 [root@rh70-node1:~]# pcs resource defaults resource-stickines: 500 [root@rh70-node1:~]# pcs config | grep resource-stickines resource-stickines: 500
Created attachment 985907 [details] proposed fix Test: [root@rh70-node1:~]# pcs resource defaults No defaults set [root@rh70-node1:~]# pcs resource defaults resource-stickines=500 [root@rh70-node1:~]# pcs resource defaults resource-stickines: 500 [root@rh70-node1:~]# pcs config | grep resource-stickines resource-stickines: 500 [root@rh70-node1:~]# pcs resource op defaults No defaults set [root@rh70-node1:~]# pcs resource op defaults timeout=30 [root@rh70-node1:~]# pcs resource op defaults timeout: 30 [root@rh70-node1:~]# pcs config | grep 'timeout:' timeout: 30
Before Fix: [root@rh71-node1 ~]# rpm -q pcs pcs-0.9.137-13.el7_1.2.x86_64 [root@rh70-node1:~]# pcs resource defaults No defaults set [root@rh70-node1:~]# pcs resource defaults resource-stickines=500 [root@rh70-node1:~]# pcs resource defaults resource-stickines: 500 [root@rh70-node1:~]# pcs config | grep resource-stickines [root@rh70-node1:~]# pcs resource op defaults No defaults set [root@rh70-node1:~]# pcs resource op defaults timeout=30 [root@rh70-node1:~]# pcs resource op defaults timeout: 30 [root@rh70-node1:~]# pcs config | grep 'timeout:' After Fix: [root@rh71-node1:~]# rpm -q pcs pcs-0.9.140-1.el6.x86_64 [root@rh70-node1:~]# pcs resource defaults No defaults set [root@rh70-node1:~]# pcs resource defaults resource-stickines=500 [root@rh70-node1:~]# pcs resource defaults resource-stickines: 500 [root@rh70-node1:~]# pcs config | grep resource-stickines resource-stickines: 500 [root@rh70-node1:~]# pcs resource op defaults No defaults set [root@rh70-node1:~]# pcs resource op defaults timeout=30 [root@rh70-node1:~]# pcs resource op defaults timeout: 30 [root@rh70-node1:~]# pcs config | grep 'timeout:' timeout: 30
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