Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2640

The Job output on the AAP UI doesn't shows much detailed and structured output on ansible-core related issues.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.6
    • aap-ui
    • False
    • Hide

      None

      Show
      None
    • False

      Issue:

      When CU uses import_tasks within import_role, it does not work, and it shows the error mentioned in the GitHub issue below.

      https://github.com/ansible/ansible/issues/69882

      https://github.com/ansible/ansible/issues/83852

      https://github.com/ansible/ansible/pull/85877

      And UI shows error when cu goes inside the job output and sees this specific task failed with error 

      "ERROR! Unexpected Exception, this is probably a bug: expected str, bytes or os.PathLike object, not NoneType"

      Cu already knows this issue is resolved on core 2.18+ and AAP 2.6 works on core 2.16 hence he is seeing this error.

      Given that this remains an architectural edge case where Ansible may crash without emitting structured failure events, cu wants to improve how AAP handles such scenarios in the future.
      For example, is there any consideration to enhance the Controller UI to surface raw stderr or display a generic “Ansible internal error” message when the execution environment exits unexpectedly, so users have clearer feedback even when structured task-level data is unavailable?
       

              jcammara@redhat.com James Cammarata
              rhn-support-sussen Susmita Sen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: