Hide Forgot
Description of problem: [root@overcloud-controller-0 heat-admin]# crm_resource --show-metadata stonith:fence_ipmilan | grep -e verbose -e debug <parameter name="verbose" unique="0" required="0"> <parameter name="debug" unique="0" required="0"> <getopt mixed="-d [pathtodebugfile] Path to debug file"/> Path to debug file [root@overcloud-controller-0 heat-admin]# pcs stonith describe fence_ipmilan | grep -e verbose -e debug [root@overcloud-controller-0 heat-admin]# Version-Release number of selected component (if applicable): pcs-0.9.152-10.el7.centos.3.x86_64 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 1287034 [details] proposed fix + tests
After Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.160-1.el7.x86_64 [vm-rhel72-1 ~] $ pcs stonith create S fence_apc login=l ipaddr=i verbose=v debug=d [vm-rhel72-1 ~] $ pcs cluster cib --config | grep 'id="S"' -A10 <primitive class="stonith" id="S" type="fence_apc"> <instance_attributes id="S-instance_attributes"> <nvpair id="S-instance_attributes-debug" name="debug" value="d"/> <nvpair id="S-instance_attributes-ipaddr" name="ipaddr" value="i"/> <nvpair id="S-instance_attributes-login" name="login" value="l"/> <nvpair id="S-instance_attributes-verbose" name="verbose" value="v"/> </instance_attributes> <operations> <op id="S-monitor-interval-60s" interval="60s" name="monitor"/> </operations> </primitive>
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://access.redhat.com/errata/RHBA-2018:0866