Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR! Invalid callback for stdout specified: awx_display on MacOS M3 #1896

Open
Pieter-Visscher opened this issue Dec 13, 2024 · 0 comments
Labels
bug Researched, reproducible, committed to fix new New issues and PRs to triaged

Comments

@Pieter-Visscher
Copy link

Pieter-Visscher commented Dec 13, 2024

ISSUE TYPE
  • Bug Report
SUMMARY

When running ansible-navigator on Macbook M3 I get the error ERROR! Invalid callback for stdout specified: awx_display.
Exact configuration shows no issues on Linux machines.

This issue has persisted across different execution environments: custombuild, awx, ansible, rhel.

ANSIBLE-NAVIGATOR VERSION
ansible-builder           3.1.0
ansible-compat            24.10.0
ansible-core              2.18.1
ansible-lint              24.10.0
ansible-navigator         24.10.0
ansible-runner            2.4.0
CONFIGURATION
ansible-navigator:

  ansible:
    config:
      path: ansible.cfg
    inventory:
      help: true
      entries:
        - inventory
    playbook:
      path: ansibletest.yml

  ansible-runner:
    artifact-dir: ./runner

  app: run

  execution-environment:
    container-engine: docker
    environment-variables:
      set:
        SATELLITE_PASSWORD:       'sample'
        SATELLITE_SERVER_URL:     'sample'
        SATELLITE_USERNAME:       'sample'
        SATELLITE_VALIDATE_CERTS: 'no'
        enabled: true
    image: my-custom-ee:latest
    pull:
      policy: missing
    container-options:
      - "--user=root"

  mode: stdout

  playbook-artifact:
    enable: false
LOG FILE

ansible-navigator.log

STEPS TO REPRODUCE

This appears to be a macOS specific issue. As ansible-navigator executed in linux VMs has shown no problems.
install python via homebrew
configure venv.
use pip3 to install ansible-navigator
run a playbook via the above mentioned settings.
In this playbook there is no inventory specified as its executed on localhost to fetch info of the running execution environment.

EXPECTED RESULTS

execution of ansible playbook in execution environments

ACTUAL RESULTS

I get the following error:
ERROR! Invalid callback for stdout specified: awx_display

ADDITIONAL INFORMATION

Running the same playbook with the same execution environment with ansible-runner directly works. So the issue appears to be ansible-navigator specific.

@Pieter-Visscher Pieter-Visscher added bug Researched, reproducible, committed to fix new New issues and PRs to triaged labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Researched, reproducible, committed to fix new New issues and PRs to triaged
Projects
Status: No status
Development

No branches or pull requests

1 participant