Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-6010

Discovery on Cloud Foundry manifest with multiple applications fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Undefined Undefined
    • None
    • MTA 8.0.0
    • MTA CLI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      Discovery on Cloud Foundry manifest with multiple applications fails

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

      MTA 8.0.0

      How reproducible:

      Always

      Steps to Reproduce:

      $mta-cli discover cloud-foundry --input=./2_apps.yaml
      INFO[0000] Using manifest path for Cloud Foundry local discover manifest_path=./2_apps.yaml
      INFO[0000] Processing file. filename=./2_apps.yaml
      INFO[0000] Warning: manifest file does not contain a name file_path=./2_apps.yaml
      Error: no app name found in manifest file ./2_apps.yaml (edited)

      Here's the Cloud Foundry manifest used.
      $cat 2_apps.yaml
      version: 1
      applications:

      name: my-app-1 # This application will be selected
      memory: 512M
      instances: 2
      buildpacks: [java_buildpack]
      env:
      DATABASE_URL: postgres://...
      name: my-app-2 # This application will be ignored
      memory: 256M
      instances: 1
      buildpacks: [java_buildpack]

      Actual results:

      Discovery fails

      Expected results:

      Discovery should succeed and discovery manifest should be generated.

      Additional info:

              gciavarrini@redhat.com Gloria Ciavarrini
              rhn-support-nachandr Nandini Chandra
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: