[SUSE LINUX 12 SP5] Need installation guide for AWX

391 views
Skip to first unread message

Saravanan Jothilingam

unread,
Sep 28, 2022, 3:44:56 AM9/28/22
to AWX Project
Hi,
i need the latest installation guide for setting up AWX on SUSE linux 12 Sp5. Could you please share.

Thanks
Saravanan

AWX Project

unread,
Sep 28, 2022, 12:54:46 PM9/28/22
to AWX Project
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

saravanan jothilingam

unread,
Oct 1, 2022, 1:02:30 PM10/1/22
to AWX Project
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?


 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

Michael Nelson

unread,
Oct 1, 2022, 1:12:25 PM10/1/22
to awx-p...@googlegroups.com

Hi,

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


Regards,

Antuelle78

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/4f5845d0-4526-449a-a15b-892bb3aa1ff7n%40googlegroups.com.

saravanan jothilingam

unread,
Oct 2, 2022, 12:05:42 AM10/2/22
to awx-p...@googlegroups.com
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

Reply all
Reply to author
Forward
0 new messages