Bug 538099

Summary: Rolling back configuration fails silently, never completes in UI
Product: [Other] RHQ Project Reporter: Jeff Weiss <jweiss>
Component: ConfigurationAssignee: Adam Young <ayoung>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: ayoung, dajohnso, pthomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:47:15 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: 538114    

Description Jeff Weiss 2009-11-17 16:17:09 UTC
Description of problem:
Rolling back configuration fails silently, never completes in UI

Version-Release number of selected component (if applicable):
git commit hash: fdd23ec2bb428e6bde53e70d9b31c6ae22465da0

How reproducible:
Always

Steps to Reproduce:
1. Using test-rawconfig plugin add a "Structured and Raw" resource to the server.
2. Edit the file /tmp/raw-config-test/structured-and-raw-test-1.txt (or wherever the plugin keeps the file)
3. Go to the Config->History tab, wait for the config change to show up
4. Select the previous version in the history, click "Rollback to selected"

  
Actual results:
The rollback never completes (stays in-progress forever). No other config changes can be made because the rollback remains in progress.

Expected results:
The rollback should complete immediately.

Additional info:
This error appears in the agent's log (i am not 100% sure it is a direct result of my test):

2009-11-17 10:52:03,519 ERROR [WorkerThread#0[10.16.79.191:34294]] (rhq.core.pc.configuration.ConfigurationManager)- Failed to submit config update task. Cause: org.rhq.core.clientapi.agent.PluginContainerException: Component does not support the [org.rhq.core.pluginapi.configuration.ConfigurationFacet] interface: ResourceContainer[resource=Resource[id=10003, type=Structured and Raw Server, key=1, name=Structured and Raw Server, parent=10.16.79.191, version=1.0]]

Comment 1 Jeff Weiss 2009-11-17 16:19:11 UTC
Ok, the rollback does eventually fail (about 10 minutes later):

Timed%20out%20-%20did%20not%20complete%20after%20687902%20ms%20%28the%20timeout%20period%20was%20600000%20ms%29

Comment 2 Jeff Weiss 2009-11-17 16:27:28 UTC
The error from the agent log that i put in the description, is indeed directly related to the test.

Comment 3 Preethi Thomas 2010-01-07 14:11:43 UTC
This appears to have been resolved
Rollback is successful.
verified in master http://10.16.120.159:7080/

Comment 4 Corey Welton 2010-08-12 16:47:15 UTC
Mass-closure of verified bugs against JON.