Bug 818695

Summary: plugin metadata update/upgrade code hangs in certain scenarios involving major plugin descriptor changes
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core ServerAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: medium    
Version: 4.3CC: hbrock, hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=818673
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 620931    

Description Ian Springer 2012-05-03 14:38:31 EDT
Heiko reported this a month or so ago on #rhq. After he had made a bunch of big changes in the AS7 plugin descriptor, he tried to update the plugin via "plugins update" and the RHQ Server completely hung while trying to update the metadata in the DB. IIRC, the workaround was to Ctrl-C the Server and then do a dbsetup.

To try to reproduce this, we should try these steps:

1) dbsetup
2) install the preview version of the AS7 plugin that was released to JON customers
3) try to update to the current version of the AS7 plugin from master

If this doesn't work, we may need to replace step 2 with some intermediate version of the AS7 plugin (e.g. by checking out a revision of master from around 2 or 3 months ago and building the AS7 plugin from that)
Comment 1 Mike Foley 2012-05-08 15:33:25 EDT
per BZ triage ... crouch, loleary, foley