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

execution node install failed on rocky 8.10 #15555

Open
6 of 11 tasks
kiju-kang opened this issue Sep 27, 2024 · 0 comments
Open
6 of 11 tasks

execution node install failed on rocky 8.10 #15555

kiju-kang opened this issue Sep 27, 2024 · 0 comments

Comments

@kiju-kang
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

Execution node fails to install on rocky 8.10 OS.

AWX version

24.6.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

2.17.3

Operating system

Rocky Linux release 8.10 (Green Obsidian)

Web browser

No response

Steps to reproduce

ansible-playbook -i inventory.yml install_receptor.yml -vvv

$ cat inventory.yml

all:
hosts:
remote-execution:
ansible_host: test-instance
ansible_user: test # user provided
ansible_ssh_private_key_file: ~/.ssh/id_rsa

$ cat install_receptor.yml

  • hosts: all
    become: yes
    tasks:
    • name: Create the receptor user
      user:
      name: "{{ receptor_user }}"
      shell: /bin/bash
    • import_role:
      name: ansible.receptor.podman
    • import_role:
      name: ansible.receptor.setup

Expected results

The playbook run successfully, and the installation of the execute node was successful.

Actual results

$ ansible-playbook -i inventory.yml install_receptor.yml -vv
ansible-playbook [core 2.17.3]
config file = /home/OS_kkj/.ansible.cfg
configured module search path = ['/home/OS_kkj/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/OS_kkj/.local/lib/python3.12/site-packages/ansible
ansible collection location = /home/OS_kkj/.ansible/collections:/usr/share/ansible/collections
executable location = /home/OS_kkj/.local/bin/ansible-playbook
python version = 3.12.1 (main, Aug 30 2024, 16:00:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] (/usr/local/bin/python3.12)
jinja version = 3.1.2
libyaml = True
Using /home/OS_kkj/.ansible.cfg as config file
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

PLAYBOOK: install_receptor.yml ***********************************************************************************************************************************************************
1 plays in install_receptor.yml

PLAY [all] *******************************************************************************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************************************************************************
task path: /home/gaia_bot/test-instance_install_bundle/install_receptor.yml:2
[WARNING]: Platform linux on host remote-execution is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change
the meaning of that path. See https://docs.ansible.com/ansible-core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [remote-execution]

TASK [Create the receptor user] **********************************************************************************************************************************************************
task path: /home/gaia_bot/test-instance_install_bundle/install_receptor.yml:5
ok: [remote-execution] => {"append": false, "changed": false, "comment": "", "group": 1001, "home": "/home/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 1001}

TASK [ansible.receptor.podman : Include variables] ***************************************************************************************************************************************
task path: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/main.yml:3
included: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/variables.yml for remote-execution

TASK [ansible.receptor.podman : Include OS-specific variables "RedHat"] ******************************************************************************************************************
task path: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/variables.yml:2
ok: [remote-execution] => {"ansible_facts": {"__podman_packages": ["podman", "crun"]}, "ansible_included_var_files": ["/home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/vars/RedHat.yml"], "changed": false}

TASK [ansible.receptor.podman : Define podman_packages] **********************************************************************************************************************************
task path: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/variables.yml:7
ok: [remote-execution] => {"ansible_facts": {"podman_packages": ["podman", "crun"]}, "changed": false}

TASK [ansible.receptor.podman : Run OS-specific tasks] ***********************************************************************************************************************************
task path: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/main.yml:7
included: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/setup-RedHat.yml for remote-execution

TASK [ansible.receptor.podman : Install podman packages] *********************************************************************************************************************************
task path: /home/OS_kkj/.ansible/collections/ansible_collections/ansible/receptor/roles/podman/tasks/setup-RedHat.yml:2
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SyntaxError: future feature annotations is not defined
fatal: [remote-execution]: FAILED! => {"changed": false, "module_stderr": "OpenSSH_8.0p1, OpenSSL 1.1.1k FIPS 25 Mar 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug2: checking match for 'final all' host test-instance originally test-instance\r\ndebug2: match not found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: configuration requests final Match pass\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf\r\ndebug2: checking match for 'final all' host test-instance originally test-instance\r\ndebug2: match found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug2: Received exit status from master 1\r\nShared connection to test-instance closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File "", line 12, in \r\n File "", line 971, in _find_and_load\r\n File "", line 951, in _find_and_load_unlocked\r\n File "", line 894, in _find_spec\r\n File "", line 1157, in find_spec\r\n File "", line 1131, in _get_spec\r\n File "", line 1112, in _legacy_get_spec\r\n File "", line 441, in spec_from_loader\r\n File "", line 544, in spec_from_file_location\r\n File "/tmp/ansible_ansible.legacy.dnf_payload_8ttprokq/ansible_ansible.legacy.dnf_payload.zip/ansible/module_utils/basic.py", line 5\r\nSyntaxError: future feature annotations is not defined\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

PLAY RECAP *******************************************************************************************************************************************************************************
remote-execution : ok=6 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant