Bug 538099 - Rolling back configuration fails silently, never completes in UI
Summary: Rolling back configuration fails silently, never completes in UI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Configuration
Version: unspecified
Hardware: All
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: Adam Young
QA Contact: Jeff Weiss
URL:
Whiteboard:
Depends On:
Blocks: RHQ_RawConfig
TreeView+ depends on / blocked
 
Reported: 2009-11-17 16:17 UTC by Jeff Weiss
Modified: 2014-11-09 22:50 UTC (History)
3 users (show)

Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-12 16:47:15 UTC
Embargoed:


Attachments (Terms of Use)

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.


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