Bug 1154988

Summary: [eap6] It's not possible to change a datasource configuration when the EAP6 is in 'needs a reload' state
Product: [Other] RHQ Project Reporter: Filip Brychta <fbrychta>
Component: Configuration, PluginsAssignee: Thomas Heute <theute>
Status: VERIFIED --- QA Contact: Filip Brychta <fbrychta>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.13CC: hrupp, theute, tsegismo
Target Milestone: ---Keywords: Regression
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1156023 1156414 (view as bug list) Environment:
Last Closed: Type: Bug
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: 1156023, 1156414    

Description Filip Brychta 2014-10-21 08:09:17 UTC
Description of problem:
Following scenario was working correctly on JON3.3.0.ER04. Probably regression caused by bz 1004977

Version-Release number of selected component (if applicable):
Version :	
4.13.0-SNAPSHOT
Build Number :	
7ceb5f7 

How reproducible:
Always

Steps to Reproduce:
1. clean rhq installation with remote agent monitoring EAP6 standalone
2. navigate to ExampleDS (EAP6 standalone -> datasources -> ExampleDS)
3. invoke operation 'Disable' using default params (Allow service restart == false) - this param was not available in JON3.3.0.ER04
4. try to change a configuration - set 'Max Pool Size' to 30 and click on Save

Actual results:
Configuration update fails with
{JBAS014653: Composite operation failed and was rolled back. Steps that failed:={Operation step-2=JBAS014792: Unknown attribute __OOB}}, rolled-back=true

Expected results:
Configuration update is successful and configuration is applied when the eap6 is reloaded

Comment 1 Libor Zoubek 2014-10-27 09:41:26 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/a8e0db310
time:    2014-10-27 10:27:43 +0100
commit:  a8e0db3103d5a0324fc3fe62b9081af0e6fdbe46
author:  Libor Zoubek - lzoubek
message: Bug 1156023 - [eap6] It's not possible to change a datasource
         configuration when the EAP6 is in 'needs a reload' state

         Removed special __OOB property from config coming from server

Comment 2 Filip Brychta 2014-10-29 15:12:02 UTC
Verified on
Version :	
4.13.0-SNAPSHOT
Build Number :	
deff314