Skip to content

[BUG] Hybrid mode fails to generate static report: cannot find ~/.kantra/static-report #707

@mguetta1

Description

@mguetta1

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

latest (main)

Priority

Critical

Current Behavior

When running kantra analyze in hybrid/container mode (--run-local=false), the analysis completes successfully but fails when trying to generate the static HTML report with the error:

mguetta@localhost:~/git/konveyor/kantra$ KANTRA_SKIP_MAVEN_CACHE=true RUNNER_IMG=localhost/kantra:latest ./kantra analyze -i /home/mguetta/git/konveyor/apps/example-applications/example-1/ -o /home/mguetta/Downloads/tomcat --target cloud-readiness --target linux --run-local=false
INFO[0000] found kantra dir                              dir=/home/mguetta/.kantra
Running source analysis...
  ✓ Created volume
  ✓ Started provider containers
  ✓ Initialized providers (builtin, java)
  ✓ Started rules engine
  ✓ Loaded 25 rules
  ✓ Processing rules 100% |█████████████████████████| 25/25  local-storage-00001

Analysis complete!
ERRO[0180] failed to run hybrid analysis                 error="open /home/mguetta/.kantra/static-report: no such file or directory"
Error: open /home/mguetta/.kantra/static-report: no such file or directory

Expected Behavior

The static HTML report should be generated successfully in hybrid mode.

How Reproducible

Always (Default)

Steps To Reproduce

kantra command

KANTRA_SKIP_MAVEN_CACHE=true RUNNER_IMG=localhost/kantra:latest ./kantra analyze \
-i /home/mguetta/git/konveyor/apps/example-applications/example-1/ \
-o /home/mguetta/Downloads/tomcat \
--target cloud-readiness \
--target linux \
--run-local=false

Environment

- OS: Fedora 43

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-priorityIndicates an issue or PR lacks a `priority/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.team/insights-discoveryRelated to insights discovery

    Type

    Projects

    Status

    🆕 New

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions