Bug 1038021 - Agent spamming log with plugin update failure messages
Summary: Agent spamming log with plugin update failure messages
Keywords:
Status: CLOSED DUPLICATE of bug 1030063
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.10
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 1030063
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 09:40 UTC by Heiko W. Rupp
Modified: 2013-12-06 15:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-06 15:20:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2013-12-04 09:40:23 UTC
I did a sort of fresh install of master and while the server was still parsing plugins, the agent tried to plugin update, which failed. As result, the agent spammed the logs
with tens of thousands of lines like below.
We should throttle the agents efforts here

2013-12-04 10:36:05,893 ERROR [main] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.plugin-update-failure}Failed to update the plugins.. Cause: java.lang.IllegalStateException: The sender object is currently not sending commands now. Command not sent: [Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getLatestPlugins], targetInterfaceName=org.rhq.core.clientapi.server.core.CoreServerService}]]
2013-12-04 10:36:05,893 ERROR [main] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.plugin-update-failure}Failed to update the plugins.. Cause: java.lang.IllegalStateException: The sender object is currently not sending commands now. Command not sent: [Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getLatestPlugins], targetInterfaceName=org.rhq.core.clientapi.server.core.CoreServerService}]]
2013-12-04 10:36:05,893 ERROR [main] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.plugin-update-failure}Failed to update the plugins.. Cause: java.lang.IllegalStateException: The sender object is currently not sending commands now. Command not sent: [Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getLatestPlugins], targetInterfaceName=org.rhq.core.clientapi.server.core.CoreServerService}]]
2013-12-04 10:36:05,894 ERROR [main] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.plugin-update-failure}Failed to update the plugins.. Cause: java.lang.IllegalStateException: The sender object is currently not sending commands now. Command not sent: [Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getLatestPlugins], targetInterfaceName=org.rhq.core.clientapi.server.core.CoreServerService}]]

Comment 1 John Mazzitelli 2013-12-04 19:27:15 UTC
see my comment in bug #1030063 - i think the fix introduced by that BZ causes this

Comment 2 Thomas Segismont 2013-12-06 15:20:36 UTC

*** This bug has been marked as a duplicate of bug 1030063 ***


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