Bug 1313481

Summary: Enable operation of already enabled datasource has different result on EAP6 and EAP7
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: Plugin -- JBoss EAP 7Assignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Brychta <fbrychta>
Severity: low Docs Contact:
Priority: medium    
Version: JON 3.3.5CC: hrupp, loleary, miburman, spinder, tsegismo
Target Milestone: DR02Keywords: Triaged
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 18:57:07 UTC 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: 1314853    

Description Filip Brychta 2016-03-01 16:39:52 UTC
Description of problem:
When running enable operation on already enabled datasource the operation fails on EAP6. It passes on EAP7.
If this is expected, a test case must be updated for EAP7.


Version-Release number of selected component (if applicable):
JON3.3.5 with eap plugin pack update03-DR01

How reproducible:
Always

Comment 1 Filip Brychta 2016-03-01 16:48:39 UTC
From eap7 server.log:
2016-03-01 11:29:57,544 INFO  [org.jboss.as.connector] (management task-1) WFLYJCA0093: The 'enable' operation is deprecated. Use of the 'add' or 'remove' operations is preferred, or if required the 'write-attribute' operation can used to set the deprecated 'enabled' attribute

Comment 2 Heiko W. Rupp 2016-03-03 16:40:48 UTC
We may remove enable/disable operations (in the plugin descriptor) if EAP7 no longer support enable/disable

Comment 3 Thomas Segismont 2016-03-11 16:13:54 UTC
As the log level indicates, it's not a regression. EAP team has deprecated the enabled attribute and corresponding operations. I believe that if the EAP team deprecated them instead of removing, we should simply do the same. That is, update the plugin attribute and operation descriptions.

Is that fine with you Larry?

Comment 4 Larry O'Leary 2016-03-11 19:10:07 UTC
Yes. That is fine.

Comment 5 Thomas Segismont 2016-03-14 14:42:18 UTC
Pull request sent https://github.com/rhq-project/rhq/pull/217

Comment 6 Mike McCune 2016-03-28 23:42:22 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions