Bug 835702

Summary: [as7] Error updating local cache resource configuration
Product: [Other] RHQ Project Reporter: Stefan Negrea <snegrea>
Component: PluginsAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: ahovsepy, hrupp
Target Milestone: ---   
Target Release: JON 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 833089 Environment:
Last Closed: 2013-09-03 11:18:11 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 826066, 833089, 835697    
Bug Blocks: 707223    

Description Stefan Negrea 2012-06-26 17:08:43 EDT
+++ This bug was initially created as a clone of Bug #833089 +++

Description of problem:
Local cache resource of Infinispan does not have 'mode' property like other cache resources yet the configuration property is in the AS7 plugin descriptor. This causes an error when attempting to save the configuration for  any resource of local cache type.

How reproducible:
Every time

Steps to Reproduce:
1. Discovery and import a standalone AS7 server.
2. Navigate to subsystem=infinispan,cache-container=hibernate,local-cache=local-query
3. Attempt to save the configuration for the local cache resource
  
Actual results:
Error:
{JBAS014653: Composite operation failed and was rolled back. Steps that failed:={Operation step-1=JBAS014792: Unknown attribute mode}}

Expected results:
Resource configuration is saved properly.


Additional info:
This does not affect other cache types since they have the mode property available. This error is due to local cache sharing the same configuration descriptor with other types of cache resources.

--- Additional comment from snegrea@redhat.com on 2012-06-18 11:17:01 EDT ---
Created a separate Local Cache resource descriptor with properties only applicable to this resource type.
Comment 2 John Sanda 2012-08-02 14:52:10 EDT
JON 3.1.1 ER1 build is available. Moving to ON_QA.

https://brewweb.devel.redhat.com/buildinfo?buildID=226942
Comment 3 Armine Hovsepyan 2012-08-07 12:47:19 EDT
verified.
Comment 4 Heiko W. Rupp 2013-09-03 11:18:11 EDT
Bulk closing of old issues in VERIFIED state.