Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-3600 [CLI] Can't run analysis without specifying custom rule
  3. MTA-3621

[QE] Verify for ( [CLI] Can't run analysis without specifying custom rule )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTA 7.1.0
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Can't run analysis without specifying custom rule

      Version-Release number of selected component (if applicable):

      7.1.0-52 

      How reproducible:

      100% 

      Steps to Reproduce:
      1. Pull latest images and binary
      2. Run command, for example

      $ /home/igor/bin/mta-cli analyze --overwrite --input /home/igor/github.com/kantra-cli-tests/data/applications/jee-example-app-1.0.0.ear --output /home/igor/MTA/reports --source weblogic --target eap7 
      

      Actual results:

      Analysis fails with error

      /usr/bin/podman run --rm --name lSeJpIRChAEGmjps --entrypoint /usr/local/bin/mta-cli --env RUN_MODE=container registry.redhat.io/mta/mta-cli-rhel9:7.1.0 analyze --list-sources/usr/bin/podman run --rm --name nDPAesHKOwYiIqZD --entrypoint /usr/local/bin/mta-cli --env RUN_MODE=container registry.redhat.io/mta/mta-cli-rhel9:7.1.0 analyze --list-targetsError: No providers found with default rules. Use --rules option
      

      Expected results:

      Analysis should complete with no errors 

      Additional info:
      Problem is relevant for each platform, Linux, Windows and Mac.

              ibragins@redhat.com Igor Braginsky
              istein@redhat.com Ilanit Stein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: