Created attachment 889527 [details] steps used Description of problem: Unable to do any actions for Remote Agent via CLI, RemoteInstallManager throws exception. --------------------snap------------------ rhqadmin.eng.pnq.redhat.com:7080$ RemoteInstallManager.agentStatus(rbi,agentPath); javax.naming.NameNotFoundException: [Warning] rhq/rhq-server/BeanInstallManagerBean!org.rhq.enterprise.server.install.remote.RemoteInstallManagerRemote -- service jboss.naming.context.java.global.rhq.rhq-server."BeanInstallManagerBean!org.rhq.enterprise.server.install.remote.RemoteInstallManagerRemote" RemoteInstallManager.agentStatus(rbi,agentPath); ^ ------------------------------------------ Version-Release number of selected component (if applicable): Version : 4.11.0-SNAPSHOT Build Number : 1bc9904 GWT Version : 2.5.0 SmartGWT Version : 3.0 How reproducible: always Steps to Reproduce: 1. Steps followed is attached as rhq-remote-agent-steps-used.log file Additional info: steps used is attached.
Created attachment 889528 [details] error server side server side error log (server.log)
Created attachment 889614 [details] remote-api-issue remote agent installation via Remote API also failed, CLI client is using Remote API internally adding it in this issue. Attached Java code which I used and error log (remote-api-issue.tar.gz)
look at the name of the JNDI being used by the CLI "BeanInstallManagerBean". HA! I bet we are blindly replacing "Remote" with the phrase "Bean" - we weren't expecting a SLSB to have the word "Remote" in its name. I'll have to find the place in the code that does this - that's clearly wrong.
git commit to master: bc47bf3 the attachment "steps used" should work now. I tested installing, getting agent status, starting and uninstalling via the CLI and it all works now.
Downloaded CLI from this server and executed install, agentStatus, uninstall status. Works well. Hence moving this BZ to verified state. Version Information: OS: Linux 64 Bit RHQ Server: ------------------------- Version : 4.11.0-SNAPSHOT Build Number : b041f77 GWT Version : 2.5.0 SmartGWT Version : 3.0
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out. If you find an issue with those, please open a new BZ, linking to the old one.