Bug 1158121
| Summary: | HR size command broken in cluster mode | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Alan Field <afield> | |
| Component: | Server | Assignee: | Tristan Tarrant <ttarrant> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Gencur <mgencur> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.3.1 | CC: | jdg-bugs, slaskawi, vjuranek | |
| Target Milestone: | ER3 | |||
| Target Release: | 6.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1168245 (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: | 1153109, 1168245 | |||
Adding to JDG 6.4.0 ER3 payload From the PR, it looks like this was handled as part of the fix for ISPN-4882 Size operation now work, however requires ADMIN permission instead of BULK_READ. Marking as verified, as this issue is tracked as BZ #1161479 |
Description of problem: Related to BZ-1156318. HR authentication succeeds with a clustered cache, but executing the RemoteCache.size() command throws SecurityException: Hot Rod Client Exception. org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[49] returned server error (status=0x85): io.netty.handler.codec.DecoderException: org.infinispan.server.hotrod.HotRodException: java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:142) at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:96) at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56) at org.infinispan.client.hotrod.impl.operations.StatsOperation.executeOperation(StatsOperation.java:42) at org.infinispan.client.hotrod.impl.operations.StatsOperation.executeOperation(StatsOperation.java:22) at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:49) at org.infinispan.client.hotrod.impl.RemoteCacheImpl.size(RemoteCacheImpl.java:206) at com.amentra.jdg6.Viewer.main(Viewer.java:38) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: