How to Deploy Data Grid operator 8.1.x on OCP 4.x

Solution Verified - Updated -

Issue

  • Data grid operator operator status shows: Cannot update "Catalog source was removed"

  • After test cluster upgrade, new version of datagrid operator came in the installed operator list with Pending status. Ideally, it should be replaced the old Datagrid version to latest version but it is stuck and 1 instance of DataGrid is failing and is restarted more than 250 times and goes to "CrashLoopBackOff" continuously.

10:18:38,361 FATAL (main) [org.infinispan.SERVER] ISPN080028: Red Hat Data Grid Server failed to start java.util.concurrent.ExecutionException: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Initial state transfer timed out for cache org.infinispan.LOCKS on dev-infinispan-0-60233
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
    at org.infinispan.server.Bootstrap.runInternal(Bootstrap.java:140)
    at org.infinispan.server.tool.Main.run(Main.java:98)
    at org.infinispan.server.Bootstrap.main(Bootstrap.java:40)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.infinispan.server.loader.Loader.run(Loader.java:76)
    at org.infinispan.server.loader.Loader.main(Loader.java:39)
Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Initial state transfer timed out for cache org.infinispan.LOCKS on dev-infinispan-0-60233
    at org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:751)
    at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:717)
    at org.infinispan.server.SecurityActions.lambda$startCacheManager$1(SecurityActions.java:64)
    at org.infinispan.security.Security.doPrivileged(Security.java:46)
    at org.infinispan.server.SecurityActions.doPrivileged(SecurityActions.java:36)
    at org.infinispan.server.SecurityActions.startCacheManager(SecurityActions.java:67)
    at org.infinispan.server.Server.run(Server.java:332)
    ... 9 more
  • WARNING: An illegal reflective access operation has occurred are emitted in pod logs.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.infinispan.commons.util.Util (file:/opt/infinispan/lib/infinispan-commons-11.0.3.Final-redhat-00001.jar) to constructor com.sun.jndi.dns.DnsContextFactory()
WARNING: Please consider reporting this to the maintainers of org.infinispan.commons.util.Util
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Environment

  • Red Hat Data Grid 8.x
  • OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In