Bug 862849 - Improve Agent Registration failure message
Summary: Improve Agent Registration failure message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Agent
Version: JON 3.1.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ER01
: JON 3.2.0
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-03 18:29 UTC by Charles Crouch
Modified: 2015-02-01 23:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:43:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 18941 0 None None None 2012-10-03 18:29:57 UTC

Description Charles Crouch 2012-10-03 18:29:18 UTC
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.]

Comment 1 Charles Crouch 2012-10-08 13:41:05 UTC
Setting to high priority, since this should be an easy change

Comment 2 John Mazzitelli 2013-03-11 19:01:39 UTC
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

Comment 3 Larry O'Leary 2013-09-06 14:32:34 UTC
As this is MODIFIED or ON_QA, setting milestone to ER1.


Note You need to log in before you can comment on or make changes to this bug.