Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1577

Improve Galaxy Importer Error Messages When Role Metadata Cannot Be Loaded

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • 2.1.2
    • Backend
    • False
    • Hide

      None

      Show
      None
    • False

      Description 

      When attempting to publish content to PAH, having an invalid meta/main.yml can cause issues:

       

      Galaxy import process has a status of running, wait 2 seconds before trying again
      Galaxy import message: INFO - Importing with galaxy-importer 0.4.0
      Galaxy import message: INFO - Getting doc strings via ansible-doc
      Galaxy import message: INFO - Finding content inside collection
      Galaxy import message: INFO - Loading role myrole
      Galaxy import message: ERROR - Collection processing was not successful: 'NoneType' object is not subscriptable
      ERROR! Galaxy import process failed: 'NoneType' object is not subscriptable (Code: UNKNOWN) 

      Key Dependency Versions

      PAH 4.4.3

      cc dnewswan 

              Unassigned Unassigned
              rhn-support-jmcclune James McClune (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: