Description of problem: rhqctl status would never get/show information about agent installed via RPM (yum) Version-Release number of selected component (if applicable): jon 3.2 er4 How reproducible: always Steps to Reproduce: 1. install storage and server via rhqctl 2. install agent via rpm 3. run rhqctl status 4. start agent service 5. run rhqctl status 6. run rhqctl status --agent Actual results: After step3 and step5 rhqctl doesn't have information about agnet After step6 rhqctl shows agent is not installed and ignoring --agent option Expected results: rhqctl should be showing information about agent installed via rpm Additional info:
The scenario described above is not supported because the agent RPM is designed to be installed only on systems that have no JON server components. At the same time, rhqctl is designed to install JON server and server related components. rhqctl cannot discover agents that are not installed by itself because of serveral reasons: 1) the agents can be anywhere on disk 2) the agents can installed and run under any other user rhqctl is designed to only managed the agent that installs because it runs under the same username and knows the exact location of the installation. RPM installations or manual jar/zip installations using binaries downloaded from the server cannot be detected and will not be managed by rhqctl. The scenario presented above is NOT supported.
Should we close it then ?
Stefan pointed out that this should be noted in the RPM install docs. I am stealing the bug.
So, there is a big note in the RPM install chapter that it is only for managed resources: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.2/html/Installation_Guide/agent-rpms.html And I added Simeon's procedure for migrating an agent RPM to rhqctl for any installed on a server machine: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.2/html/Installation_Guide/rpm-upgrade.html#rpm-migrate-rhqctl There's also a note in the agent JAR install chapter that it is for managed resources, not JON server platforms: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.2/html/Installation_Guide/Agent_Installation.html