Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with awx install via docker | get blank page #12831

Closed
4 of 9 tasks
xahys opened this issue Sep 5, 2022 · 5 comments
Closed
4 of 9 tasks

Problems with awx install via docker | get blank page #12831

xahys opened this issue Sep 5, 2022 · 5 comments

Comments

@xahys
Copy link

xahys commented Sep 5, 2022

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Bug Summary

  1. In a version below devel during installation have problem with ldap packages in container tools_awx_1 (checked with LDAP=false arg.)
    Can be solved by installing packer python3-ldap in a tools_awx_1, but needed to first execute environment with errors

  2. while install awx get blank page on a website with text "<% if (process.env.NODE_ENV === 'production') { %> <% } %> <% if (process.env.NODE_ENV === 'production') { %> <% } else { %> <% } %> <% if (process.env.NODE_ENV === 'production') { %>"

AWX version

21.0.0

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

docker development environment

Modifications

no

Ansible version

core 2.12.2

Operating system

Rocky Linux release 8.6 (Green Obsidian)

Web browser

Firefox, Chrome

Steps to reproduce

install ansible

yum install epel-release
yum install ansible

install docker and docker-ce and docker-compose

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
systemctl enable --now docker

curl -s https://api.github.com/repos/docker/compose/releases/latest
| grep browser_download_url
| grep docker-compose-linux-x86_64
| cut -d '"' -f 4
| wget -qi -

chmod +x docker-compose-linux-x86_64
mv docker-compose-linux-x86_64 /usr/bin/docker-compose

install postgresql

yum install postgresql-13 postgresql-13-server
/usr/pgsql-13/bin/postgresql-13-setup initdb
systemctl enable --now postgresql-13
sudo -u postgres psql -c "alter system set listen_addresses = '*';"
sudo -u postgres psql -c "CREATE USER awxadmin WITH PASSWORD 'supersecretpassword';"
sudo -u postgres psql -c "CREATE DATABASE awx WITH OWNER awxadmin;"

vim /var/lib/pgsql/13/data/pg_hba.conf

add
local all all md5
host all all all md5

install awx

cd /opt
git clone -b 21.0.0 https://github.com/ansible/awx.git
vim /opt/awx/tools/docker-compose/inventory

from start to end
localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env python3"

[all:vars]
broadcast_websocket_secret="secret"
secret_key="secret"

External Database Settings

pg_host="awx-test.mywebsite.ru"
pg_password="supersecretpassword"
pg_username="awxadmin"
pg_hostname="awx-test.mywebsite.ru"
pg_database="awx"

cd /opt/awx
make docker-compose-build
make docker-compose

upd1. while [make docker-compose] may be error with ldap (ImportError: libldap.so.2: cannot open shared object file: No such file or directory). I'am just connect to tools_awx_1 container and install python3-ldap and error was resolved

============================================

make docker-compose-build

ansible-playbook tools/ansible/dockerfile.yml -e build_dev=True -e receptor_image=quay.io/ansible/receptor:devel
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: An error occurred while calling ansible.utils.display.initialize_locale (unsupported locale setting). This may result in incorrectly calculated text widths that can cause Display
to print incorrect line lengths

PLAY [Render AWX Dockerfile and sources] *****************************************************************************************************************************************************

TASK [Gathering Facts] ***********************************************************************************************************************************************************************
ok: [localhost]

TASK [dockerfile : Create _build directory] **************************************************************************************************************************************************
changed: [localhost]

TASK [dockerfile : Render supervisor configs] ************************************************************************************************************************************************
changed: [localhost] => (item=supervisor.conf)
changed: [localhost] => (item=supervisor_task.conf)

TASK [dockerfile : Render Dockerfile] ********************************************************************************************************************************************************
changed: [localhost]

PLAY RECAP ***********************************************************************************************************************************************************************************
localhost : ok=4 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

DOCKER_BUILDKIT=1 docker build -t ghcr.io/ansible/awx_devel:HEAD
--build-arg BUILDKIT_INLINE_CACHE=1
--cache-from=ghcr.io/ansible/awx_devel:HEAD .
[+] Building 257.8s (50/50) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 7.52kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 76B 0.0s
=> [internal] load metadata for quay.io/centos/centos:stream9 0.5s
=> ERROR importing cache manifest from ghcr.io/ansible/awx_devel:HEAD 0.9s
=> [internal] load build context 0.0s
=> => transferring context: 44.87kB 0.0s
=> CACHED https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf 0.0s
=> [builder 1/9] FROM quay.io/centos/centos:stream9@sha256:7067939d9eadadf9457d860917ea8f2707197d1ce21ecd3fe3a1643e250dbeed 0.0s
=> CACHED FROM quay.io/ansible/receptor:devel 0.0s
=> CACHED https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf 0.0s
=> CACHED [stage-1 2/32] RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && dnf config-manager --set-enabled crb && dnf -y install acl git-core git 0.0s
=> CACHED [stage-1 3/32] RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && chmod 700 get_helm.sh && ./get_helm.sh 0.0s
=> CACHED [stage-1 4/32] RUN pip3 install virtualenv supervisor dumb-init 0.0s
=> CACHED [stage-1 5/32] RUN rm -rf /root/.cache && rm -rf /tmp/* 0.0s
=> [stage-1 6/32] RUN dnf -y install crun gdb gtk3 gettext hostname procps alsa-lib libX11-xcb libXScrnSaver iproute strace vim 87.4s
=> CACHED [builder 2/9] RUN dnf -y update && dnf install -y 'dnf-command(config-manager)' && dnf config-manager --set-enabled crb && dnf -y install gcc gcc-c++ gi 0.0s
=> CACHED [builder 3/9] RUN pip3 install virtualenv 0.0s
=> [builder 4/9] ADD Makefile /tmp/Makefile 0.1s
=> [builder 5/9] RUN mkdir /tmp/requirements 0.8s
=> [builder 6/9] ADD requirements/requirements.txt requirements/requirements_tower_uninstall.txt requirements/requirements_git.txt /tmp/requirements/ 0.1s
=> [builder 7/9] RUN cd /tmp && make requirements_awx 178.3s
=> [stage-1 7/32] RUN pip3 install black git+https://github.com/coderanger/supervisor-stdout 8.0s
=> [stage-1 8/32] RUN dnf --enablerepo=baseos-debug -y install python3-debuginfo || : 10.1s
=> [builder 8/9] ADD requirements/requirements_dev.txt /tmp/requirements 0.0s
=> [builder 9/9] RUN cd /tmp && make requirements_awx_dev 45.2s
=> [stage-1 9/32] COPY --from=builder /var/lib/awx /var/lib/awx 4.4s
=> [stage-1 10/32] RUN ln -s /var/lib/awx/venv/awx/bin/awx-manage /usr/bin/awx-manage 0.4s
=> [stage-1 11/32] COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor 0.2s
=> [stage-1 12/32] RUN openssl req -nodes -newkey rsa:2048 -keyout /etc/nginx/nginx.key -out /etc/nginx/nginx.csr -subj "/C=US/ST=North Carolina/L=Durham/O=Ansible/OU=AWX Dev 0.7s
=> [stage-1 13/32] RUN dnf install -y podman && rpm --restore shadow-utils 2>/dev/null 13.5s
=> [stage-1 14/32] RUN sed -i -e 's|^#mount_program|mount_program|g' -e '/additionalimage./a "/var/lib/shared",' -e 's|^mountopt[[:space:]]=.*$|mountopt = "nodev,fsync=0"|g' /etc/c 0.3s
=> [stage-1 15/32] RUN mkdir -p /etc/containers/registries.conf.d/ && echo "unqualified-search-registries = []" >> /etc/containers/registries.conf.d/force-fully-qualified-images.conf 0.4s
=> [stage-1 16/32] ADD tools/ansible/roles/dockerfile/files/rsyslog.conf /var/lib/awx/rsyslog/rsyslog.conf 0.0s
=> [stage-1 17/32] ADD tools/ansible/roles/dockerfile/files/wait-for-migrations /usr/local/bin/wait-for-migrations 0.0s
=> [stage-1 18/32] ADD tools/ansible/roles/dockerfile/files/stop-supervisor /usr/local/bin/stop-supervisor 0.0s
=> [stage-1 19/32] ADD tools/docker-compose/launch_awx.sh /usr/bin/launch_awx.sh 0.0s
=> [stage-1 20/32] ADD tools/docker-compose/nginx.conf /etc/nginx/nginx.conf 0.0s
=> [stage-1 21/32] ADD tools/docker-compose/nginx.vh.default.conf /etc/nginx/conf.d/nginx.vh.default.conf 0.0s
=> [stage-1 22/32] ADD tools/docker-compose/start_tests.sh /start_tests.sh 0.0s
=> [stage-1 23/32] ADD tools/docker-compose/bootstrap_development.sh /usr/bin/bootstrap_development.sh 0.0s
=> [stage-1 24/32] ADD tools/docker-compose/entrypoint.sh /entrypoint.sh 0.0s
=> [stage-1 25/32] ADD tools/scripts/config-watcher /usr/bin/config-watcher 0.0s
=> [stage-1 26/32] ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf 0.0s
=> [stage-1 27/32] ADD https://raw.githubusercontent.com/containers/libpod/master/contrib/podmanimage/stable/podman-containers.conf /var/lib/awx/.config/containers/containers.conf 0.0s
=> [stage-1 28/32] ADD tools/docker-compose/awx.egg-link /tmp/awx.egg-link 0.0s
=> [stage-1 29/32] ADD tools/docker-compose/awx-manage /usr/local/bin/awx-manage 0.0s
=> [stage-1 30/32] ADD tools/scripts/awx-python /usr/bin/awx-python 0.0s
=> [stage-1 31/32] RUN for dir in /var/lib/awx /var/lib/awx/rsyslog /var/lib/awx/rsyslog/conf.d /var/lib/awx/.local/share/containers/storage /var/run/aw 0.4s
=> [stage-1 32/32] RUN for dir in /etc/containers /var/lib/awx/.config/containers /var/lib/awx/.config/cni /var/lib/awx/venv /var/lib/awx/venv/awx/bin 0.5s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:a5719423209040b19cdbef829964140d8822f625052e8a7aa5f1d3fb31187f93 0.0s
=> => naming to ghcr.io/ansible/awx_devel:HEAD 0.0s
=> exporting cache 0.0s
=> => preparing build cache for export 0.0s

importing cache manifest from ghcr.io/ansible/awx_devel:HEAD:


make docker-compose

make docker-compose

ansible-playbook -i tools/docker-compose/inventory tools/docker-compose/ansible/sources.yml
-e awx_image=ghcr.io/ansible/awx_devel
-e awx_image_tag=HEAD
-e receptor_image=quay.io/ansible/receptor:devel
-e control_plane_node_count=1
-e execution_node_count=2
-e minikube_container_group=false
-e enable_keycloak=false
-e enable_ldap=false
[WARNING]: An error occurred while calling ansible.utils.display.initialize_locale (unsupported locale setting). This may result in incorrectly calculated text widths that can cause Display
to print incorrect line lengths

PLAY [Render AWX Dockerfile and sources] *****************************************************************************************************************************************************

TASK [Gathering Facts] ***********************************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Create _sources directories] *************************************************************************************************************************************************
ok: [localhost] => (item=secrets)
ok: [localhost] => (item=receptor)

TASK [sources : Detect secrets] **************************************************************************************************************************************************************
skipping: [localhost] => (item=pg_password)
skipping: [localhost] => (item=secret_key)
skipping: [localhost] => (item=broadcast_websocket_secret)

TASK [sources : Generate secrets if needed] **************************************************************************************************************************************************
skipping: [localhost] => (item=pg_password)
skipping: [localhost] => (item=secret_key)
skipping: [localhost] => (item=broadcast_websocket_secret)

TASK [sources : Include generated secrets unless they are explicitly passed in] **************************************************************************************************************
skipping: [localhost] => (item=None)
skipping: [localhost] => (item=None)
skipping: [localhost] => (item=None)
skipping: [localhost]

TASK [sources : Write out SECRET_KEY] ********************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Render configuration templates] **********************************************************************************************************************************************
ok: [localhost] => (item=database.py)
ok: [localhost] => (item=websocket_secret.py)
ok: [localhost] => (item=haproxy.cfg)

TASK [sources : Delete old local_settings.py] ************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Copy local_settings.py] ******************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Get OS info for sdb] *********************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Get user UID] ****************************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Set fact with user UID] ******************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Set global version if not provided] ******************************************************************************************************************************************
skipping: [localhost]

TASK [sources : Generate Private RSA key for signing work] ***********************************************************************************************************************************
ok: [localhost]

TASK [sources : Generate public RSA key for signing work] ************************************************************************************************************************************
ok: [localhost]

TASK [sources : Include LDAP tasks if enabled] ***********************************************************************************************************************************************
skipping: [localhost]

TASK [sources : Render Docker-Compose] *******************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Render Receptor Config(s) for Control Plane] *********************************************************************************************************************************
ok: [localhost] => (item=1)

TASK [sources : Render Receptor Hop Config] **************************************************************************************************************************************************
ok: [localhost]

TASK [sources : Render Receptor Worker Config(s)] ********************************************************************************************************************************************
ok: [localhost] => (item=1)
ok: [localhost] => (item=2)

PLAY RECAP ***********************************************************************************************************************************************************************************
localhost : ok=15 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0

docker-compose -f tools/docker-compose/_sources/docker-compose.yml up --remove-orphans
[+] Running 6/0
⠿ Container tools_postgres_1 Created 0.0s
⠿ Container tools_redis_1 Created 0.0s
⠿ Container tools_awx_1 Created 0.0s
⠿ Container tools_receptor_hop Created 0.0s
⠿ Container tools_receptor_2 Created 0.0s
⠿ Container tools_receptor_1 Created 0.0s
Attaching to tools_awx_1, tools_postgres_1, tools_receptor_1, tools_receptor_2, tools_receptor_hop, tools_redis_1
tools_redis_1 | 1:C 05 Sep 2022 13:15:43.640 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
tools_redis_1 | 1:C 05 Sep 2022 13:15:43.640 # Redis version=7.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
tools_redis_1 | 1:C 05 Sep 2022 13:15:43.640 # Configuration loaded
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.640 * monotonic clock: POSIX clock_gettime
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 * Running mode=standalone, port=0.
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 # Server initialized
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 * Loading RDB produced by version 7.0.4
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 * RDB age 27 seconds
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.641 * RDB memory usage when created 1.23 Mb
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.642 * Done loading RDB, keys loaded: 25, keys expired: 0.
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.642 * DB loaded from disk: 0.000 seconds
tools_redis_1 | 1:M 05 Sep 2022 13:15:43.642 * The server is now ready to accept connections at /var/run/redis/redis.sock
tools_postgres_1 |
tools_postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
tools_postgres_1 |
tools_postgres_1 | 2022-09-05 13:15:43.847 UTC [1] LOG: starting PostgreSQL 12.12 (Debian 12.12-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
tools_postgres_1 | 2022-09-05 13:15:43.847 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
tools_postgres_1 | 2022-09-05 13:15:43.847 UTC [1] LOG: listening on IPv6 address "::", port 5432
tools_postgres_1 | 2022-09-05 13:15:43.850 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
tools_postgres_1 | 2022-09-05 13:15:43.869 UTC [26] LOG: database system was shut down at 2022-09-05 13:15:14 UTC
tools_postgres_1 | 2022-09-05 13:15:43.876 UTC [1] LOG: database system is ready to accept connections
tools_receptor_hop | WARNING 2022/09/05 13:15:47 Backend connection failed (will retry): dial tcp 172.22.0.4:2222: connect: connection refused
tools_receptor_hop | INFO 2022/09/05 13:15:47 Running control service control
tools_receptor_hop | INFO 2022/09/05 13:15:47 Initialization complete
tools_receptor_2 | INFO 2022/09/05 13:15:47 Connection established with receptor-hop
tools_receptor_hop | INFO 2022/09/05 13:15:47 Connection established with receptor-2
tools_receptor_hop | INFO 2022/09/05 13:15:47 Connection established with receptor-1
tools_receptor_1 | INFO 2022/09/05 13:15:48 Connection established with receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:15:48 Known Connections:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-2: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-hop: receptor-2(1.00)
tools_receptor_2 | INFO 2022/09/05 13:15:48 Routing Table:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-hop via receptor-hop
tools_receptor_hop | INFO 2022/09/05 13:15:48 Known Connections:
tools_receptor_hop | INFO 2022/09/05 13:15:48 receptor-hop: receptor-2(1.00) receptor-1(1.00)
tools_receptor_hop | INFO 2022/09/05 13:15:48 receptor-2: receptor-hop(1.00)
tools_receptor_hop | INFO 2022/09/05 13:15:48 receptor-1: receptor-hop(1.00)
tools_receptor_hop | INFO 2022/09/05 13:15:48 Routing Table:
tools_receptor_hop | INFO 2022/09/05 13:15:48 receptor-1 via receptor-1
tools_receptor_hop | INFO 2022/09/05 13:15:48 receptor-2 via receptor-2
tools_receptor_2 | INFO 2022/09/05 13:15:48 Running control service control
tools_receptor_2 | INFO 2022/09/05 13:15:48 Initialization complete
tools_receptor_2 | INFO 2022/09/05 13:15:48 Known Connections:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-2: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-hop: receptor-2(1.00) receptor-1(1.00)
tools_receptor_2 | INFO 2022/09/05 13:15:48 Routing Table:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-hop via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:15:48 Known Connections:
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-1: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-hop: receptor-1(1.00) receptor-2(1.00)
tools_receptor_1 | INFO 2022/09/05 13:15:48 Routing Table:
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-hop via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:15:48 Running control service control
tools_receptor_1 | INFO 2022/09/05 13:15:48 Initialization complete
tools_receptor_2 | INFO 2022/09/05 13:15:48 Known Connections:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-2: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:15:48 Known Connections:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-hop: receptor-2(1.00) receptor-1(1.00)
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-1: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:15:48 Routing Table:
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-hop via receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:15:48 receptor-1 via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-1: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-hop: receptor-1(1.00) receptor-2(1.00)
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-2: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:15:48 Routing Table:
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-hop via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:15:48 receptor-2 via receptor-hop
tools_awx_1 | [ -d "/awx_devel/awx.egg-info" ] || python3.9 /awx_devel/setup.py egg_info_dev
tools_awx_1 | cp -f /tmp/awx.egg-link /var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link
tools_awx_1 | mkdir -p /var/lib/awx/;
tools_awx_1 | if [ "/var/lib/awx/venv" ]; then
tools_awx_1 | . /var/lib/awx/venv/awx/bin/activate;
tools_awx_1 | fi;
tools_awx_1 | python3.9 -c "import awx; print(awx.version)" > /var/lib/awx/.awx_version;
tools_awx_1 |
tools_awx_1 | if [ "/var/lib/awx/venv" ]; then
tools_awx_1 | . /var/lib/awx/venv/awx/bin/activate;
tools_awx_1 | fi;
tools_awx_1 | awx-manage migrate --noinput
tools_receptor_hop | WARNING 2022/09/05 13:15:52 Backend connection failed (will retry): dial tcp 172.22.0.4:2222: connect: connection refused
tools_awx_1 | Operations to perform:
tools_awx_1 | Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit
tools_awx_1 | Running migrations:
tools_awx_1 | No migrations to apply.
tools_receptor_hop | WARNING 2022/09/05 13:15:59 Backend connection failed (will retry): dial tcp 172.22.0.4:2222: connect: connection refused
tools_awx_1 | (changed: False)
tools_awx_1 | (changed: False)
tools_awx_1 | Instance already registered awx_1
tools_awx_1 | Instance Group already registered controlplane
tools_receptor_hop | WARNING 2022/09/05 13:16:10 Backend connection failed (will retry): dial tcp 172.22.0.4:2222: connect: connection refused
tools_awx_1 | Instance Group already registered default
tools_awx_1 | Instance already registered receptor-hop
tools_awx_1 | 0 new peer links added to the database.
tools_awx_1 | Instance already registered receptor-1
tools_awx_1 | 0 new peer links added to the database.
tools_awx_1 | Instance already registered receptor-2
tools_receptor_hop | WARNING 2022/09/05 13:16:27 Backend connection failed (will retry): dial tcp 172.22.0.4:2222: connect: connection refused
tools_awx_1 | 0 new peer links added to the database.
tools_awx_1 | /usr/local/lib/python3.9/site-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
tools_awx_1 | self.warnings.warn(
tools_awx_1 | 2022-09-05 13:16:32,044 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
tools_awx_1 | 2022-09-05 13:16:32,048 INFO RPC interface 'supervisor' initialized
tools_awx_1 | 2022-09-05 13:16:32,048 CRIT Server 'unix_http_server' running without any HTTP authentication checking
tools_awx_1 | 2022-09-05 13:16:32,048 INFO supervisord started with pid 200
tools_awx_1 | 2022-09-05 13:16:33,052 INFO spawned: 'stdout' with pid 201
tools_awx_1 | 2022-09-05 13:16:33,054 INFO spawned: 'superwatcher' with pid 202
tools_awx_1 | 2022-09-05 13:16:33,056 INFO spawned: 'awx-dispatcher' with pid 203
tools_awx_1 | 2022-09-05 13:16:33,058 INFO spawned: 'awx-receiver' with pid 204
tools_awx_1 | 2022-09-05 13:16:33,060 INFO spawned: 'awx-uwsgi' with pid 205
tools_awx_1 | 2022-09-05 13:16:33,062 INFO spawned: 'awx-daphne' with pid 206
tools_awx_1 | 2022-09-05 13:16:33,064 INFO spawned: 'awx-nginx' with pid 207
tools_awx_1 | 2022-09-05 13:16:33,066 INFO spawned: 'awx-wsbroadcast' with pid 208
tools_awx_1 | 2022-09-05 13:16:33,068 INFO spawned: 'awx-rsyslogd' with pid 210
tools_awx_1 | 2022-09-05 13:16:33,070 INFO spawned: 'awx-receptor' with pid 211
tools_awx_1 | READY
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | INFO 2022/09/05 13:16:33 Running control service control
tools_awx_1 | INFO 2022/09/05 13:16:33 Initialization complete
tools_awx_1 | 2022-09-05 13:16:34,899 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
tools_awx_1 | 2022-09-05 13:16:34,899 INFO success: superwatcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
tools_awx_1 | nginx -g "daemon off;"
tools_awx_1 | 2022-09-05 13:16:37,392 INFO [-] daphne.cli Starting server at tcp:port=8051:interface=127.0.0.1
tools_awx_1 | 2022-09-05 13:16:37,392 INFO Starting server at tcp:port=8051:interface=127.0.0.1
tools_awx_1 | 2022-09-05 13:16:37,394 INFO [-] daphne.server HTTP/2 support not enabled (install the http2 and tls Twisted extras)
tools_awx_1 | 2022-09-05 13:16:37,394 INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
tools_awx_1 | 2022-09-05 13:16:37,395 INFO [-] daphne.server Configuring endpoint tcp:port=8051:interface=127.0.0.1
tools_awx_1 | 2022-09-05 13:16:37,395 INFO Configuring endpoint tcp:port=8051:interface=127.0.0.1
tools_awx_1 | 2022-09-05 13:16:37,396 INFO [-] daphne.server Listening on TCP address 127.0.0.1:8051
tools_awx_1 | 2022-09-05 13:16:37,396 INFO Listening on TCP address 127.0.0.1:8051
tools_awx_1 | *** Starting uWSGI 2.0.18 (64bit) on [Mon Sep 5 13:16:37 2022] ***
tools_awx_1 | compiled with version: 11.3.1 20220421 (Red Hat 11.3.1-2) on 05 September 2022 11:26:51
tools_awx_1 | os: Linux-4.18.0-372.19.1.el8_6.x86_64 #1 SMP Tue Aug 2 16:19:42 UTC 2022
tools_awx_1 | nodename: awx_1
tools_awx_1 | machine: x86_64
tools_awx_1 | clock source: unix
tools_awx_1 | detected number of CPU cores: 4
tools_awx_1 | current working directory: /awx_devel
tools_awx_1 | detected binary path: /var/lib/awx/venv/awx/bin/uwsgi
tools_awx_1 | !!! no internal routing support, rebuild with pcre support !!!
tools_awx_1 | uWSGI running as root, you can use --uid/--gid/--chroot options
tools_awx_1 | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
tools_awx_1 | chdir() to /awx_devel/
tools_awx_1 | your memory page size is 4096 bytes
tools_awx_1 | *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
tools_awx_1 | detected max file descriptor number: 1048576
tools_awx_1 | lock engine: pthread robust mutexes
tools_awx_1 | thunder lock: disabled (you can enable it with --thunder-lock)
tools_awx_1 | uwsgi socket 0 bound to TCP address 127.0.0.1:8050 fd 3
tools_awx_1 | uWSGI running as root, you can use --uid/--gid/--chroot options
tools_awx_1 | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
tools_awx_1 | Python version: 3.9.13 (main, Jul 25 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)]
tools_awx_1 | PEP 405 virtualenv detected: /var/lib/awx/venv/awx
tools_awx_1 | Set PythonHome to /var/lib/awx/venv/awx
tools_awx_1 | Python main interpreter initialized at 0x893cc0
tools_awx_1 | uWSGI running as root, you can use --uid/--gid/--chroot options
tools_awx_1 | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
tools_awx_1 | python threads support enabled
tools_awx_1 | your server socket listen backlog is limited to 100 connections
tools_awx_1 | your mercy for graceful operations on workers is 60 seconds
tools_awx_1 | mapped 609552 bytes (595 KB) for 5 cores
tools_awx_1 | *** Operational MODE: preforking ***
tools_awx_1 | uWSGI running as root, you can use --uid/--gid/--chroot options
tools_awx_1 | *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
tools_awx_1 | *** uWSGI is running in multiple interpreter mode ***
tools_awx_1 | spawned uWSGI master process (pid: 407)
tools_awx_1 | spawned uWSGI worker 1 (pid: 409, cores: 1)
tools_awx_1 | spawned uWSGI worker 2 (pid: 410, cores: 1)
tools_awx_1 | spawned uWSGI worker 3 (pid: 411, cores: 1)
tools_awx_1 | spawned uWSGI worker 4 (pid: 412, cores: 1)
tools_awx_1 | spawned uWSGI worker 5 (pid: 413, cores: 1)
tools_awx_1 | *** Stats server enabled on /tmp/stats.socket fd: 17 ***
tools_awx_1 | Python auto-reloader enabled
tools_awx_1 | 2022-09-05 13:16:38,376 INFO [-] awx.main.wsbroadcast Active instance with hostname awx_1 is registered.
tools_awx_1 | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x893cc0 pid: 412 (default app)
tools_awx_1 | 2022-09-05 13:16:40,162 WARNING [-] awx.main.dispatch.periodic periodic beat started
tools_awx_1 | 2022-09-05 13:16:40,264 INFO [-] awx.main.dispatch Running worker dispatcher listening to queues ['tower_broadcast_all', 'awx_1']
tools_awx_1 | 2022-09-05 13:16:40,637 INFO waiting for awx-rsyslogd to stop
tools_awx_1 | 2022-09-05 13:16:40,658 INFO stopped: awx-rsyslogd (exit status 0)
tools_awx_1 | 2022-09-05 13:16:40,663 INFO spawned: 'awx-rsyslogd' with pid 434
tools_awx_1 | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x893cc0 pid: 411 (default app)
tools_awx_1 | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x893cc0 pid: 410 (default app)
tools_awx_1 | WSGI app 0 (mountpoint='') ready in 4 seconds on interpreter 0x893cc0 pid: 409 (default app)
tools_awx_1 | running "exec: supervisorctl restart tower-processes:awx-dispatcher tower-processes:awx-receiver" (accepting1)...
tools_awx_1 | 2022-09-05 13:16:41,239 INFO waiting for awx-dispatcher to stop
tools_awx_1 | 2022-09-05 13:16:41,243 WARNING [-] awx.main.dispatch received SIGTERM, stopping
tools_awx_1 | 2022-09-05 13:16:41,272 WARNING [-] awx.main.tasks.system Normal shutdown signal for instance awx_1, removed self from capacity pool.
tools_awx_1 | WSGI app 0 (mountpoint='') ready in 4 seconds on interpreter 0x893cc0 pid: 413 (default app)
tools_awx_1 | 2022-09-05 13:16:41,780 INFO stopped: awx-dispatcher (terminated by SIGTERM)
tools_awx_1 | 2022-09-05 13:16:41,781 INFO waiting for awx-receiver to stop
tools_awx_1 | 2022-09-05 13:16:41,781 WARNING [-] awx.main.commands.run_callback_receiver received SIGTERM, stopping
tools_awx_1 | 2022-09-05 13:16:41,782 WARNING [-] awx.main.commands.run_callback_receiver received SIGTERM, stopping
tools_awx_1 | 2022-09-05 13:16:42,352 INFO stopped: awx-receiver (terminated by SIGTERM)
tools_awx_1 | 2022-09-05 13:16:42,357 INFO spawned: 'awx-dispatcher' with pid 445
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | 2022-09-05 13:16:46,421 WARNING [-] awx.main.dispatch.periodic periodic beat started
tools_awx_1 | 2022-09-05 13:16:46,491 INFO [-] awx.main.dispatch Running worker dispatcher listening to queues ['tower_broadcast_all', 'awx_1']
tools_awx_1 | 2022-09-05 13:16:46,781 INFO waiting for awx-rsyslogd to stop
tools_awx_1 | 2022-09-05 13:16:46,783 INFO stopped: awx-rsyslogd (exit status 0)
tools_awx_1 | 2022-09-05 13:16:46,788 INFO spawned: 'awx-rsyslogd' with pid 484
tools_receptor_hop | INFO 2022/09/05 13:16:47 Connection established with awx_1
tools_receptor_hop | INFO 2022/09/05 13:16:47 Known Connections:
tools_receptor_hop | INFO 2022/09/05 13:16:47 receptor-hop: awx_1(1.00) receptor-2(1.00) receptor-1(1.00)
tools_receptor_hop | INFO 2022/09/05 13:16:47 receptor-2: receptor-hop(1.00)
tools_receptor_hop | INFO 2022/09/05 13:16:47 receptor-1: receptor-hop(1.00)
tools_receptor_hop | INFO 2022/09/05 13:16:47 awx_1: receptor-hop(1.00)
tools_receptor_hop | INFO 2022/09/05 13:16:47 Routing Table:
tools_receptor_hop | INFO 2022/09/05 13:16:47 receptor-2 via receptor-2
tools_receptor_hop | INFO 2022/09/05 13:16:47 receptor-1 via receptor-1
tools_receptor_hop | INFO 2022/09/05 13:16:47 awx_1 via awx_1
tools_awx_1 | INFO 2022/09/05 13:16:47 Connection established with receptor-hop
tools_awx_1 | INFO 2022/09/05 13:16:47 Known Connections:
tools_awx_1 | INFO 2022/09/05 13:16:47 awx_1: receptor-hop(1.00)
tools_awx_1 | INFO 2022/09/05 13:16:47 receptor-hop: awx_1(1.00)
tools_awx_1 | INFO 2022/09/05 13:16:47 Routing Table:
tools_receptor_2 | INFO 2022/09/05 13:16:47 Known Connections:
tools_awx_1 | INFO 2022/09/05 13:16:47 receptor-hop via receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:16:47 receptor-hop: awx_1(1.00) receptor-1(1.00) receptor-2(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:47 receptor-1: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:47 receptor-2: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:47 Routing Table:
tools_receptor_2 | INFO 2022/09/05 13:16:47 receptor-hop via receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:16:47 receptor-1 via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:16:47 Known Connections:
tools_receptor_1 | INFO 2022/09/05 13:16:47 receptor-1: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:47 receptor-hop: receptor-1(1.00) receptor-2(1.00) awx_1(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:47 receptor-2: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:47 Routing Table:
tools_receptor_1 | INFO 2022/09/05 13:16:47 receptor-2 via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:16:47 receptor-hop via receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:16:48 Known Connections:
tools_receptor_2 | INFO 2022/09/05 13:16:48 receptor-1: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:48 awx_1: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:48 receptor-2: receptor-hop(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:48 receptor-hop: receptor-2(1.00) awx_1(1.00) receptor-1(1.00)
tools_receptor_2 | INFO 2022/09/05 13:16:48 Routing Table:
tools_receptor_2 | INFO 2022/09/05 13:16:48 receptor-hop via receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:16:48 receptor-1 via receptor-hop
tools_receptor_2 | INFO 2022/09/05 13:16:48 awx_1 via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:16:48 Known Connections:
tools_receptor_1 | INFO 2022/09/05 13:16:48 awx_1: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:48 receptor-1: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:48 receptor-hop: awx_1(1.00) receptor-1(1.00) receptor-2(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:48 receptor-2: receptor-hop(1.00)
tools_receptor_1 | INFO 2022/09/05 13:16:48 Routing Table:
tools_receptor_1 | INFO 2022/09/05 13:16:48 receptor-hop via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:16:48 receptor-2 via receptor-hop
tools_receptor_1 | INFO 2022/09/05 13:16:48 awx_1 via receptor-hop
tools_awx_1 | INFO 2022/09/05 13:16:48 Known Connections:
tools_awx_1 | INFO 2022/09/05 13:16:48 awx_1: receptor-hop(1.00)
tools_awx_1 | INFO 2022/09/05 13:16:48 receptor-hop: receptor-2(1.00) awx_1(1.00) receptor-1(1.00)
tools_awx_1 | INFO 2022/09/05 13:16:48 receptor-2: receptor-hop(1.00)
tools_awx_1 | INFO 2022/09/05 13:16:48 receptor-1: receptor-hop(1.00)
tools_awx_1 | INFO 2022/09/05 13:16:48 Routing Table:
tools_awx_1 | INFO 2022/09/05 13:16:48 receptor-hop via receptor-hop
tools_awx_1 | INFO 2022/09/05 13:16:48 receptor-2 via receptor-hop
tools_awx_1 | INFO 2022/09/05 13:16:48 receptor-1 via receptor-hop
tools_awx_1 | 10.211.44.36 GET / - HTTP/1.1 200

Expected results

Just start awx, which the work with external database (postgresql)

Actual results

white blank in a https://mywebsite:8043/
with

<% if (process.env.NODE_ENV === 'production') { %> <% } %> <% if (process.env.NODE_ENV === 'production') { %> <% } else { %> <% } %> <% if (process.env.NODE_ENV === 'production') { %>

Additional information

No response

@fosterseth
Copy link
Member

In the awx directory, you will need to run make clean-ui followed by make ui-devel to build the UI static files. Let us know if that works

@xahys
Copy link
Author

xahys commented Sep 8, 2022

Hello, @fosterseth !
Thanks for feedback!

I have problems with Memory, but i dont know how much i need to allocate.
so, i set var "max-old-space-size" in Makefile from 6144 to 10240, and i have 16G on a system, but i take the same problems when i run "make ui-devel"

May i need to allocate in another place, but i dont know where.

[root@awx-linux awx]# make clean-ui
rm -rf node_modules
rm -rf awx/ui/node_modules
rm -rf awx/ui/build
rm -rf awx/ui/src/locales/_build
rm -rf awx/ui/.ui-built

[root@awx-linux awx]# make ui-devel
NODE_OPTIONS=--max-old-space-size=10240 npm --prefix awx/ui --loglevel warn ci

core-js@2.6.12 postinstall /opt/awx/awx/ui/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

core-js-pure@3.12.1 postinstall /opt/awx/awx/ui/node_modules/core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

core-js@3.20.3 postinstall /opt/awx/awx/ui/node_modules/react-app-polyfill/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

added 1854 packages in 23.362s
make[1]: Entering directory '/opt/awx'
NODE_OPTIONS=--max-old-space-size=6144 npm --prefix awx/ui --loglevel warn ci
npm WARN prepare removing existing node_modules/ before installation

core-js@2.6.12 postinstall /opt/awx/awx/ui/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

core-js-pure@3.12.1 postinstall /opt/awx/awx/ui/node_modules/core-js-pure
node -e "try{require('./postinstall')}catch(e){}"

core-js@3.20.3 postinstall /opt/awx/awx/ui/node_modules/react-app-polyfill/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

added 1854 packages in 29.814s
python3.9 tools/scripts/compilemessages.py
processing file django.po in /opt/awx/awx/locale/es/LC_MESSAGES

processing file django.po in /opt/awx/awx/locale/ja/LC_MESSAGES

processing file django.po in /opt/awx/awx/locale/zh/LC_MESSAGES

processing file django.po in /opt/awx/awx/locale/en-us/LC_MESSAGES

processing file django.po in /opt/awx/awx/locale/nl/LC_MESSAGES

processing file django.po in /opt/awx/awx/locale/fr/LC_MESSAGES

npm --prefix awx/ui --loglevel warn run compile-strings

ui@ compile-strings /opt/awx/awx/ui
lingui compile

Compiling message catalogs…
Done!
npm --prefix awx/ui --loglevel warn run build

ui@ build /opt/awx/awx/ui
INLINE_RUNTIME_CHUNK=false react-scripts build

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

<--- Last few GCs --->

[9649:0x55ac52d5e680] 232718 ms: Scavenge 1325.4 (1422.2) -> 1324.8 (1422.7) MB, 5.9 / 0.0 ms (average mu = 0.123, current mu = 0.064) allocation failure
[9649:0x55ac52d5e680] 232728 ms: Scavenge 1325.6 (1422.7) -> 1325.0 (1423.2) MB, 7.2 / 0.0 ms (average mu = 0.123, current mu = 0.064) allocation failure
[9649:0x55ac52d5e680] 232738 ms: Scavenge 1325.8 (1423.2) -> 1325.2 (1423.7) MB, 6.8 / 0.0 ms (average mu = 0.123, current mu = 0.064) allocation failure

<--- JS stacktrace --->

==== JS stack trace =========================================

0: ExitFrame [pc: 0x39f34425bf1d]
1: StubFrame [pc: 0x39f34425d4a6]

Security context: 0x06c95911e6c1
2: /* anonymous /(aka / anonymous /) [0x2e9975ed5db9] [/opt/awx/awx/ui/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js:~31] [pc=0x39f345bf751b](this=0x0bac0e4826f1 ,generatedLine=2,generatedColumn=1465993,sourceIndex=620,originalLine=1744,originalColumn=2,nameIndex=6543)
3: /
a...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x55ac50e98e74 node::Abort() [/usr/bin/node]
2: 0x55ac50e98ec2 [/usr/bin/node]
3: 0x55ac51090aaa v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
4: 0x55ac51090d25 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
5: 0x55ac514420a6 [/usr/bin/node]
6: 0x55ac514421e4 [/usr/bin/node]
7: 0x55ac5145470b v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/bin/node]
8: 0x55ac51454ec9 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
9: 0x55ac514577cd v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/bin/node]
10: 0x55ac51457826 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/bin/node]
11: 0x55ac514241c8 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/bin/node]
12: 0x55ac516a917c v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
13: 0x39f34425bf1d
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ui@ build: INLINE_RUNTIME_CHUNK=false react-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ui@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-09-08T14_52_35_891Z-debug.log
make[1]: *** [Makefile:378: awx/ui/.ui-built] Error 1
make[1]: Leaving directory '/opt/awx'
make: *** [Makefile:392: ui-devel] Error 2

@bar0n36
Copy link

bar0n36 commented Sep 9, 2022

I ran into the LDAP issue trying to build, and it appears to be resolved by #12796 .

@djyasin
Copy link
Member

djyasin commented Sep 14, 2022

Hello, this appears to be less of a bug report or feature request and more of a question. Could you please ask this on our mailing list? See https://github.com/ansible/awx/#get-involved for information for ways to connect with us.

@ricardom69
Copy link

hello @xahys how to checked with LDAP=false arg. i install python3-ldap but not work

tools_awx_1 | ImportError: libldap.so.2: cannot open shared object file: No such file or directory
tools_awx_1 | make[1]: Leaving directory '/awx_devel'
tools_awx_1 | make[1]: *** [Makefile:223: dispatcher] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants