Well, for this specific error condition, what we are rejecting is the possibility of someone trying to hack the system and steal another (already registered) agent's identity. In this case, I don't think we want to be overly helpful and friendly :)
If you are a developer and you get this, you obviously aren't hacking, but then, you should know how to fix it.
In production and you get this - while we cannot be 100% certain, it is POSSIBLE that you are trying to hack the system and steal the identity of another agent (we should assume you are to be on the safe side) - in this case, boo to you :-)
----- Original Message -----
Just got this one again.
snert:/im/rhq/modules/enterprise/agent/target/rhq-agent hrupp$ bin/rhq-agent.shListening for transport dt_socket at address: 8788 RHQ 4.4.0-SNAPSHOT [74326f0] (null) The server has rejected the agent registration request. Cause: [org.rhq.core.clientapi.server.core.AgentRegistrationException:An agent is trying to register with an existing agent name [snert] without providing a valid security token. If you are attempting to re-register this agent, please consult an administrator to reconfigure this agent with its proper security token.] Will retry the agent registration request soon...
Neither this, nor rhq-agent.sh --help tells me the magic -Dx=y combination to pass the token in - I think this is not user friendly.
-- Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, Werner-von-Siemens-Ring 14, D-85630 Grasbrunn Handelsregister: Amtsgericht München HRB 153243 Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera
rhq-devel mailing list rhq-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-devel