Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2316

[SSO72, JDG72] jgroups.sh script misconfigures jgroups encryption

XMLWordPrintable

    • CLOUD Maintenance Sprint 15

      jgroups.sh script used for configuring jgroups encryption protocols misconfigures encryption for sso72. Instead configuring SYM_ENCRYPT protocol it configures outdated ENCRYPT protocol.

      Cause: Script reads 'version.txt' file and configures SYN_ENCRYPT only if it contains 'Red Hat JBoss Enterprise Application Platform' with version newer then '6.4.4'. But 'sso72-openshift' image 'version.txt' file contains 'Red Hat Single Sign-On - Version 7.2.0.GA'.

      Result: Error messages in console:

      ERROR [org.jgroups.protocols.TCP] (Connection.Receiver [10.128.1.182:7600 - 10.130.1.9:53428],ee,jgroups-1-4xpdl) JGRP000030: jgroups-1-4xpdl: failed handling incoming message: java.lang.ArrayIndexOutOfBoundsException: -1
      

      and

      ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (ServerService Thread Pool -- 56) ISPN000136: Error executing command PutKeyValueCommand, writing keys [cluster-start-time]: org.infinispan.util.concurrent.TimeoutException: Replication timeout
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:639)
      	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
      	at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:61)
      	at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:16)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      

      The same applies for DataGrid 7.2. However DataGrid fails to start completely with unknown protocol: 'ENCRYPT' error.

              rcernich1 Rob Cernich
              pdrobek@redhat.com Pavel Drobek (Inactive)
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: