Description of problem: Wallaby console should detect if there are two or more wallaby agents connected to the broker. In such case it should print clear error, something like: "I'm refusing to run against two or more agents; kill one of these" Now it prints general error message, which are not true: "fatal: cannot find a wallaby agent on the specified broker (host:5672); is one running?" Version-Release number of selected component (if applicable): wallaby-utils-0.12.5-10 How reproducible: 100% Steps to Reproduce: 1. set two wallaby agents so they connect to the same broker 2. try to run some wallaby command, see output # wallaby -H host list-nodes Console Connection Established... fatal: cannot find a wallaby agent on the specified broker (host:5672); is one running?
tested with: wallaby-utils-0.16.1-2 tested on: RHEL6 i386,x86_64 RHEL5 i386,x86_64 wallaby shell correctly detect if there is more than one wallaby agent connected # wallaby -H host1 list-nodes Console Connection Established... fatal: there is more than one Wallaby agent running on the specified broker (lt-rhel5_64-old:5672); only one may run at a time Agents found: pid 10150 on host1 pid 24612 on host2 pid 14393 on host3 pid 23114 on host4 >>> verified
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/RHSA-2013-0564.html