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:
================================
Running the following starts a reource without a resource name. Once started there is no way to cancel the resource without restarting the service agent.
[root@agent sbin]# ./matahari-qmf-service-cli -A Dummy -J heartbeat -S ocf -T Resources -a start -i 5 -t 10 -H ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com
matahariproject.org:service:22da4ef8-6143-4c26-a0c9-565e474a8b53
Call options: {action:start, agent:Dummy, interval:5000, parameters:{},
provider:heartbeat, standard:ocf, timeout:10000}
Call returned: {rc:2}
errors in debug:
operation_finished: _start_5000:15849 - exited with rc=2
operation_finished: _start_5000:15849 [ Dummy[15849]: ERROR: Need to
tell us our resource instance name. ]
Version-Release number of selected component (if applicable):
=================================================================
v0.4.2-9
How reproducible:
================================
100%
Steps to Reproduce:
============================
1. install/start matahari broker
2. yum -y install matahari-service matahari-consoles resource-agents
3. start service agent on cmd line with -vvv
4. in another terminal, run command:
matahari-qmf-service-cli -A Dummy -J heartbeat -S ocf -T Resources
-a start -i 5 -t 10
Actual results:
=================
resource starts without name, recurring actions show error, no way to stop (cancel)
Expected results:
=================
command should force name to be specified
Its better, be nice if we gave a little more info as to what is invalid about it, like 'missing name argument' but...
[root@dell-pem600-01 init.d]# /usr/sbin/matahari-qmf-service-cli -b 127.0.0.1 -A Dummy -J heartbeat -S ocf -T Resources -a start -i 5000 -t 10000
matahariproject.org:service:19d01dbd-dad5-49fa-856c-cff8ed0e36ac
Call options: {action:start, agent:Dummy, interval:5000, parameters:{}, provider:heartbeat, standard:ocf, timeout:10000}
Call failed: 9
Error data: {error_text:Invalid Arguments}
2011-09-12 10:29:56 warning Connection [127.0.0.1:51885-127.0.0.1:49000] closed
[root@dell-pem600-01 init.d]#
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No description required.
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-2011-1569.html
Description of problem: ================================ Running the following starts a reource without a resource name. Once started there is no way to cancel the resource without restarting the service agent. [root@agent sbin]# ./matahari-qmf-service-cli -A Dummy -J heartbeat -S ocf -T Resources -a start -i 5 -t 10 -H ibm-x3650-01.ovirt.rhts.eng.bos.redhat.com matahariproject.org:service:22da4ef8-6143-4c26-a0c9-565e474a8b53 Call options: {action:start, agent:Dummy, interval:5000, parameters:{}, provider:heartbeat, standard:ocf, timeout:10000} Call returned: {rc:2} errors in debug: operation_finished: _start_5000:15849 - exited with rc=2 operation_finished: _start_5000:15849 [ Dummy[15849]: ERROR: Need to tell us our resource instance name. ] Version-Release number of selected component (if applicable): ================================================================= v0.4.2-9 How reproducible: ================================ 100% Steps to Reproduce: ============================ 1. install/start matahari broker 2. yum -y install matahari-service matahari-consoles resource-agents 3. start service agent on cmd line with -vvv 4. in another terminal, run command: matahari-qmf-service-cli -A Dummy -J heartbeat -S ocf -T Resources -a start -i 5 -t 10 Actual results: ================= resource starts without name, recurring actions show error, no way to stop (cancel) Expected results: ================= command should force name to be specified