AIX Open Source

Expand all | Collapse all

Installing Ansible AWX on AIX 7.2

  • 1.  Installing Ansible AWX on AIX 7.2

    Posted 27 days ago
    How to install Ansible AWX on AIX 7.2 - Installing Ansible AWX on IBM AIX

    Video with the installation - Installing Ansible AWX on IBM AIX
    YouTube remove preview
    Installing Ansible AWX on IBM AIX
    Installing Ansible AWX (open source version of Ansible Tower) on IBM AIX. Yes, it is possible! Yes, it works! Yes, you can do it too! Link to the installatio...
    View this on YouTube >

    Have fun automating AIX! :-)

    ------------------------------
    Andrey Klyachkin
    ------------------------------


  • 2.  RE: Installing Ansible AWX on AIX 7.2

    Posted 26 days ago
    Edited by C- -T 26 days ago
    i'm merely interessted in the linux ppc64 package, so i looked inside "https://dl.power-devops.com/ansible-awx-14.1.0-1.el7.ppc64le.rpm", but this all looks i little bit clumsy. any chance i can get hold of the source rpm, spec file, build script whatever to redo it locally?

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 3.  RE: Installing Ansible AWX on AIX 7.2

    Posted 25 days ago
    Official source code is available on github - https://github.com/ansible/awx/ I didn't do any changes to AWX code. In the code you can also find installer ansible-playbook, which describes the whole build process. The dependencies are also open and available on github. My code you can find in https://github.com/power-devops/linux_compat

    ------------------------------
    Andrey Klyachkin
    ------------------------------



  • 4.  RE: Installing Ansible AWX on AIX 7.2

    Posted 23 days ago
    those awx zealots will never support rpm packing and they get really bitchy if you even dare to ask about it, because you know docker is REALLY cool. thats why i asked about YOUR rpm building script spec file or source rpm package.

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 5.  RE: Installing Ansible AWX on AIX 7.2

    Posted 14 days ago
    very interesting , good job and thanks for sharing

    ------------------------------
    Bis Matrimony
    Marriage Consultant
    Bis Matrimony
    Ranni
    ------------------------------



  • 6.  RE: Installing Ansible AWX on AIX 7.2

    Posted 14 days ago
    Vry interesting , good job and thanks for sharing

    ------------------------------
    Bis Matrimony
    Marriage Consultant
    Bis Matrimony
    Ranni
    ------------------------------



  • 7.  RE: Installing Ansible AWX on AIX 7.2

    Posted 19 days ago
    Audrey, hi, thank-you for sharing the steps to deploy AWX on AIX 7.2.

    I followed them all and although I had to re-run the install a second time to cleardown some issues I had I now have a successfully installed AWX.  Currently I am hitting a "502 Bad Gateway" error with the following being displayed in the error.log

    2020/09/11 11:52:54 [crit] 12190084#0: *1 connect() to unix:/var/run/tower/uwsgi.sock failed (13: Permission denied) while connecting to upstream, client: 1.2.3.4, server: _, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/var/run/tower/uwsgi.sock:", host: "host-name"​
    The permissions are as follows:

    For /var/run drwxr-xr-x 5 root system 256 Sep 11 11:52 run For /var/run/tower drwxr-xr-x 2 root awx 256 Sep 11 11:31 tower For /var/run/tower/uwsgi.sock -rwxr--r-- 1 root system 0 Sep 10 11:38 uwsgi.sock ​
    I'm running AIX 7200-04-02-2028, it's a PoC LPAR at the moment.

    Do you have any pointers for me as to resolve this "Permission denied" issue?  I've already set uwsgi.sock to 777 but then get the following so clearly that didn't work!

    connect() to unix:/var/run/tower/uwsgi.sock failed (57: Socket operation on non-socket) while connecting to upstream​
    Many thanks, Steve

    ------------------------------
    Pfizer Support
    ------------------------------



  • 8.  RE: Installing Ansible AWX on AIX 7.2

    Posted 18 days ago
    Hi Steve,

    i think the problem is that the group awx can't write into /var/run/tower. Try chmod 0775 /var/run/tower, remove /var/run/tower/uwsgi.sock and restart supervisord.

    ------------------------------
    Andrey Klyachkin
    ------------------------------



  • 9.  RE: Installing Ansible AWX on AIX 7.2

    Posted 16 days ago
    Andrey,

    Hi, good morning.  I ran the chmod and removed the .sock before starting everything however I now get the following:

    2020/09/14 05:02:31 [crit] 6226384#0: *3 connect() to unix:/var/run/tower/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 1.2.3.4, server: _, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/var/run/tower/uwsgi.sock:", host: "<LPAR-name>"​​


    Many thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 10.  RE: Installing Ansible AWX on AIX 7.2

    Posted 16 days ago
    Steve,

    when you start supervisord, it starts uwsgi and uwsgi makes the socket file /var/run/tower/uwsgi.sock:

    # cd /var/run
    # ls -ld tower
    drwxrwxr-x 2 awx awx 256 Sep 14 10:17 tower
    # cd tower
    # ls -l
    total 0
    srw-rw-rw- 1 awx awx 0 Sep 14 10:17 daphne.sock
    lrwxrwxrwx 1 awx awx 8 Sep 14 10:17 daphne.sock.lock -> 17564110
    srw-rw---- 1 awx awx 0 Sep 14 10:17 uwsgi.sock
    # /etc/rc.d/init.d/supervisord stop
    # ps -ef | grep super
    root 17236262 16449826 0 10:18:53 pts/2 0:00 grep super
    # set -o vi
    # ps -ef | grep uwsgi
    # ls -l uwsgi.sock
    uwsgi.sock not found
    # pwd
    /var/run/tower
    # /etc/rc.d/init.d/supervisord start
    # ls -l
    total 0
    srw-rw---- 1 awx awx 0 Sep 14 10:19 uwsgi.sock
    #

    Do you have some strange umask?

    ------------------------------
    Andrey Klyachkin
    ------------------------------



  • 11.  RE: Installing Ansible AWX on AIX 7.2

    Posted 16 days ago
    Andrey,

    Thanks for the guidance.  As you can see from the below "supervisord stop" failed to find the process yet when I "started" it it said it was already running!

    <LPAR-name>:/var/run/tower# /etc/rc.d/init.d/supervisord stop kill: 16384330: 0403-003 The specified process does not exist. <LPAR-name>:/var/run/tower# ps -ef | grep uwsgi root 11010514 10486044 0 07:10:22 pts/0 0:00 grep uwsgi <LPAR-name>:/var/run/tower# ls -l uwsgi.sock ls: 0653-341 The file uwsgi.sock does not exist. <LPAR-name>:/var/run/tower# /etc/rc.d/init.d/supervisord start Supervisord is already started <LPAR-name>:/var/run/tower# ls -l total 0 ​


    I'm wondering whether it's worth me removing Postrgesql which will also remove awx and start over having ensured /var/run/tower and awx no-llonger exists.

    Thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 12.  RE: Installing Ansible AWX on AIX 7.2

    Posted 16 days ago
    ** Update **
    1) Checked umask, it defaults to 022 and the awx stanza only has admin = false
    2) Removed Postgresql & ansible-awx and re-installed ainsible-awx.
    3) Now getting

    2020/09/14 09:23:12 [alert] 7667992#0: unlink() "/var/run/nginx.pid" failed (2: No such file or directory)​


    4) Should I erase and re-install nginx?

    Thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 13.  RE: Installing Ansible AWX on AIX 7.2

    Posted 16 days ago
    It's interesting. nginx is a "standard" AIX package from AIX Toolbox for Linux Applications. If you get such a message, it looks for me very suspicious. I suppose, you have some other problem on the server. Can you post output of ls -ld /var/run? Anyway you can reinstall nginx if you want. Just make backup of nginx config files installed with AWX before reinstalling nginx.

    ------------------------------
    Andrey Klyachkin
    ------------------------------



  • 14.  RE: Installing Ansible AWX on AIX 7.2

    Posted 15 days ago
    Andrey,

    Hi, here's the output from the command.

    # ls -ld /var/run drwxr-xr-x 5 root system 256 Sep 14 09:57 /var/run​


    As for the LPAR, it's a freshly installed 7200-04-02-2028 currently without further patches though.  wget, yum, ainsible were all installed ahead of ansible-awx.



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 15.  RE: Installing Ansible AWX on AIX 7.2

    Posted 15 days ago
    Andrey,

    Checking the supervisor log I see the following (from a few days ago I admit) so pass it on "just in case".

    2020-09-09 06:39:12,980 INFO success: awx-uwsgi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2020-09-09 06:39:15,836 INFO exited: awx-uwsgi (exit status 1; not expected) 2020-09-09 06:39:17,806 INFO spawnerr: unknown error during fork for 'awx-uwsgi': ENOMEM 2020-09-09 06:39:19,443 INFO spawnerr: unknown error during fork for 'awx-uwsgi': ENOMEM 2020-09-09 06:39:19,624 INFO exited: awx-rsyslogd (terminated by SIGKILL; not expected) 2020-09-09 06:39:20,688 INFO spawnerr: unknown error during fork for 'awx-rsyslogd': ENOMEM 2020-09-09 06:39:21,924 INFO spawnerr: unknown error during fork for 'awx-uwsgi': ENOMEM 2020-09-09 06:39:22,343 INFO spawnerr: unknown error during fork for 'awx-rsyslogd': ENOMEM 2020-09-09 06:39:24,899 INFO spawnerr: unknown error during fork for 'awx-rsyslogd': ENOMEM 2020-09-09 06:39:25,835 INFO spawnerr: unknown error during fork for 'awx-uwsgi': ENOMEM 2020-09-09 06:39:25,918 INFO gave up: awx-uwsgi entered FATAL state, too many start retries too quickly 2020-09-09 06:39:28,309 INFO spawnerr: unknown error during fork for 'awx-rsyslogd': ENOMEM 2020-09-09 06:39:28,310 INFO gave up: awx-rsyslogd entered FATAL state, too many start retries too quickly 2020-09-09 06:39:32,229 INFO exited: awx-config-watcher (terminated by SIGKILL; not expected) 2020-09-09 06:39:32,809 INFO spawnerr: unknown error during fork for 'awx-config-watcher': ENOMEM # lparstat System configuration: type=Shared mode=Uncapped smt=8 lcpu=16 mem=6144MB psize=4 ent=0.20 %user %sys %wait %idle physc %entc lbusy vcsw phint %nsp ----- ----- ------ ------ ----- ----- ------ ----- ----- ----- 0.1 0.0 0.0 99.9 0.00 0.2 1.4 22434257 0 74​


    The nginx.pid has "appeared" (didn't re-install nginx) however I'm back to the old error.

    2020/09/15 06:17:44 [crit] 6750522#0: *1 connect() to unix:/var/run/tower/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 1.2.3.4, server: _, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/var/run/tower/uwsgi.sock:", host: "<LPAR-name>" 2020/09/15 06:17:44 [error] 6750522#0: *1 open() "/var/lib/awx/venv/awx/lib/python3.7/site-packages/awx/ui/static/favicon.ico" failed (2: No such file or directory), client: 1.2.3.4, server: _, request: "GET /favicon.ico HTTP/1.1", host: "<LPAR-name>" # # ls -la /var/run/tower/ total 0 drwxrwxr-x 2 root awx 256 Sep 02 16:07 . drwxr-xr-x 5 root system 256 Sep 14 09:57 ..


    Also, when I start supervisord and it says "already started" I see nothing in ps -ef so where is it hiding?

    Thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 16.  RE: Installing Ansible AWX on AIX 7.2

    Posted 15 days ago
    ENOMEM means not enough memory. Either you don't have enough memory in your LPAR or the awx user has some limitations.
    In the first case you could see something like PGSP_KILL in errpt output.
    In the second case check the attributes data,stack,rss of the awx users (lsuser -a data stack rss awx). Try to set them higher, even may be -1. In my environment they are quite low though - data=262144 stack=65536 rss=65536.

    If supervisord starts it must be visible with ps -ef. I would suggest you first make sure, it is not running, then remove its logs (rm -f /var/log/supervisor/*) and its pid file (rm -f /opt/freeware/var/run/supervisor/supervisord.pid), then start it again (/etc/rc.d/init.d/supervisord start). After that you should be able to see supervisord running (ps -ef | grep supervisor) and to control it with supervisorctl (/opt/freeware/bin/supervisorctl status).

    If it is not running after that, you can check the logs (/var/log/supervisor/supervisord.log). The file should be relative small.

    ------------------------------
    Andrey Klyachkin
    ------------------------------



  • 17.  RE: Installing Ansible AWX on AIX 7.2

    Posted 15 days ago
    Andrey,

    Hi, that certainly got supervisord started however I then ran of of Paging Space (set at 16GB) so had to re-boot.  After that supervisord wasn't running (by default) so I manually started it and whilst the tatus is RUNNING I see "STARTING" (only) for awx-uwsgi.

    /# ps -ef | grep -i superv /# lsuser -a data stack rss awx awx data=262144 stack=65536 rss=65536 /# rm -f /opt/freeware/var/run/supervisor/supervisord.pid /# rm -f /var/log/supervisor/* /# /etc/rc.d/init.d/supervisord start Unlinking stale socket /opt/freeware/var/run/supervisor/supervisor.sock /# ps -ef | grep supervisor root 12583322 1 9 11:06:58 - 0:00 /opt/freeware/bin/python3_64 /opt/freeware/bin/supervisord -c /opt/freeware/etc/supervisord.conf root 13566370 8192274 0 11:07:09 vty0 0:00 grep supervisor /# /opt/freeware/bin/supervisorctl status awx-config-watcher RUNNING pid 6226380, uptime 0:00:26 tower-processes:awx-callback-receiver RUNNING pid 10617218, uptime 0:00:26 tower-processes:awx-daphne RUNNING pid 12321164, uptime 0:00:26 tower-processes:awx-dispatcher RUNNING pid 11272580, uptime 0:00:26 tower-processes:awx-rsyslogd RUNNING pid 12386704, uptime 0:00:26 tower-processes:awx-uwsgi STARTING tower-processes:awx-wsbroadcast RUNNING pid 12255650, uptime 0:00:26 /# lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0 rootvg 16384MB 1 yes yes lv 0 /# cd /var/run /# /# cd /var/run /var/run# ls -ld tower drwxrwxr-x 2 root awx 256 Sep 15 11:08 tower /var/run# cd tower /var/run/tower# ls -l total 0 /var/run/tower# /etc/rc.d/init.d/supervisord stop /var/run/tower# ps -ef | grep super root 12583322 1 1 11:06:58 - 0:00 /opt/freeware/bin/python3_64 /opt/freeware/bin/supervisord -c /opt/freeware/etc/supervisord.conf root 28115306 8192274 0 11:09:01 vty0 0:00 grep super /var/run/tower# ps -ef | grep uwsgi awx 8126812 1 0 11:07:00 - 0:01 /var/lib/awx/venv/awx/bin/uwsgi -s /var/run/tower/uwsgi.sock -w awx.wsgi --vacuum -p 5 -t 120 -R 1000 -M --no-orphans --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 --stats /var/lib/awx/uwsgi.stats --chmod-socket=660 --uid awx --gid awx awx 9699684 1 0 11:07:01 - 0:01 /var/lib/awx/venv/awx/bin/uwsgi -s /var/run/tower/uwsgi.sock -w awx.wsgi --vacuum -p 5 -t 120 -R 1000 -M --no-orphans --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 --stats /var/lib/awx/uwsgi.stats --chmod-socket=660 --uid awx --gid awx ​
    I then see Paging Space being eaten up!!

    awx 27918680 1 0 11:08:41 - 0:01 /var/lib/awx/venv/awx/bin/uwsgi -s /var/run/tower/uwsgi.sock -w awx.wsgi --vacuum -p 5 -t 120 -R 1000 -M --no-orphans --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 --stats /var/lib/awx/uwsgi.stats --chmod-socket=660 --uid awx --gid awx awx 27984218 1 0 11:08:41 - 0:01 /var/lib/awx/venv/awx/bin/uwsgi -s /var/run/tower/uwsgi.sock -w awx.wsgi --vacuum -p 5 -t 120 -R 1000 -M --no-orphans --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 --stats /var/lib/awx/uwsgi.stats --chmod-socket=660 --uid awx --gid awx awx 28049756 1 0 11:08:41 - 0:01 /var/lib/awx/venv/awx/bin/uwsgi -s /var/run/tower/uwsgi.sock -w awx.wsgi --vacuum -p 5 -t 120 -R 1000 -M --no-orphans --master-fifo=/var/lib/awx/awxfifo --lazy-apps -b 32768 --stats /var/lib/awx/uwsgi.stats --chmod-socket=660 --uid awx --gid awx root 28246384 8192274 1 11:10:05 vty0 0:00 grep uwsgi /var/run/tower# lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0 rootvg 16384MB 74 yes yes lv 0 /var/run/tower# lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0 rootvg 16384MB 77 yes yes lv 0 ​/var/run/tower# lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0 rootvg 16384MB 86 yes yes lv 0


    Any ideas why Paging Space is being eaten up so much?

    Thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 18.  RE: Installing Ansible AWX on AIX 7.2

    Posted 15 days ago
    Andrey,

    Hi, here's the latest which occured after the LPAR re-started due to Paging Space filling up.  Upon restart supervisord wasn't running, see excerpt below.

    /# lsuser -a data stack rss awx awx data=262144 stack=65536 rss=65536 /# /etc/rc.d/init.d/supervisord start Supervisord is already started /# rm -f /var/log/supervisor/* /# rm -f /opt/freeware/var/run/supervisor/supervisord.pid /# /etc/rc.d/init.d/supervisord start Unlinking stale socket /opt/freeware/var/run/supervisor/supervisor.sock /# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 11:04:26 - 0:00 /etc/init root 2425272 1 0 11:04:45 - 0:01 /usr/sbin/syncd 60 root 3146112 1 0 11:04:33 - 0:00 /usr/ccs/bin/shlap64 root 3604954 1 0 11:04:45 - 0:00 /usr/lib/errdemon root 4915536 1 0 11:04:48 - 0:00 /usr/sbin/srcmstr root 5570990 4915536 0 11:04:53 - 0:00 /usr/sbin/portmap root 5767604 4915536 0 11:04:53 - 0:00 /usr/sbin/inetd root 5833146 4915536 0 11:04:53 - 0:00 /usr/sbin/aixmibd root 5898700 4915536 0 11:04:57 - 0:00 /usr/sbin/clcomd -d root 6095294 4915536 0 11:04:53 - 0:00 /usr/sbin/snmpd root 6160832 4915536 0 11:04:53 - 0:00 /usr/sbin/netcd root 7668066 4915536 0 11:05:10 - 0:00 /opt/rsct/bin/IBM.HostRMd root 9896256 4915536 0 11:05:08 - 0:00 /opt/rsct/bin/rmcd -a IBM root 9961838 1 0 11:58:34 - 0:00 /usr/sbin/uprintfd root 10420596 4915536 0 11:05:11 - 0:00 /opt/rsct/bin/IBM.MgmtDom root 10551634 1 1 11:58:34 vty0 0:00 -ksh awx 10617232 28967290 3 13:49:32 - 0:00 /var/lib/awx/venv/awx/bin root 10682758 1 0 11:58:34 - 0:00 /usr/sbin/cron root 10944854 4915536 0 11:05:11 - 0:00 /opt/rsct/bin/IBM.Service root 11207008 4915536 0 11:05:11 - 0:00 /opt/rsct/bin/IBM.ConfigR root 11993474 4915536 0 11:05:12 - 0:00 /opt/rsct/bin/IBM.DRMd root 28443028 10551634 3 13:49:32 vty0 0:00 ps -ef - 28705154 - - - <idle> awx 28967290 33095938 44 13:49:31 - 0:00 /var/lib/awx/venv/awx/bin awx 29098366 1 120 13:49:30 - 0:00 /var/lib/awx/venv/awx/bin awx 29426056 1 119 13:49:30 - 0:00 /var/lib/awx/venv/awx/bin awx 29688208 1 120 13:49:30 - 0:00 /var/lib/awx/venv/awx/bin awx 30409126 1 120 13:49:30 - 0:00 /var/lib/awx/venv/awx/bin awx 30540202 1 120 13:49:30 - 0:00 /var/lib/awx/venv/awx/bin awx 30605744 28967290 14 13:49:32 - 0:00 /var/lib/awx/venv/awx/bin awx 30736816 1 102 13:49:29 - 0:00 /var/lib/awx/venv/awx/bin awx 30867892 1 120 13:49:29 - 0:00 /var/lib/awx/venv/awx/bin awx 30998968 1 120 13:49:29 - 0:00 /var/lib/awx/venv/awx/bin awx 31130044 1 93 13:49:29 - 0:00 /var/lib/awx/venv/awx/bin awx 31326658 1 120 13:49:29 - 0:00 /var/lib/awx/venv/awx/bin awx 31523272 1 97 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 31719886 1 112 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 31916500 1 102 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin root 31981844 9896256 0 12:01:29 - 0:00 [trspoolm] awx 32113114 1 90 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 32178652 1 103 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 32244190 33095938 103 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 32309730 33095938 92 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 32637420 33095938 0 13:49:27 - 0:00 rsyslogd -n -i /var/run/a awx 32702958 33095938 120 13:49:27 - 0:00 /var/lib/awx/venv/awx/bin awx 32899572 33095938 104 13:49:26 - 0:00 /var/lib/awx/venv/awx/bin root 33095938 1 7 13:49:25 - 0:00 /opt/freeware/bin/python3 root 33358108 33095938 3 13:49:26 - 0:00 python3 /usr/bin/config-w /# lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0 rootvg 16384MB 41 yes yes lv 0​


    As you can seet (almost) immediately the %age Paging Space is at 41% so something is very wrong.  Should there be all these /var/lib/awx/venv/awx/bin processes running I wonder?

    Thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 19.  RE: Installing Ansible AWX on AIX 7.2

    Posted 14 days ago
      |   view attached
    Andrey,

    Hi, good morning.

    With the LPAR re-booted I then started supervisord (which was successful) I then checked ps -ef and saw loads of uwsgi processes running.  At this point the Paging Space started to rise and rise.  I then stopped supervisord (which was successful) however the uwsgi processes still existed and the Paging Space continued to rise until it maxed out so I had to re-boot the LPAR where I still saw loads of /var/lib/awx/venc/awx/bin processes running but no supervisord "and" Paging Space rose again.

    I re-booted yet again and captured some more logs and .ini file contents for your review in case something "jumps out" (see attached).

    Many thanks, Steve




    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------

    Attachment(s)



  • 20.  RE: Installing Ansible AWX on AIX 7.2

    Posted 14 days ago
    Checkingawx-uwsgi.log​
    I see (at the top) the following

    spawned uWSGI master process (pid: 10617190) spawned uWSGI worker 1 (pid: 10092860, cores: 1) spawned uWSGI worker 2 (pid: 10223948, cores: 1) spawned uWSGI worker 3 (pid: 10682712, cores: 1) spawned uWSGI worker 4 (pid: 10748240, cores: 1) spawned uWSGI worker 5 (pid: 10944852, cores: 1) malloc(): Not enough space [core/utils.c line 1799] !!! tried memory allocation of 18446744073709551608 bytes !!! VACUUM: unix socket /var/run/tower/uwsgi.sock removed. unlink(): No such file or directory [core/uwsgi.c line 1673] ​


    Could it be this malloc() which is throwing things off?

    Thanks, Steve



    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------



  • 21.  RE: Installing Ansible AWX on AIX 7.2

    Posted 14 days ago
    I'll create an environment with AIX 7.2 TL4 SP2 and try to install AWX into it. I didn't see such problem and couldn't repeat it. How much memory do you in the LPAR?

    ------------------------------
    Andrey Klyachkin
    ------------------------------



  • 22.  RE: Installing Ansible AWX on AIX 7.2

    Posted 14 days ago
    Andrey,

    I allocated 6GB to the LPAR, along with 0.2 PU and 2 VP.

    Thanks, Steve

    ------------------------------
    Steve Munday
    AIX, IBM i, PowerVM
    ------------------------------