Output from the agent when registration fails is currently... The server has rejected the agent registration request. Cause: [org.rhq.core.clientapi.server.core.AgentRegistrationException:The agent asking for registration is trying to register the same address/port [xx.xx.xxx.xx:16163] that is already registered under a different name [TestAgent]; if this new agent is actually the same as the original, then re-register with the same name] After discussion with larry the improved text we came up with is a follows The server has rejected the agent registration request. Cause: [org.rhq.core.clientapi.server.core.AgentRegistrationException:The agent asking for registration is trying to register the same address/port [xx.xx.xxx.xx:16163] that is already registered under a different name [TestAgent]. If this new agent is actually the same as the original, then re-register with the same name. Otherwise you should uninventory the Platform resource for agent [TestAgent] and re-register this new agent.]
Setting to high priority, since this should be an easy change
Looks like the change is simply to add this sentence at the end of the existing message: "Otherwise you should uninventory the Platform resource for agent [TestAgent] and re-register this new agent." git commit to master: 5f1be1f
As this is MODIFIED or ON_QA, setting milestone to ER1.