Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed Q&A, but move2kube API thinks there are more questions and transformation fails #168

Closed
rhdh-orchestrator-test opened this issue Aug 22, 2024 · 0 comments

Comments

@rhdh-orchestrator-test
Copy link

Describe the bug
After completing the Q&A by answering all the questions, the Q&A window closes and a "transformation completed" notification pop up appears in the Move2kube UI. However, the move2kube api thinks there are more questions but at that stage the QA engine is not running anymore, and the transformation fails. The following error appears in the move2kube pod logs:

time="2024-08-22T08:16:09Z" level=info msg="Project: 52e0fb85-6c3b-48af-b97c-df41e9bbd9a3; Output:673b3418-e77b-42db-9c37-8c938b59323c; level=info msg="Transformation done""
time="2024-08-22T08:16:09Z" level=info msg="Project: 52e0fb85-6c3b-48af-b97c-df41e9bbd9a3; Output:673b3418-e77b-42db-9c37-8c938b59323c; level=info msg="Transformed target artifacts can be found at [/move2kube-api/data/projects/52e0fb85-6c3b-48af-b97c-df41e9bbd9a3/outputs/673b3418-e77b-42db-9c37-8c938b59323c/output/3].""
time="2024-08-22T08:16:09Z" level=debug msg="Project: 52e0fb85-6c3b-48af-b97c-df41e9bbd9a3; Output:673b3418-e77b-42db-9c37-8c938b59323c; level=debug msg="Cleaning up!""
time="2024-08-22T08:16:09Z" level=debug msg="failed to fetch the stdout of move2kube transform. Error: "EOF""
time="2024-08-22T08:16:09Z" level=info msg="failed to fetch the stderr of move2kube transform. Error: "EOF""
time="2024-08-22T08:16:09Z" level=debug msg="Closing transformCh: false"
time="2024-08-22T08:16:09Z" level=debug msg="ctx not closed"
time="2024-08-22T08:16:09Z" level=trace msg="checkErr start"
time="2024-08-22T08:16:09Z" level=debug msg="net.Error: "Get \"http://localhost:41895/problems/current\\\": dial tcp [::1]:41895: connect: connection refused""
time="2024-08-22T08:16:09Z" level=debug msg="default *url.Error Get "http://localhost:41895/problems/current\": dial tcp [::1]:41895: connect: connection refused"
time="2024-08-22T08:16:09Z" level=trace msg="checkErr end"
time="2024-08-22T08:16:09Z" level=error msg="failed to get the next question. Error: "failed to send a GET request to the URL http://localhost:41895/problems/current . Error: \"Get \\\"http://localhost:41895/problems/current\\\\\\\": dial tcp [::1]:41895: connect: connection refused\""" request-id=6befb2d7-27d9-4f43-b570-aa6bc5dfb354
time="2024-08-22T08:16:09Z" level=trace msg="HandleGetQuestion end" request-id=6befb2d7-27d9-4f43-b570-aa6bc5dfb354

To Reproduce
Steps to reproduce the behavior:

  1. Deploy move2kube
  2. Click on Q&A and answer questions
  3. After answering final question, Q&A window closes itself and "transformation finished" pop up appears
  4. See above error in move2kube pod logs

Expected behavior
Expected transformation to complete normally.

Desktop (please complete the following information):

  • Using OCP version 4.15.0-0.nightly-2024-08-19-025745
  • Version: using move2kube image quay.io/konveyor/move2kube-ui:v0.3.14-rc.0

Additional context
The completed files appear and are downlodable in the "output" section:
image

See logs for move2kube pod attached
move2kube-6f86678956-jj5gr-move2kube.log

@rhdh-orchestrator-test rhdh-orchestrator-test closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant