Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2128

M2K stuck in active state

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: After executing M2K and completing the Q&A, the workflow never moves to completed and does not generate the workflow completed notification.

      How reproducible:

      Steps to reproduce:

      1. Deploy orchestrator 1.4.0-rc11 and move2kube-1.4.0-rc9.

      2. execute move2kube.

      3.

      Actual results: Workflow never completes.

      Logs from m2k pod:

      2025-02-20 09:02:25,317 INFO  [org.kie.kog.ser.wor.act.SysoutAction] (executor-thread-20) m2k workflow: ed29b4de-ed36-476b-9ad0-e139db95c33c transformation ID: f9d3c590-1c2b-4f89-b220-85d259def770
      2025-02-20 09:02:25,414 ERROR [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-0) Error publishing event ProcessInstanceDataEvent {specVersion=1.0, id='0e0730b1-b983-4203-b011-979726a29afe', source=/process/m2k, type='save-transformation', time=2025-02-20T09:02:25.386703782Z, subject='null', dataContentType='null', dataSchema=null, data={"gitRepo":"ssh://github.com/rhdh-orchestrator-test/java-class-test","branch":"testdisplay","workspaceId":"c51e9246-e647-4a8e-830a-f3d7542d531a","projectId":"a98aa4f2-0954-4d28-a77c-ef62b21b720f","transformId":"f9d3c590-1c2b-4f89-b220-85d259def770","workflowCallerId":"ed29b4de-ed36-476b-9ad0-e139db95c33c"}, kogitoProcessInstanceId='ed29b4de-ed36-476b-9ad0-e139db95c33c', kogitoRootProcessInstanceId='null', kogitoProcessId='m2k', kogitoRootProcessId='null', kogitoAddons='null', kogitoIdentity='null', extensionAttributes={kogitoproctype=SW, kogitoprocinstanceid=ed29b4de-ed36-476b-9ad0-e139db95c33c, kogitoprocist=Active, kogitoprocversion=1.0, kogitoprocid=m2k}}: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:9090
      Caused by: java.net.ConnectException: Connection refused
          at java.base/sun.nio.ch.Net.pollConnect(Native Method)
          at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
          at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946)
          at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
          at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:339)
          at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
          at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
          at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
          at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
          at java.base/java.lang.Thread.run(Thread.java:840)
       

      Logs from move2kube pod:

      time="2025-02-20T09:02:48Z" level=info msg="Project: a98aa4f2-0954-4d28-a77c-ef62b21b720f; Output:f9d3c590-1c2b-4f89-b220-85d259def770; level=info msg=\"Transformation done\""
      time="2025-02-20T09:02:48Z" level=info msg="Project: a98aa4f2-0954-4d28-a77c-ef62b21b720f; Output:f9d3c590-1c2b-4f89-b220-85d259def770; level=info msg=\"Transformed target artifacts can be found at [/move2kube-api/data/projects/a98aa4f2-0954-4d28-a77c-ef62b21b720f/outputs/f9d3c590-1c2b-4f89-b220-85d259def770/output/2].\""
      time="2025-02-20T09:02:49Z" level=info msg="failed to fetch the stderr of move2kube transform. Error: \"EOF\""
      time="2025-02-20T09:02:49Z" level=error msg="failed to get the next question. Error: \"failed to send a GET request to the URL http://localhost:43245/problems/current . Error: \\\"Get \\\\\\\"http://localhost:43245/problems/current\\\\\\\": dial tcp [::1]:43245: connect: connection refused\\\"\"" request-id=b904467c-07a2-467a-bb94-781bc58f6cec
       

      Expected results: Workflow should complete.

              rh-ee-gfarache Gabriel Farache
              yfirst Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: