AWX Docker install on Centos 7 fails with Failed to set locale, defaulting to C.UTF-8 ,

Hi

I was looking at AWX earlier in the year but had to temporarily drop it to work on something else and am now able to pick it up again.

I have my old AWX install (9.3.0) still working ok.

I decided to do a fresh install with a newer version as there have been a number of releases since and the old installation and want a fresh install.

I’ve followed the same installation method I used for my old version and have attempted to install several newer versions: 11.2.0, 13.0.0 & 15.0.0 but run into the same error that occurs on the TASK [image_build : Build base awx image] stage.

The error is below:

fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Error building awx - code: 1, message: The command ‘/bin/sh -c dnf -y update && dnf -y install epel-release ‘dnf-command(config-manager)’ && dnf module -y enable ‘postgresql:10’ && dnf config-manager --set-enabled PowerTools && dnf -y install ansible gcc gcc-c++ git-core glibc-langpack-en libcurl-devel libffi-devel libtool-ltdl-devel make nodejs nss openldap-devel patch @postgresql:10 postgresql-devel python3-devel python3-pip python3-psycopg2 python3-setuptools swig unzip xmlsec1-devel xmlsec1-openssl-devel’ returned a non-zero code: 1, logs: [‘Step 1/50 : ARG VENV_BASE="/var/lib/awx/venv"’, ‘\n’, ‘Step 2/50 : ARG COLLECTION_BASE="/var/lib/awx/vendor/awx_ansible_collections"’, ‘\n’, ‘Step 3/50 : FROM centos:8 as builder’, ‘\n’, ’ —> 300e315adb2f\n’, ‘Step 4/50 : ARG VENV_BASE’, ‘\n’, ’ —> Using cache\n’, ’ —> 169aeef5c18c\n’, ‘Step 5/50 : ARG COLLECTION_BASE’, ‘\n’, ’ —> Using cache\n’, ’ —> 1b07b7442efb\n’, ‘Step 6/50 : ENV LANG en_US.UTF-8’, ‘\n’, ’ —> Using cache\n’, ’ —> 0a7c29b61bef\n’, ‘Step 7/50 : ENV LANGUAGE en_US:en’, ‘\n’, ’ —> Using cache\n’, ’ —> cc35e6a13504\n’, ‘Step 8/50 : ENV LC_ALL en_US.UTF-8’, ‘\n’, ’ —> Using cache\n’, ’ —> 0bc8d2ffbe2e\n’, ‘Step 9/50 : USER root’, ‘\n’, ’ —> Using cache\n’, ’ —> 96f4d16c43ce\n’, "Step 10/50 : RUN dnf -y update && dnf -y install epel-release ‘dnf-command(config-manager)’ && dnf module -y enable ‘postgresql:10’ && dnf config-manager --set-enabled PowerTools && dnf -y install ansible gcc gcc-c++ git-core glibc-langpack-en libcurl-devel libffi-devel libtool-ltdl-devel make nodejs nss openldap-devel patch @postgresql:10 postgresql-devel python3-devel python3-pip python3-psycopg2 python3-setuptools swig unzip xmlsec1-devel xmlsec1-openssl-devel", ‘\n’, ’ —> Running in f64ef2decc40\n’, ‘\x1b[91m/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\n\x1b[0m’, ‘CentOS Linux 8 - AppStream 13 MB/s | 6.3 MB 00:00 \n’, ‘CentOS Linux 8 - BaseOS 12 MB/s | 2.3 MB 00:00 \n’, ‘CentOS Linux 8 - Extras 28 kB/s | 8.6 kB 00:00 \n’, ‘Dependencies resolved.\n’, ‘Nothing to do.\n’, ‘Complete!\n’, ‘\x1b[91mFailed to set locale, defaulting to C.UTF-8\n\x1b[0m’, ‘Last metadata expiration check: 0:00:02 ago on Tue Jan 5 16:11:32 2021.\n’, ‘Dependencies resolved.\n’, ‘================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n dnf-plugins-core noarch 4.0.17-5.el8 baseos 66 k\n epel-release noarch 8-8.el8 extras 23 k\nInstalling dependencies:\n python3-dateutil noarch 1:2.6.1-6.el8 baseos 251 k\n python3-dnf-plugins-core noarch 4.0.17-5.el8 baseos 221 k\n python3-six noarch 1.11.0-8.el8 baseos 38 k\n\nTransaction Summary\n================================================================================\nInstall 5 Packages\n\n’, ‘Total download size: 599 k\n’, ‘Installed size: 1.4 M\n’, ‘Downloading Packages:\n’, ‘(1/5): dnf-plugins-core-4.0.17-5.el8.noarch.rpm 1.7 MB/s | 66 kB 00:00 \n’, ‘(2/5): python3-six-1.11.0-8.el8.noarch.rpm 7.2 MB/s | 38 kB 00:00 \n’, ‘(3/5): python3-dateutil-2.6.1-6.el8.noarch.rpm 5.3 MB/s | 251 kB 00:00 \n’, ‘(4/5): python3-dnf-plugins-core-4.0.17-5.el8.no 4.6 MB/s | 221 kB 00:00 \n’, ‘(5/5): epel-release-8-8.el8.noarch.rpm 656 kB/s | 23 kB 00:00 \n’, ‘--------------------------------------------------------------------------------\n’, ‘Total 808 kB/s | 599 kB 00:00 \n’, ‘\x1b[91mwarning: /var/cache/dnf/baseos-f6a80ba95cf937f2/packages/dnf-plugins-core-4.0.17-5.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY\n\x1b[0m’, ‘CentOS Linux 8 - BaseOS 1.6 MB/s | 1.6 kB 00:00 \n’, ‘\x1b[91mFailed to set locale, defaulting to C.UTF-8\nImporting GPG key 0x8483C65D:\n Userid : "CentOS (CentOS Official Signing Key) security@centos.org"\n Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D\n From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial\n\x1b[0m’, ‘Key imported successfully\n’, ‘Running transaction check\n’, ‘Transaction check succeeded.\nRunning transaction test\n’, ‘Transaction test succeeded.\n’, ‘Running transaction\n’, ’ Preparing : 1/1’, ’ \n Installing : python3-six-1.11.0-8.el8.noarch 1/5’, ’ \n Installing : python3-dateutil-1:2.6.1-6.el8.noarch 2/5’, ’ \n Installing : python3-dnf-plugins-core-4.0.17-5.el8.noarch 3/5’, ’ \n Installing : dnf-plugins-core-4.0.17-5.el8.noarch 4/5’, ’ \n Installing : epel-release-8-8.el8.noarch 5/5’, ’ \n Running scriptlet: epel-release-8-8.el8.noarch 5/5’, ’ \n Verifying : dnf-plugins-core-4.0.17-5.el8.noarch 1/5’, ’ \n Verifying : python3-dateutil-1:2.6.1-6.el8.noarch 2/5 \n Verifying : python3-dnf-plugins-core-4.0.17-5.el8.noarch 3/5’, ’ \n Verifying : python3-six-1.11.0-8.el8.noarch 4/5 \n Verifying : epel-release-8-8.el8.noarch 5/5’, ’ \n\nInstalled:\n dnf-plugins-core-4.0.17-5.el8.noarch \n epel-release-8-8.el8.noarch \n python3-dateutil-1:2.6.1-6.el8.noarch \n python3-dnf-plugins-core-4.0.17-5.el8.noarch \n python3-six-1.11.0-8.el8.noarch \n\n’, ‘Complete!\n’, ‘Extra Packages for Enterprise Linux Modular 8 - 676 kB/s | 527 kB 00:00 \n’, ‘Extra Packages for Enterprise Linux 8 - x86_64 11 MB/s | 8.7 MB 00:00 \n’, ‘Dependencies resolved.\n’, ‘================================================================================\n Package Architecture Version Repository Size\n================================================================================\nEnabling module streams:\n postgresql 10 \n\nTransaction Summary\n================================================================================\n\n’, ‘Complete!\n’, ‘\x1b[91mFailed to set locale, defaulting to C.UTF-8\n\x1b[0m’, ‘\x1b[91mFailed to set locale, defaulting to C.UTF-8\nError: No matching repo to modify: PowerTools.\n\x1b[0m’, ‘Removing intermediate container f64ef2decc40\n’]”}

As already stated, I’m following the same installation method that has worked for several installs using older AWX versions and below are the dependency packages that I have installed:

Install epel repo and then install jq

yum install -y epel-release -y && yum install -y jq

Install docker-ce related packages and dependencies for the rest of the install process

yum -y install git gcc gcc-c++ nodejs gettext device-mapper-persistent-data lvm2 bzip2 python-pip python3-wheel sshpass

Enable docker-ce repo, install docker engine, enable and start the service

yum-config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

yum -y install docker-ce

systemctl enable --now docker.service

Install AWX dependencies for python3 Docker-Compose installation

yum install -y python-docker

yum install -y python3-pip

yum install -y python3-devel

pip3 install --upgrade pip

pip3 install ansible

Install Docker python module via pip - required for AWX installation

pip install docker-py

Install Docker-Compose

pip3 install docker-compose

The PostgreSQL DB is local to the AWX install.

The only differences in the environments are miner and are below:

The old AWX 9.3.0 environment:

  • Centos 7.7.1908

  • Docker-Compose = 1.25.4, build unknown

  • Pip3 = 20.0.2 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)

  • Python = 3.6.8 (default, Aug 7 2019, 17:28:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

  • Ansible = 2.9.6

The new environment used for AWX 11.2.0, 13.0.0, 15.0.0

  • Centos 7.9.2009

  • Docker-Compose = 1.27.4, build unknown

  • Pip3 = 20.3.3 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)

  • Python = Python 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]

  • Ansible = 2.10.4

The configuration of both CentOS operating systems is the same apart from the version difference, yum if auto updating the OS version on the new server as part of the scripted deployment process.

AWX states it is supported on CentOS 7.7 and later so I would except 7.9 to be ok.

I’ve tried disabling the local CentOS firewall with no success but if it was a firewall issue, I’d expect there to be issues with the other package downloads.

Looking at the error message it seems to be a problem within the Docker environment but as it removes all the containers upon failing there are no logs for this.

I also tried installing version 9.3.0 on new host but ran into a different issue where a package download URL has changed and the 9.3.0 build still references the old one so it fails on this - hence I cannot test with the old AWX version.

https://centos7.iuscommunity.org as referenced by the installer is now https://ius.io/.

This issue does not occur on the newer versions of AWX I am trying to install.

I’ve spent some time searching for an answer to this issue but have been unable to find one, so any help is appreciated.

Thanks

Note that this happens when changing the AWX inventory file to create a local image:
#dockerhub_base=ansible

If I leave the inventory file as default AWX installs ok.
If I change just this in the inventory file - comment out the line so it builds a local image - then it fails with the previous error.

Is this possibly to do with the issue in this thread where the repo name was changed from PowerTools to powertools?
https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8

I know this is for yum and the AWX CentOS 8 container is using dnf but the error does reference the repo as PowerTools where the above thread says that this stopped working on 09/12/2020 and know only (lower case) powertools works when referencing the repo.

Unfortunately I don’t have a CentOS 8 machine at the moment to check this.

To get a Centos 8 system I installed AWX vanilla, not a local build so it uses the default image.
This successfully installs the AWX Centon 8 AWX containers.

I logged into the awx_web container and re-ran the package install commands from the error message in the initial e-mail:

dnf -y update && dnf -y install epel-release ‘dnf-command(config-manager)’ && dnf module -y enable ‘postgresql:10’ && dnf config-manager --set-enabled PowerTools && dnf -y install ansible gcc gcc-c++ git-core glibc-langpack-en libcurl-devel libffi-devel libtool-ltdl-devel make nodejs nss openldap-devel patch @postgresql:10 postgresql-devel python3-devel python3-pip python3-psycopg2 python3-setuptools swig unzip xmlsec1-devel xmlsec1-openssl-devel

This successfully installed the packages with the following PowerTools warnings as referenced in the error:

Complete!
CentOS Linux 8 - AppStream 15 MB/s | 6.3 MB 00:00
CentOS Linux 8 - BaseOS 22 MB/s | 2.3 MB 00:00
Package epel-release-8-10.el8.noarch is already installed.
Package dnf-plugins-core-4.0.17-5.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:00:02 ago on Wed 06 Jan 2021 07:49:09 AM UTC.
Dependencies resolved.
Nothing to do.
Complete!
Error: No matching repo to modify: PowerTools.

Checking the locale of the container it is en_US.UTF-8 so this has worked where as in the error message it looks like there was an issue with this as it states:

Failed to set locale, defaulting to C.UTF-8

So maybe setting the language is the issue and not PowerTools?

So running the package installation commands in the container looks to have worked where as via the AWX install script it hasn’t?

I’m really not sure why this isn’t working.

For info below is the output of the the packages upgraded and installed in the container by the package install command run:

Upgraded:
ansible-2.9.16-1.el8.noarch apr-1.6.3-11.el8.x86_64 bash-4.4.19-12.el8.x86_64
bind-export-libs-32:9.11.20-5.el8.x86_64 binutils-2.30-79.el8.x86_64 ca-certificates-2020.2.41-80.0.el8_2.noarch
centos-gpg-keys-1:8-2.el8.noarch chkconfig-1.13-2.el8.x86_64 coreutils-single-8.30-8.el8.x86_64
crypto-policies-20200713-1.git51d1222.el8.noarch cryptsetup-libs-2.3.3-2.el8.x86_64 curl-7.61.1-14.el8.x86_64
cyrus-sasl-lib-2.1.27-5.el8.x86_64 dbus-1:1.12.8-11.el8.x86_64 dbus-common-1:1.12.8-11.el8.noarch
dbus-daemon-1:1.12.8-11.el8.x86_64 dbus-libs-1:1.12.8-11.el8.x86_64 dbus-tools-1:1.12.8-11.el8.x86_64
device-mapper-8:1.02.171-5.el8.x86_64 device-mapper-libs-8:1.02.171-5.el8.x86_64 dhcp-client-12:4.3.6-41.el8.x86_64
dhcp-common-12:4.3.6-41.el8.noarch dhcp-libs-12:4.3.6-41.el8.x86_64 dnf-4.2.23-4.el8.noarch
dnf-data-4.2.23-4.el8.noarch dnf-plugins-core-4.0.17-5.el8.noarch dracut-049-95.git20200804.el8.x86_64
dracut-network-049-95.git20200804.el8.x86_64 dracut-squash-049-95.git20200804.el8.x86_64 elfutils-default-yama-scope-0.180-1.el8.noarch
elfutils-libelf-0.180-1.el8.x86_64 elfutils-libs-0.180-1.el8.x86_64 epel-release-8-10.el8.noarch
expat-2.2.5-4.el8.x86_64 file-libs-5.33-16.el8.x86_64 filesystem-3.8-3.el8.x86_64
freetype-2.9.1-4.el8_3.1.x86_64 gd-2.2.5-7.el8.x86_64 git-core-2.27.0-1.el8.x86_64
glibc-2.28-127.el8.x86_64 glibc-common-2.28-127.el8.x86_64 glibc-langpack-en-2.28-127.el8.x86_64
glibc-minimal-langpack-2.28-127.el8.x86_64 gnupg2-2.2.20-2.el8.x86_64 gnutls-3.6.14-6.el8.x86_64
gpgme-1.13.1-3.el8.x86_64 iproute-5.3.0-5.el8.x86_64 iptables-libs-1.8.4-15.el8.x86_64
kexec-tools-2.0.20-34.el8.x86_64 krb5-libs-1.18.2-5.el8.x86_64 krb5-workstation-1.18.2-5.el8.x86_64
libXau-1.0.9-3.el8.x86_64 libarchive-3.3.2-9.el8.x86_64 libblkid-2.32.1-24.el8.x86_64
libcap-2.26-4.el8.x86_64 libcom_err-1.45.6-1.el8.x86_64 libcurl-minimal-7.61.1-14.el8.x86_64
libdb-5.3.28-39.el8.x86_64 libdb-utils-5.3.28-39.el8.x86_64 libdnf-0.48.0-5.el8.x86_64
libfdisk-2.32.1-24.el8.x86_64 libffi-3.1-22.el8.x86_64 libgcc-8.3.1-5.1.el8.x86_64
libgcrypt-1.8.5-4.el8.x86_64 libkadm5-1.18.2-5.el8.x86_64 libkcapi-1.2.0-2.el8.x86_64
libkcapi-hmaccalc-1.2.0-2.el8.x86_64 libmodulemd1-1.8.16-0.2.9.4.2.x86_64 libmount-2.32.1-24.el8.x86_64
libpcap-14:1.9.1-4.el8.x86_64 libpq-12.4-1.el8_2.x86_64 librepo-1.12.0-2.el8.x86_64
libreport-filesystem-2.9.5-15.el8.x86_64 libseccomp-2.4.3-1.el8.x86_64 libselinux-2.9-4.el8_3.x86_64
libsemanage-2.9-3.el8.x86_64 libserf-1.3.9-8.module_el8.3.0+553+567d7cb2.x86_64 libsmartcols-2.32.1-24.el8.x86_64
libsolv-0.7.11-1.el8.x86_64 libss-1.45.6-1.el8.x86_64 libstdc+±8.3.1-5.1.el8.x86_64
libtiff-4.0.9-18.el8.x86_64 libusbx-1.0.23-4.el8.x86_64 libuuid-2.32.1-24.el8.x86_64
libxml2-2.9.7-8.el8.x86_64 libxslt-1.1.32-5.el8.x86_64 libzstd-1.4.4-1.el8.x86_64
lz4-libs-1.8.3-2.el8.x86_64 nettle-3.4.1-2.el8.x86_64 openldap-2.4.46-15.el8.x86_64
openssh-8.0p1-5.el8.x86_64 openssh-clients-8.0p1-5.el8.x86_64 openssl-1:1.1.1g-11.el8.x86_64
openssl-libs-1:1.1.1g-11.el8.x86_64 pam-1.3.1-11.el8.x86_64 pcre2-10.32-2.el8.x86_64
platform-python-3.6.8-31.el8.x86_64 platform-python-devel-3.6.8-31.el8.x86_64 platform-python-pip-9.0.3-18.el8.noarch
platform-python-setuptools-39.2.0-6.el8.noarch postgresql-10.14-1.module_el8.2.0+487+53cc39ce.x86_64 postgresql-server-10.14-1.module_el8.2.0+487+53cc39ce.x86_64
procps-ng-3.3.15-3.el8.x86_64 python-rpm-macros-3-39.el8.noarch python-srpm-macros-3-39.el8.noarch
python2-2.7.17-2.module_el8.3.0+478+7570e00c.x86_64 python2-libs-2.7.17-2.module_el8.3.0+478+7570e00c.x86_64 python2-pip-9.0.3-18.module_el8.3.0+478+7570e00c.noarch
python2-pip-wheel-9.0.3-18.module_el8.3.0+478+7570e00c.noarch python2-setuptools-39.0.1-12.module_el8.3.0+478+7570e00c.noarch python2-setuptools-wheel-39.0.1-12.module_el8.3.0+478+7570e00c.noarch
python3-dnf-4.2.23-4.el8.noarch python3-dnf-plugins-core-4.0.17-5.el8.noarch python3-gpg-1.13.1-3.el8.x86_64
python3-hawkey-0.48.0-5.el8.x86_64 python3-libdnf-0.48.0-5.el8.x86_64 python3-libs-3.6.8-31.el8.x86_64
python3-libselinux-2.9-4.el8_3.x86_64 python3-pip-9.0.3-18.el8.noarch python3-pip-wheel-9.0.3-18.el8.noarch
python3-rpm-4.14.3-4.el8.x86_64 python3-rpm-macros-3-39.el8.noarch python3-setuptools-39.2.0-6.el8.noarch
python3-setuptools-wheel-39.2.0-6.el8.noarch python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64 python36-devel-3.6.8-2.module_el8.3.0+562+e162826a.x86_64
rpm-4.14.3-4.el8.x86_64 rpm-build-libs-4.14.3-4.el8.x86_64 rpm-libs-4.14.3-4.el8.x86_64
rsync-3.1.3-9.el8.x86_64 sed-4.5-2.el8.x86_64 setup-2.12.2-6.el8.noarch
shadow-utils-2:4.6-11.el8.x86_64 snappy-1.1.8-3.el8.x86_64 sqlite-libs-3.26.0-11.el8.x86_64
subversion-1.10.2-1.module_el8.3.0+553+567d7cb2.x86_64 subversion-libs-1.10.2-1.module_el8.3.0+553+567d7cb2.x86_64 sudo-1.8.29-6.el8.x86_64
systemd-239-41.el8_3.x86_64 systemd-libs-239-41.el8_3.x86_64 systemd-pam-239-41.el8_3.x86_64
systemd-udev-239-41.el8_3.x86_64 tar-2:1.30-5.el8.x86_64 tzdata-2020d-1.el8.noarch
utf8proc-2.1.1-4.module_el8.3.0+553+567d7cb2.x86_64 util-linux-2.32.1-24.el8.x86_64 vim-minimal-2:8.0.1763-15.el8.x86_64
yum-4.2.23-4.el8.noarch zlib-1.2.11-16.el8_2.x86_64

Installed:
centos-linux-release-8.3-1.2011.el8.noarch centos-linux-repos-8-2.el8.noarch cracklib-dicts-2.9.6-15.el8.x86_64 crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
diffutils-3.6-6.el8.x86_64 elfutils-debuginfod-client-0.180-1.el8.x86_64 file-5.33-16.el8.x86_64 gettext-0.19.8.1-17.el8.x86_64
gettext-libs-0.19.8.1-17.el8.x86_64 gnupg2-smime-2.2.20-2.el8.x86_64 grub2-common-1:2.02-90.el8.noarch grub2-tools-1:2.02-90.el8.x86_64
grub2-tools-minimal-1:2.02-90.el8.x86_64 grubby-8.40-41.el8.x86_64 hardlink-1:1.3-6.el8.x86_64 kbd-2.0.4-10.el8.x86_64
kbd-legacy-2.0.4-10.el8.noarch kbd-misc-2.0.4-10.el8.noarch kpartx-0.8.4-5.el8.x86_64 libcroco-0.6.12-4.el8_2.1.x86_64
libevent-2.1.8-5.el8.x86_64 libgomp-8.3.1-5.1.el8.x86_64 libmodulemd-2.9.4-2.el8.x86_64 libsecret-0.18.6-1.el8.x86_64
libxkbcommon-0.9.1-1.el8.x86_64 memstrack-0.1.11-1.el8.x86_64 openssl-pkcs11-0.4.10-2.el8.x86_64 os-prober-1.74-6.el8.x86_64
pigz-2.4-4.el8.x86_64 pinentry-1.1.0-2.el8.x86_64 python3-unbound-1.7.3-14.el8.x86_64 rpm-plugin-systemd-inhibit-4.14.3-4.el8.x86_64
unbound-libs-1.7.3-14.el8.x86_64 xkeyboard-config-2.28-1.el8.noarch

I’ve just found the issue linked below on the AWX git site when I was looking to post a new issue:

https://github.com/ansible/awx/pull/8775

This has the same 2 error’s that I have in my AWX installation output:

  • Error: No matching repo to modify: PowerTools
  • Failed to set locale, defaulting to C.UTF-8

I’ve asked if there is an ETA on this.

Hi Owain

Greetings for the day

I had awx version 15 installed in my redhat 7.9 system which I have upgraded to awx 16.0.0
I did upgrade and I did check the awx 15 and awx 16.0.0 github repo from devel branch and I cant find any mentioning of power tools in the build image section of ansible tasks
Can you please point me to the repo you are referring to and moreover as 16.0.0 is out , do you fancy going directly there.

Regards
Abhinit Mallick

Hi Abhinit

The install file that references PowerTools is

There is a corrected version in the following git repo that will be committed to the next AWX release here:
https://github.com/ansible/awx/blob/devel/installer/roles/image_build/templates/Dockerfile.j2

PowerTools has been changed to powertools on lines 27 and 108

I changed this file locally after downloading e.g. /awx-13.0.0/ installer/roles/image_buil/ templates/Dockerfile.js - replaced PowerTools with powertools - and it installed AWX successfully.

Maybe 16.0.0 was already updated before release?

I can download it and look tomorrow.

Hi Abhinit

I just downloaded the AWX 16.0.0 repo and the Dockerfile.j2 already has the correct lower case references to powertools so this should work.
I think the PowerTools repo name changed to all lower case if fairly recent so it must have been captured in the latest 16.0.0 build but olders one still reference the old name and hence this file needs to be edited for them until newer versions are released that correct this.

Best regards

Owain