Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

Plugin Manager - agent will keep restarting and eventually shut down when agent has custom plugins

Details

  • Type: Developer Developer
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 4.6
  • Fix Version/s: 4.6, 4.x Sprint 16
  • Environment:
    Hyperic server 4.6.0-EE-163 on CentOS 5.4 x64 with embedded Postgres DB
    Hyperic agent 4.6.0-EE-164 on CentOS 5.4 x64
  • Case Links:
    none
  • Regression:
    No
  • Story Points:
    3

Description

Plugin Manager - agent will keep restarting and eventually shut down when agent has custom plugins

When an agent has a custom hq-plugins directory with custom plugins, the server will see that it does not have it and will therefore, try to remove it from the agent and restart. The custom plugin does not get removed so the server continues trying to remove the plugin and the agent keeps restarting until it eventually shuts down.

See attached custom-plugin-logs.zip for logs.

Expected Result:
Custom hq-plugins directory and plugins are properly handled; agent should continue to use custom plugin and not need to sync with the server

Actual Result:
The server tries to remove the custom plugin and restarts the agent but the plugin is not removed and the agent keeps restarting until eventually shutting down

Steps to Reproduce:

  1. Create hq-plugins directory in the agent path (i.e. /opt/hyperic/4.6.0-EE-163/agent-4.6.0-BUILD-SNAPSHOT/hq-plugins)
  2. Copy a custom plugin to this directory
  3. Restart the agent
  4. Note the plugin gets loaded
  5. Examine the server and agent/wrapper logs
  6. Note the server attemps to remove the plugin and restart the agent
  7. Note the agent keeps restarting and eventually shuts down

Activity

Frederic Calindas made changes -
Field Original Value New Value
Attachment custom-plugin-logs.zip [ 34562 ]
Frederic Calindas made changes -
Environment Hyperic server 4.6.0-EE-163 on CentOS 5.4 x64 with external MySQL DB on RHEL 5.5
Hyperic agent 4.6.0-EE-164 on Linux and Windows VMs
Hyperic server 4.6.0-EE-163 on CentOS 5.4 x64 with embedded Postgres DB
Hyperic agent 4.6.0-EE-164 on CentOS 5.4 x64
Frederic Calindas made changes -
Link This issue is Support ticket HHQ-4814 [ HHQ-4814 ]
Kashyap Parikh made changes -
Fix Version/s 4.6 [ 10728 ]
Scott Feldstein made changes -
Assignee Todd Rader [ trader ] Scott Feldstein [ scottmf ]
Scott Feldstein made changes -
Link This issue Depends on HHQ-4718 [ HHQ-4718 ]
Scott Feldstein made changes -
Resolution Fixed [ 1 ]
Fix Version/s 4.x Sprint 16 [ 10800 ]
Story Points 3
Status Open [ 1 ] Resolved [ 5 ]
Hide
Frederic Calindas added a comment -

Verified with 4.6.0-EE-197.

Created hq-plugins directory with custom plugin and restarted agent. The hq-plugins directory was scanned and the custom plugin bypassed.

In the agent.log, a WARN was reported:

2011-05-24 17:03:27,142 WARN [Thread-1] [AgentDaemon] WARNING - custom plugins on the agent are no longer supported. Will not load plugin - adobe-fms3-plugin.jar, instead add this plugin to the HQ Server via the Plugin Manager UI.

Show
Frederic Calindas added a comment - Verified with 4.6.0-EE-197. Created hq-plugins directory with custom plugin and restarted agent. The hq-plugins directory was scanned and the custom plugin bypassed. In the agent.log, a WARN was reported: 2011-05-24 17:03:27,142 WARN [Thread-1] [AgentDaemon] WARNING - custom plugins on the agent are no longer supported. Will not load plugin - adobe-fms3-plugin.jar, instead add this plugin to the HQ Server via the Plugin Manager UI.
Frederic Calindas made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    2 years, 47 weeks ago