Bug 759152 - Plugin install does not tell that a plugins needs a dependency
Plugin install does not tell that a plugins needs a dependency
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
4.2
Unspecified Unspecified
low Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-01 09:35 EST by Heiko W. Rupp
Modified: 2011-12-15 10:26 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2011-12-01 09:35:29 EST
Start with a fresh RHQ instance, do not install jboss-as and jboss-cache plugin by default

Go to the admin UI, upload the jboss-cache plugin. UI will show a green bar, but the plugin is not showing up, no matter how often I press scan for updates, Server log shows [1]

Only then when I upload the as5 plugin, the cachev3 plugin shows up in the list.

We should show a message in the UI that the cache plugin is not deployed because of missing dependencies.




[1]
15:33:14,807 INFO  [ProductPluginDeployer] Deploying [1] new or updated agent plugins: [JBossCache3]
15:33:14,807 ERROR [ProductPluginDeployer] Plugin [JBossAS5] is required by plugins [[JBossCache3]] but it does not exist in the dependency graph yet
15:33:14,807 INFO  [PluginDependencyGraph] Reducing dependency graph by not including plugin [JBossCache3]. Cause: java.lang.IllegalArgumentException: Plugin [JBossAS5] is required by plugins [[JBossCache3]] but it does not exist in the dependency graph yet
15:33:14,807 INFO  [ProductPluginDeployer] Plugin metadata updates are complete for [0] plugins: []

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