Bug 839552 - [eap6] configuring security domain has no effect
Summary: [eap6] configuring security domain has no effect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: JON 3.1.1
Assignee: Simeon Pinder
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin 846373
TreeView+ depends on / blocked
 
Reported: 2012-07-12 09:32 UTC by Libor Zoubek
Modified: 2015-11-02 00:43 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 846373 (view as bug list)
Environment:
Last Closed: 2013-09-03 15:03:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Libor Zoubek 2012-07-12 09:32:42 UTC
Description of problem: When configuring security domain on EAP6, JON claims configuration update was successfull, but incorrectly. Configuration is not updated on server


Version-Release number of selected component (if applicable):
Version: 4.5.0-SNAPSHOT
Build Number: fce34e6
EAP 6.GA

How reproducible:always


Steps to Reproduce:
1.have EAP6 in standalone mode, go to security subsystem and add a security domain
2.configure security domain - change cache-type
  
Actual results: RHQ claims that config update was successfull, but configuration on EAP is not changed. Agent produces this in log:

2012-07-12 11:01:14,103 WARN  [ResourceContainer.invoker.daemon-408] (rhq.modules.plugins.jbossas7.ASConnection)- Received 500 (Internal Server Error) response to Operation{operation='read-attribute', address=Address{path: subsystem=security,security-domain=aaa}, additionalProperties={name=name}} - response body was [{"outcome" : "failed", "failure-description" : "JBAS014792: Unknown attribute name", "rolled-back" : true, "response-headers" : {"process-state" : "reload-required"}}].
2012-07-12 11:01:17,959 WARN  [ResourceContainer.invoker.daemon-408] (rhq.modules.plugins.jbossas7.ASConnection)- Received 500 (Internal Server Error) response to Operation{operation='read-attribute', address=Address{path: subsystem=security,security-domain=aaa}, additionalProperties={name=name}} - response body was [{"outcome" : "failed", "failure-description" : "JBAS014792: Unknown attribute name", "rolled-back" : true, "response-headers" : {"process-state" : "reload-required"}}].

Refreshing UI and reading live configuration shows original configuration - without any change.

Expected results: Configuration is changed.


Additional info:

Comment 1 Simeon Pinder 2012-08-07 15:09:16 UTC
This is an issue. I've reproduced and fixed it.

Comment 2 Simeon Pinder 2012-08-07 15:22:09 UTC
This has been cherry-picked to release branch with commit: 1cec8331d35d32db

Moving this to MODIFIED for testing in next JON binary.

Comment 3 John Sanda 2012-08-14 02:16:41 UTC
Moving to ON_QA since JON 3.1.1 ER2 build is availble - https://brewweb.devel.redhat.com/buildinfo?buildID=228250

Comment 4 Armine Hovsepyan 2012-09-04 13:55:11 UTC
Verified with JON 3.1.1 CR1

Verification steps:

Start EAP in standard mode -> Inventory EAP -> Install RHQ user -> Create new child with security domain type under security subsystem with cache type default -> verified in EAP side cache type is default -> update cache type of new resource to infinispan -> reload EAP -> verifyed cache type is infinispan in EAP side.

Comment 5 Heiko W. Rupp 2013-09-03 15:03:07 UTC
Bulk closing of old issues in VERIFIED state.


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