Bug 833089 - [as7] Error updating local cache resource configuration
[as7] Error updating local cache resource configuration
Product: RHQ Project
Classification: Other
Component: Plugins (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: RHQ 4.5.0
Assigned To: Stefan Negrea
Mike Foley
Depends On: 826066 835697
Blocks: as7-plugin 835702
  Show dependency treegraph
Reported: 2012-06-18 10:47 EDT by Stefan Negrea
Modified: 2013-09-01 06:07 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 835702 (view as bug list)
Last Closed: 2013-09-01 06:07:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stefan Negrea 2012-06-18 10:47:12 EDT
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:
{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.
Comment 1 Stefan Negrea 2012-06-18 11:17:01 EDT
Created a separate Local Cache resource descriptor with properties only applicable to this resource type.

master branch commits:
Comment 2 Heiko W. Rupp 2013-09-01 06:07:45 EDT
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.

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