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 994186 - fence_scsi does not work with pacemaker
Summary: fence_scsi does not work with pacemaker
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents
Version: 6.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 987355 994466
TreeView+ depends on / blocked
 
Reported: 2013-08-06 16:52 UTC by Jaroslav Kortus
Modified: 2013-11-21 07:19 UTC (History)
4 users (show)

Fixed In Version: fence-agents-3.1.5-32.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 994466 (view as bug list)
Environment:
Last Closed: 2013-11-21 07:19:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1562 0 normal SHIPPED_LIVE fence-agents bug fix and enhancement update 2013-11-20 21:40:14 UTC

Description Jaroslav Kortus 2013-08-06 16:52:36 UTC
Description of problem:
It's not possible to add fence_scsi as a stonith device in pacemaker:
# pcs stonith describe fence_scsi
Stonith options for: fence_scsi
Traceback (most recent call last):
  File "/usr/sbin/pcs", line 110, in <module>
    main(sys.argv[1:])
  File "/usr/sbin/pcs", line 96, in main
    stonith.stonith_cmd(argv)
  File "/usr/lib/python2.6/site-packages/pcs/stonith.py", line 24, in stonith_cmd
    stonith_list_options(argv[0])
  File "/usr/lib/python2.6/site-packages/pcs/stonith.py", line 125, in stonith_list_options
    dom = parseString(metadata)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: mismatched tag: line 20, column 3

The same error repeats when you do pcs stonith create.

I'd also like to raise a question how unfencing should be done with pacemaker and fence_scsi. In cluster.conf we had <unfence> tags for this. I'm unable to find any useful pointer to how this is handled in pacemaker cluster.

Version-Release number of selected component (if applicable):
fence-agents-3.1.5-31.el6.x86_64
pcs-0.9.59-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. pcs stonith describe fence_scsi
2.
3.

Actual results:
traceback

Expected results:
no traceback on any valid operation (describe, create among others)

Additional info:

Comment 3 Marek Grac 2013-08-07 10:54:35 UTC
Fixed in upstream:

https://git.fedorahosted.org/cgit/fence-agents.git/commit/?id=e9bc1315a72217712cf0b8d27733d1e103a264ee


Unit test results:

[root@sparta ~]# pcs stonith describe fence_scsi
Stonith options for: fence_scsi
  aptpl: Use APTPL flag for registrations
  devices: List of devices to be used for fencing action
  logfile: File to write error/debug messages
  delay: Wait X seconds before fencing is started
  key: Key value to be used for fencing action
  action: Fencing action
  nodename: Name of node

Comment 6 errata-xmlrpc 2013-11-21 07:19:26 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.

http://rhn.redhat.com/errata/RHBA-2013-1562.html


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