You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is regarding step 8 of the intro exercise.
The instruction is kind of vague regarding step 6, I am assuming it meant to change the "hosts" to use automationhub, instead of using builder. After updating the playbook to use automationhub for the hosts field, and in step 8, when running the playbook using: ansible-playbook -i inventory.yml -l automationhub playbooks/build_ee.yml
I think it's having issue trying to install the python package inside of the container.
Issue Type
Bug
Extra vars file
Dont have this info available as the environment is already torn down.
Ansible Playbook Output
fatal: [hub-student1.zzqwx.example.opentlc.com]: FAILED! => {"changed": true, "cmd": ["ansible-builder", "build", "-f", "/tmp/ansible.l7rjgaottemp/execution_environment.yml", "-t", "config_as_code", "--container-runtime=podman", "--verbosity", "0"], "delta": "0:01:34.894032", "end": "2023-09-07 22:44:11.267337", "msg": "non-zero return code", "rc": 1, "start": "2023-09-07 22:42:36.373305", "stderr": "", "stderr_lines": [], "stdout": "Command that had error:\n podman build -f context/Containerfile -t config_as_code context\n...showing last 20 lines of output...\n++ bindep -b compile\n++ true\n+ compile_packages='podman\npython\npython38-pytz\npython38-pyyaml\npython38-requests\nrsync'\n+ '[' '!' -z 'podman\npython\npython38-pytz\npython38-pyyaml\npython38-requests\nrsync' ']'\n+ /usr/bin/dnf install -y podman python python38-pytz python38-pyyaml python38-requests rsync\nCentOS Stream 8 - Extras common packages 20 kB/s | 6.9 kB 00:00\nNo match for argument: python\nThere are following alternatives for \"python\": python2, python3.11, python36, python38, python39\nError: Unable to find a match: python\nError: building at STEP \"RUN assemble\": while running runtime: exit status 1\n\nAn error occured (rc=1), see output line(s) above for details.", "stdout_lines": ["Command that had error:", " podman build -f context/Containerfile -t config_as_code context", "...showing last 20 lines of output...", "++ bindep -b compile", "++ true", "+ compile_packages='podman", "python", "python38-pytz", "python38-pyyaml", "python38-requests", "rsync'", "+ '[' '!' -z 'podman", "python", "python38-pytz", "python38-pyyaml", "python38-requests", "rsync' ']'", "+ /usr/bin/dnf install -y podman python python38-pytz python38-pyyaml python38-requests rsync", "CentOS Stream 8 - Extras common packages 20 kB/s | 6.9 kB 00:00", "No match for argument: python", "There are following alternatives for \"python\": python2, python3.11, python36, python38, python39", "Error: Unable to find a match: python", "Error: building at STEP \"RUN assemble\": while running runtime: exit status 1", "", "An error occured (rc=1), see output line(s) above for details."]}
Ansible Version
Don't have this info as the environment is already torn down.
Ansible Configuration
Don't have this info as the environment is already torn down.
Ansible Execution Node
Ansible Controller (previously known as Ansible Tower)
Operating System
This is provisioned through RHDPS.
The text was updated successfully, but these errors were encountered:
Problem Summary
This is regarding step 8 of the intro exercise.
The instruction is kind of vague regarding step 6, I am assuming it meant to change the "hosts" to use automationhub, instead of using builder. After updating the playbook to use automationhub for the hosts field, and in step 8, when running the playbook using:
ansible-playbook -i inventory.yml -l automationhub playbooks/build_ee.yml
I think it's having issue trying to install the python package inside of the container.
Issue Type
Bug
Extra vars file
Dont have this info available as the environment is already torn down.
Ansible Playbook Output
fatal: [hub-student1.zzqwx.example.opentlc.com]: FAILED! => {"changed": true, "cmd": ["ansible-builder", "build", "-f", "/tmp/ansible.l7rjgaottemp/execution_environment.yml", "-t", "config_as_code", "--container-runtime=podman", "--verbosity", "0"], "delta": "0:01:34.894032", "end": "2023-09-07 22:44:11.267337", "msg": "non-zero return code", "rc": 1, "start": "2023-09-07 22:42:36.373305", "stderr": "", "stderr_lines": [], "stdout": "Command that had error:\n podman build -f context/Containerfile -t config_as_code context\n...showing last 20 lines of output...\n++ bindep -b compile\n++ true\n+ compile_packages='podman\npython\npython38-pytz\npython38-pyyaml\npython38-requests\nrsync'\n+ '[' '!' -z 'podman\npython\npython38-pytz\npython38-pyyaml\npython38-requests\nrsync' ']'\n+ /usr/bin/dnf install -y podman python python38-pytz python38-pyyaml python38-requests rsync\nCentOS Stream 8 - Extras common packages 20 kB/s | 6.9 kB 00:00\nNo match for argument: python\nThere are following alternatives for \"python\": python2, python3.11, python36, python38, python39\nError: Unable to find a match: python\nError: building at STEP \"RUN assemble\": while running runtime: exit status 1\n\nAn error occured (rc=1), see output line(s) above for details.", "stdout_lines": ["Command that had error:", " podman build -f context/Containerfile -t config_as_code context", "...showing last 20 lines of output...", "++ bindep -b compile", "++ true", "+ compile_packages='podman", "python", "python38-pytz", "python38-pyyaml", "python38-requests", "rsync'", "+ '[' '!' -z 'podman", "python", "python38-pytz", "python38-pyyaml", "python38-requests", "rsync' ']'", "+ /usr/bin/dnf install -y podman python python38-pytz python38-pyyaml python38-requests rsync", "CentOS Stream 8 - Extras common packages 20 kB/s | 6.9 kB 00:00", "No match for argument: python", "There are following alternatives for \"python\": python2, python3.11, python36, python38, python39", "Error: Unable to find a match: python", "Error: building at STEP \"RUN assemble\": while running runtime: exit status 1", "", "An error occured (rc=1), see output line(s) above for details."]}
Ansible Version
Don't have this info as the environment is already torn down.
Ansible Configuration
Don't have this info as the environment is already torn down.
Ansible Execution Node
Ansible Controller (previously known as Ansible Tower)
Operating System
This is provisioned through RHDPS.
The text was updated successfully, but these errors were encountered: