Bug 861058 - After installing a new plug-in, a server restart is required to make manual add work
Summary: After installing a new plug-in, a server restart is required to make manual a...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.5
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 12:45 UTC by Andreas Veithen
Modified: 2017-03-18 21:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-18 21:12:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Andreas Veithen 2012-09-27 12:45:19 UTC
Scenario: user installs a new agent plug-in that defines a new server type and wants to manually import a resource of that type.

Problem: when clicking on the "Import" button in the inventory view, the new server type doesn't appear in the pop-up menu. To refresh that list, it is necessary to restart the RHQ server.

Comment 1 Andreas Veithen 2012-10-01 13:20:57 UTC
I noticed that similar issues exist also in other areas. E.g. after a plug-in upgrade that adds new properties to a resource configuration, I had troubles making RHQ display the new properties (note I checked that they were present in the DB). Probably configuration definitions are cached somewhere and that cache should be flushed after a plug-in upgrade.

Comment 2 Heiko W. Rupp 2013-07-01 11:54:25 UTC
The issue you are seeing here is caching of (meta)data in the GWT app and thus in the browser.
"Just" reloading the UI should be enough -- when you restart the server, you normally get "disconnected" from it and have to refresh and re-login.

Does that solve your issue? I know this is not perfect, but luckily one does not re-deploy plugins that often.


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