openshift-labs / learn-katacoda

The OpenShift learning portal, powered by Katacoda
https://learn.openshift.com
159 stars 266 forks source link

The Eclipse Vert.x Development Scenarios are failing #761

Open kidswain opened 4 years ago

kidswain commented 4 years ago

They appear to be sensitive to the fixed version of infinispan. Specifically: MicroTrader App Part 1: Quote Genertor MicroTrader App Part 2: Portfolio Service MicroTrader App Part 3: Compulsive Traders MicroTrader App Part 4: Audit Service

blues-man commented 4 years ago

Right, from quote-generator Pod log:


WARNING: Cannot find Infinispan config 'infinispan.xml', using default
--
  | May 12, 2020 8:56:31 AM io.vertx.core.impl.VertxImpl
  | SEVERE: Failed to join cluster
  | org.infinispan.commons.CacheConfigurationException: ISPN000327: Cannot find a parser for element 'infinispan' in namespace 'urn:infinispan:config:9.4'. Check that your configuration is up-to date for this version of Infinispan.
  | at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:174)
  | at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:150)
  | at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:137)
  | at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:123)
  | at io.vertx.ext.cluster.infinispan.InfinispanClusterManager.lambda$join$8(InfinispanClusterManager.java:228)
  | at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$2(ContextImpl.java:316)
  | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  | at java.lang.Thread.run(Thread.java:748)
kidswain commented 4 years ago

It’s happening in all modules in all scenarios. Changing the infinispan version in the pom.xml to the current stable version appears to fix the problem.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Natale Vinto notifications@github.com Sent: Tuesday, May 12, 2020 9:59:19 AM To: openshift-labs/learn-katacoda learn-katacoda@noreply.github.com Cc: Kwesi de Graft-Johnson jdgj@hotmail.co.uk; Author author@noreply.github.com Subject: Re: [openshift-labs/learn-katacoda] The Eclipse Vert.x Development Scenarios are failing (#761)

Right, from quote-generator Pod log:

WARNING: Cannot find Infinispan config 'infinispan.xml', using default

--

| May 12, 2020 8:56:31 AM io.vertx.core.impl.VertxImpl

| SEVERE: Failed to join cluster

| org.infinispan.commons.CacheConfigurationException: ISPN000327: Cannot find a parser for element 'infinispan' in namespace 'urn:infinispan:config:9.4'. Check that your configuration is up-to date for this version of Infinispan.

| at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:174)

| at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:150)

| at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:137)

| at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:123)

| at io.vertx.ext.cluster.infinispan.InfinispanClusterManager.lambda$join$8(InfinispanClusterManager.java:228)

| at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$2(ContextImpl.java:316)

| at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

| at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)

| at java.lang.Thread.run(Thread.java:748)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenshift-labs%2Flearn-katacoda%2Fissues%2F761%23issuecomment-627209895&data=02%7C01%7C%7C55a3b4b70d034ee3529408d7f652c273%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637248707609853063&sdata=2q4mVsqofC2QO8JKXtpT%2FDPxdGlcPZ9%2FZFbVgEYcNkw%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJ2U2KDBIHEHNOC6U3ZKUDTRREFWPANCNFSM4M5MSMAQ&data=02%7C01%7C%7C55a3b4b70d034ee3529408d7f652c273%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637248707609863060&sdata=oLiBo5tRUL9VXtRtR3PKTTVxDJi%2BzHd0HzV094FEd%2FQ%3D&reserved=0.

blues-man commented 4 years ago

I'm trying with latest GA I see on Red Hat maven repo for infinispan-cloud 9.4.19.Final and looks working on quote-generator, but not in micro-trader-dashboard. Did you tried any specific version that you saw working in all Steps in Scenarios? Thanks!

kidswain commented 4 years ago

NP, happy to help. I used version 10.1.7.Final from the Infinispanhttps://infinispan.org/ Homepage. That appeared to work, although I was unable to restart the code safely.

bttnns commented 4 years ago

I think this might be resolved with this PR https://github.com/openshift-katacoda/rhoar-getting-started/pull/35

kidswain commented 4 years ago

I'm not seeing this error in the MicroTrader Part 1: Quote Generator Scenario.