Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
If you have a script service managing tgtd (iscsi target daemon), and the tgtd daemon fails to stop because it is in use, rgmanager shows:
====
# clusvcadm -d service:an1_storage
Local machine disabling service:an1_storage...Yes
====
In the node's syslog is this:
====
Jul 31 23:59:06 an-node01 rgmanager[3371]: Executing /etc/init.d/tgtd status
Jul 31 23:59:09 an-node01 rgmanager[2245]: Stopping service service:an1_storage
Jul 31 23:59:09 an-node01 rgmanager[3409]: Executing /etc/init.d/tgtd stop
Jul 31 23:59:10 an-node01 rgmanager[3442]: script:tgtd: stop of /etc/init.d/tgtd failed (returned 1)
Jul 31 23:59:10 an-node01 rgmanager[2245]: stop on script "tgtd" returned 1 (generic error)
Jul 31 23:59:10 an-node01 rgmanager[2245]: #12: RG service:an1_storage failed to stop; intervention required
Jul 31 23:59:10 an-node01 rgmanager[2245]: Service service:an1_storage is failed
====
Version-Release number of selected component (if applicable):
scsi-target-utils-1.0.14-2.el6.x86_64
rgmanager-3.0.12-11.el6_1.1.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Setup an iSCSI target, then on another node, mount it.
2. Add 'tgtd' as a script service to RGManager and enable it.
3. Try to stop the tgtd service
Actual results:
Fails to report the failure.
Expected results:
Properly detect the failure.
Additional info:
If it helps, I can provide my target.conf and cluster.conf files, though they are quite minimal configs.