Bug 542755
Summary: | Unable to redeploy a previously undeployed server side plugin | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | wes hayutin <whayutin> |
Component: | Plugin Container | Assignee: | John Mazzitelli <mazz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | ckannan, cwelton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://10.16.120.193:7080/rhq/admin/plugin/plugin-list.xhtml | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:49:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 542757 |
Description
wes hayutin
2009-11-30 17:57:48 UTC
there is code and unit tests that allow us to support this functionality. I didn't know how best to do it in the UI, so right now, you can't do it in the core UI, aside from the test "control.jsp" page. Go to the admin/test/control.jsp page and you'll have an option to purge a plugin completely - once purged from the database, you can redeploy the plugin again. This is only for testing during development - we need to come up with a way to officially do it in the UI. Perhaps have a page called "Previously Undeployed Plugins" and have an option to "resurrect" those plugins. this is fixed now. the plugin UI page lets you show undeployed plugins. If you ever mistakenly undeploy a plugin (or you undeployed but want to later re-deploy it), you first must "purge" that plugin. So the UI lets you purge an undeployed plugin. At that point, you can file-upload a new plugin or you can just copy your new replacement plugin in the /plugins directory. This is checked into the pc branch, merge with master will come soon. this is in master. use the "view undeployed" and then "purge" the old plugin. Once you purged a plugin (meaning, tell the server to completely forget it ever existed), you can upload a new one. Remember, undeploying a plugin is usually only done when you want to tell a server to never deploy that plugin ever again. If you are looking to upgrade a plugin, just redeploy the new plugin or disable the plugin and upgrade it later when you want to. The purpose of undeploy is to tell all RHQ servers to completely remove a plugin and never deploy it again. This purge facilitate is really here to allow a user to "undo" an undeploy if they accidentally undeploy something or if they want to resurrect the usage of a plugin that they originally thought they didn't want anymore. QA Verified. The "Purge" step is a bit tricky - we need to make sure this is clearly doc'd somewhere - but purging an undeployed plugin, copying it back and scanning for updates does result in the plugin successfully redeploying. Mass-closure of verified bugs against JON. |