RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1432283 - pcs hides debugging options for (some?) fencing devices
Summary: pcs hides debugging options for (some?) fencing devices
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
Steven J. Levine
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-15 01:17 UTC by Andrew Beekhof
Modified: 2018-04-10 15:40 UTC (History)
6 users (show)

Fixed In Version: pcs-0.9.160-1.el7
Doc Type: Bug Fix
Doc Text:
It is now possible to enable stonith agent debugging without specifying the `--force` flag Previously, attempting to enable debugging of a stonith agent by setting the `debug` or `verbose` parameters required that the user specify the `--force` flag. With this fix, using the `--force` flag is no longer necessary.
Clone Of:
Environment:
Last Closed: 2018-04-10 15:39:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed fix + tests (4.94 KB, patch)
2017-06-12 11:33 UTC, Tomas Jelinek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0866 0 None None None 2018-04-10 15:40:17 UTC

Description Andrew Beekhof 2017-03-15 01:17:48 UTC
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:

Comment 2 Tomas Jelinek 2017-06-12 11:33:14 UTC
Created attachment 1287034 [details]
proposed fix + tests

Comment 4 Ivan Devat 2017-10-11 07:53:37 UTC
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>

Comment 11 errata-xmlrpc 2018-04-10 15:39:15 UTC
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


Note You need to log in before you can comment on or make changes to this bug.