Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1012050

Summary: Agent plugins are not updating dynamically from server even agent crosses 24 hrs
Product: [JBoss] JBoss Operations Network Reporter: Jeeva Kandasamy <jkandasa>
Component: Plugin ContainerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: jkandasa, jshaughn, myarboro
Target Milestone: ---   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 20:33:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeeva Kandasamy 2013-09-25 15:34:55 UTC
Description of problem:
If we upload new plugins on server, agent gets update like, 1. There is a agent restart required to fetch new available plugins from server or 2. will be uploaded automatically every 24 hrs once. but the second option is not working.

Source: https://access.redhat.com/site/solutions/307983

Version-Release number of selected component (if applicable):
Version: 3.2.0.ER1
Build Number: 54dd29c:464a643
GWT Version: 2.5.0
SmartGWT Version: 3.0

How reproducible:
always

Steps to Reproduce:
1.Install and start JON server without any plugin. Once all the process comes to running state. load all the available plugins jar on 'jon-server-3.2.0.ER1/plugins'.
2. Click on 'Administration-->Agent Plugins-->Scan For Updates'
3. Wait for some time all the loaded successfully. however it's not loading on agent (wait and check after 24 hrs).

Actual results:
not updated, agent manual restart or invoke agents "Update All Plugins" operation is required required

Expected results:
should be updated 24 hrs once

Comment 1 Jay Shaughnessy 2013-10-07 19:42:56 UTC
This is working as expected.  Agents update plugins at startup only (conditionally, but rhq.agent.update-plugins-at-startup is true by default).

Other than that plugins are updated only on demand by issuing the "update plugins" operation or prompt command.

This is because plugins are updated very infrequently.  If there is documentation that states otherwise it needs to be corrected.

Please Close|NotABug.

Comment 2 Jeeva Kandasamy 2013-10-08 10:21:33 UTC
Hi Jay, I think we have to correct it on this document..https://access.redhat.com/site/solutions/307983

Comment 3 Jay Shaughnessy 2013-10-08 14:50:19 UTC
Good catch.  The document has been updated.  I think you can close now.

Comment 4 Jeeva Kandasamy 2013-10-09 09:08:22 UTC
document corrected as per the design on https://access.redhat.com/site/solutions/307983 hence moving this bug to verified state.