History | Log In     View a printable version of the current page.  
HQ 4.0 EE Release is Now Available | HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-2161
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Ryan Morgan
Reporter: John Sachs
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

New service resources are not always auto-discovered

Created: 03/Jun/08 09:20 AM   Updated: 22/Sep/08 03:27 AM
Component/s: Agent, Auto-discovery
Affects Version/s: 3.2.3
Fix Version/s: 3.2.4

File Attachments: 1. Zip Archive HHQ-2161.zip (8 kb)

Issue Links:
Depends
 

Verify By: Nipuna Bhayani
Last comment: 20 weeks, 3 days ago
Resolution Date: 12/Jun/08 05:47 AM


 Description  « Hide
The agent appears to sometimes get into a state where new services will not be sent to the HQ Server even when they are auto-discovered. Command line auto-discovery will show the new services are discovered, but the new services will never show up in the HQ Inventory. The only known work-around is to reset the agent by stopping it, removing it's data directory and restarting it - although, I do not believe this workaround works in all cases.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ryan Morgan - 11/Jun/08 12:40 PM

2 fixes have been put that will address this:

1) Push the runtime configuration on re-initialization of an existing agent

http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=9772

2) Log an error rather than throw IllegalArgumentException when invalid key/value pairs are found when setting values in AgentRemoteValue

http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=9771

Fixes in 3.2.4 and trunk.

Ryan Morgan - 12/Jun/08 05:47 AM

Fixed in 3.2.4 build #670 and 4.0.0 build #747

Ryan Morgan - 13/Jun/08 07:47 AM

Patch for this issue. To apply:

unzip HHQ-2161.zip
cd HHQ-2161
cp path/to/hq/hq-engine/server/default/deploy/hq.ear/hq.jar .
cp hq.jar hq.jar.orig
cd classes
zip -ur ../hq.jar .

Then shut down HQ, copy the modified hq.jar back to path/to/hq/hq-engine/server/default/deploy/hq.ear/hq.jar and restart. If for any reason you see issues with the updated jar, revert to the hq.jar.orig backup.

Nipuna Bhayani - 01/Jul/08 08:39 AM
Works fine in release 3.2.4-EE build 675