[SUSE LINUX 12 SP5] Need installation guide for AWX

Hi,
i need the latest installation guide for setting up AWX on SUSE linux 12 Sp5. Could you please share.

Thanks
Saravanan

Hello,

AWX runs in containers either through Docker or through a kubernetes cluster so there are not specific details for SuSE. The current install guide can be found here: https://github.com/ansible/awx/blob/devel/INSTALL.md

-The AWX Team

Hi,
I am trying AWX installation on Centos8. While running this cmd - "ansible-playbook -i inventory install.yml", i get this error when these 2 tasks run in progress. Could you please what i am missing here?

Link followed for setting up AWX - https://martin.frlicka.net/articles/ansible-awx-with-docker-install-how-to-tutorial/

AWX installer location - git clone -b 17.1.0 https://github.com/ansible/awx.git
docker version - Docker version 20.10.18, build b40c2f6
python version - Python 3.6.8

docker-compose version 1.29.2

TASK [local_docker : Check for existing Postgres data (run from inside the container for access to file)] ******************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “docker run --rm -v ‘/var/lib/pgdocker:/var/lib/postgresql’ centos:8 bash -c "[[ -f /var/lib/postgresql/10/data/PG_VERSION ]] && echo ‘exists’"\n”, “delta”: “0:00:13.799994”, “end”: “2022-10-01 16:59:47.576431”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2022-10-01 16:59:33.776437”, “stderr”: “Unable to find image ‘centos:8’ locally\n8: Pulling from library/centos\na1d0c7532777: Pulling fs layer\na1d0c7532777: Verifying Checksum\na1d0c7532777: Download complete\na1d0c7532777: Pull complete\nDigest: sha256:a27fd8080b517143cbbbab9dfb7c8571c40d67d534bbdee55bd6c473f432b177\nStatus: Downloaded newer image for centos:8”, “stderr_lines”: [“Unable to find image ‘centos:8’ locally”, “8: Pulling from library/centos”, “a1d0c7532777: Pulling fs layer”, “a1d0c7532777: Verifying Checksum”, “a1d0c7532777: Download complete”, “a1d0c7532777: Pull complete”, “Digest: sha256:a27fd8080b517143cbbbab9dfb7c8571c40d67d534bbdee55bd6c473f432b177”, “Status: Downloaded newer image for centos:8”], “stdout”: “”, “stdout_lines”: }
…ignoring

TASK [local_docker : Run migrations in task container] *********************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”, “delta”: “0:00:27.316362”, “end”: “2022-10-01 17:00:21.137625”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2022-10-01 16:59:53.821263”, “stderr”: “/usr/local/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.\n from cryptography.hazmat.backends import default_backend\nPulling redis (redis:)…\nPulling postgres (postgres:12)…\nPulling web (ansible/awx:latest)…\nmanifest for ansible/awx:latest not found: manifest unknown: manifest unknown”, “stderr_lines”: [“/usr/local/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.”, " from cryptography.hazmat.backends import default_backend", “Pulling redis (redis:)…”, “Pulling postgres (postgres:12)…”, “Pulling web (ansible/awx:latest)…”, “manifest for ansible/awx:latest not found: manifest unknown: manifest unknown”], “stdout”: “latest: Pulling from library/redis\nDigest: sha256:b4e56cd71c74e379198b66b3db4dc415f42e8151a18da68d1b61f55fcc7af3e0\nStatus: Downloaded newer image for redis:latest\n12: Pulling from library/postgres\nDigest: sha256:c70b3c8daebd62d899881f5369d3cb57f1bf7f053b8cdcdb6dbdd967bea886c9\nStatus: Downloaded newer image for postgres:12”, “stdout_lines”: [“latest: Pulling from library/redis”, “Digest: sha256:b4e56cd71c74e379198b66b3db4dc415f42e8151a18da68d1b61f55fcc7af3e0”, “Status: Downloaded newer image for redis:latest”, “12: Pulling from library/postgres”, “Digest: sha256:c70b3c8daebd62d899881f5369d3cb57f1bf7f053b8cdcdb6dbdd967bea886c9”, “Status: Downloaded newer image for postgres:12”]}

root@awx-ansible installer]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
redis latest 9da089657551 9 days ago 117MB
postgres 12 d05bfc9d176b 2 weeks ago 373MB
centos 8 5d0da3dc9764 12 months ago 231MB

Thanks
Saravanan

Hi,

Your task is failing because the awx image is not available:

Regards,

Antuelle78

Hi,
Thanks for this input. Should I need to pull the AWX image to my local disc as a pre-requisite and run the ansible playbook cmd? Any input on this.

Thanks
Saravanan

(attachments)