Description of problem: old infrastructure - if there is an agent and server zip/jar installed and running, where agetn is not on the same machine as server, after stopping it, installing agetn rpm and starting through rpm agent wrapper script, it cannot connect to server for the first time. Version-Release number of selected component (if applicable): org.jboss.on-jboss-on-parent-3.1.0.GA-8 How reproducible: always Steps to Reproduce: 1. install jon server via zip 2. install jon agetn via jar on some other machine 3. start server 4. start agent via wrapper script so that it is discovered by server 5. inventory agent with all resources 6. stop agent 7. install agent rpm 8. start rpm agent via wrapper script Actual results: it cannot be started, cannot be "discovered" by server, seems like cannot get agent plugins. log message : 012-06-27 15:37:29,830 WARN [main] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.plugin-update-failure}Failed to update the plugins.. Cause: org.rhq.enterprise.communications.command.server.AuthenticationException: Command failed to be authenticated! This command will be ignored and not processed: Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.agent-name=dhcp-31-221.brq.redhat.com, rhq.security-token=72pI3XA7Lthy2j1n79iOB1N850seFhxqQPFATbNPwRzqGxGASq5G32s4aUtvvbyV9Z0=, rhq.externalizable-strategy=AGENT}]; params=[{invocation=NameBasedInvocation[connectAgent], targetInterfaceName=org.rhq.core.clientapi.server.core.CoreServerService}] Expected results: agetn is up and running, server gui shows it available Additional info: wrapper stop-start fixes the problem
related to 835897. need logs on 835897 bz triage 7/2 by loleary, asantos, armine, zjin, viet, mfoley
Created attachment 595945 [details] agent log
Hi all, bug is not reproducable for me anymore. neither token, nor any other problem is being visible. please mark it as worksForMe or Invalid, since it's not visible anymore.
invalid. colsing for now, will be reopened if the case is reproduced.