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

[BUG] kantra newer completes to run / stuck downloading #339

Open
1 task done
maxandersen opened this issue Sep 25, 2024 · 4 comments
Open
1 task done

[BUG] kantra newer completes to run / stuck downloading #339

maxandersen opened this issue Sep 25, 2024 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@maxandersen
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

don't know - using kantra v0.5.3

Priority

Blocker

Current Behavior

downloaded kantra for osx and run it and I get stuck with this:

kantra analyze --overwrite --output=kantra
LmFaUqLJJGyYaGcG
iJiSrWVpZuEGNJBj
INFO[0000] starting first provider                       provider=java
/opt/podman/bin/podman run -d --rm --name DrdaNnLGYavshAsT --network LmFaUqLJJGyYaGcG -v iJiSrWVpZuEGNJBj:/opt/input/source quay.io/konveyor/java-external-provider:v0.5.3 --port=57434Trying to pull quay.io/konveyor/java-external-provider:v0.5.3...
Getting image source signatures
Copying blob sha256:a22afa8200fd486ebefd72442e04754f56a2d413fead53c6b860742013a675e0
Copying blob sha256:7f4c208fc9d6476429f31af472b905008fc68c5a198c7215fb299d29c916ae28
Copying blob sha256:ee6e912c9b5dd1eccfd8d00e8c068308fe23ad601c13200c01a70d2f7b9c6712

Expected Behavior

that it would complete - and if errors/fail timeout and provide hints to user

How Reproducible

Always (Default)

Steps To Reproduce

No response

Environment

  • OS:OSX

Anything else?

No response

@maxandersen maxandersen added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 25, 2024
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Sep 25, 2024
@dymurray
Copy link
Contributor

@maxandersen thanks for reporting, looks like this is a bug when --input flag isn't set. Can you please rerun with --input pointing to the source code of the application you are trying to analyze? I will fix this bug in the meantime

@maxandersen
Copy link
Contributor Author

so kantra analyze --overwrite --output=kantra --input=. seem to give the same problem.

@dymurray
Copy link
Contributor

@maxandersen can you confirm that you have followed these instructions? https://github.com/konveyor/kantra/?tab=readme-ov-file#mac-1

This "pause" that you are seeing is podman creating the volume which will be mounted in the container. You should be seeing it in podman volume ls after you start kantra. Depending on how big the input dir is and the content it could be taking a few seconds to finish the mounting process and creating the network.

For reference, I'm on linux and I used a 500Gb directory it took ~11 seconds for podman to mount the volume.

I would also recommend rerunning with --log-level=10 to get more details about what is happening with podman under the hood

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants