[SLES] AWX setup link

178 views
Skip to first unread message

saravanan jothilingam

unread,
Oct 4, 2022, 1:38:25 AM10/4/22
to AWX Project
Hi, 
I am looking out for a clear setup documentation link for installing AWX on SLES12/SLES15 server. Please help.

Thanks
Saravanan

AWX Project

unread,
Oct 4, 2022, 1:56:44 PM10/4/22
to AWX Project
AWX runs in containers either through Docker or Kuberneties.
Because of this we do not have specific instructions on installing in SLES.
Please see the install documentation and let us know if you hit specific errors in one of the install methods.

-The AWX Team

saravanan jothilingam

unread,
Oct 15, 2022, 2:33:30 AM10/15/22
to awx-p...@googlegroups.com
Thanks for this information. I tried the following AWX installation on the SLES server. I am hitting the below error. Could you please sharing your inputs on how to resolve this? Appreciate your help!

1. Installed the following dependent software binaries on SLES12 SP5 - Docker version 20.10.17-ce/docker-compose version 1.29.1/Python 2.7.18/ansible 2.8.2/pip 20.3.4/Node.js v18.2.0/Npm 8.9.0
2. Downloaded 17.0.1 AWX and installed it as a git clone as per the instructions updated in this wiki.
3. Updated inventory for the required parameters
4. Ran this playbook cmd – ansible-playbook -i inventory install.yml

I get this error:
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:00.936957", "end": "2022-10-12 10:13:12.283706", "msg": "non-zero return code", "rc": 1, "start": "2022-10-12 10:13:11.346749", "stderr": "Starting awx_postgres ... \r\nStarting awx_redis    ... \r\nStarting awx_postgres ... error\r\n\nERROR: for awx_postgres  Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: \"apparmor_parser\": executable file not found in $PATH\nStarting awx_redis    ... error\r\n\nERROR: for awx_redis  Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: \"apparmor_parser\": executable file not found in $PATH\n\nERROR: for postgres  Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: \"apparmor_parser\": executable file not found in $PATH\n\nERROR: for redis  Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: \nerror: exec: \"apparmor_parser\": executable file not found in $PATH\nEncountered errors while bringing up the project.", "stderr_lines": ["Starting awx_postgres ... ", "Starting awx_redis    ... ", "Starting awx_postgres ... error", "", "ERROR: for awx_postgres  Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", "error: exec: \"apparmor_parser\": executable file not found in $PATH", "Starting awx_redis    ... error", "", "ERROR: for awx_redis  Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", "error: exec: \"apparmor_parser\": executable file not found in $PATH", "", "ERROR: for postgres  Cannot start service postgres: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", "error: exec: \"apparmor_parser\": executable file not found in $PATH", "", "ERROR: for redis  Cannot start service redis: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output: ", "error: exec: \"apparmor_parser\": executable file not found in $PATH", "Encountered errors while bringing up the project."], "stdout": "", "stdout_lines": []}

PLAY RECAP ********************************************************************************************************
localhost                  : ok=15   changed=3    unreachable=0    failed=1    skipped=73   rescued=0    ignored=2 

vmansible02:/awx_home/awx/installer # docker images

REPOSITORY       TAG       IMAGE ID       CREATED         SIZE

redis            latest    9da089657551   3 weeks ago     117MB

postgres         12        d05bfc9d176b   4 weeks ago     373MB

centos           8         5d0da3dc9764   13 months ago   231MB

ansible/awx      17.1.0    599918776cf2   19 months ago   1.41GB

kanaone/suse15   latest    e20ce6664bfd   2 years ago     558MB

 

vmansible02:/awx_home/awx/installer # docker ps -a

CONTAINER ID   IMAGE                   COMMAND                  CREATED        STATUS      PORTS      NAMES

18098769634e   postgres:12             "docker-entrypoint.s…"   38 hours ago   Created     5432/tcp   awx_postgres

0738b1147a95   redis                   "docker-entrypoint.s…"   38 hours ago   Created     6379/tcp   awx_redis

c252a19cd4d5   kanaone/suse15:latest   "bash"                   2 days ago     Up 2 days              sles15cont


--
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/4ca9b299-129e-4dee-a2cd-2a173ddb8bf6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages