make docker-compose error

已查看 199 次
跳至第一个未读帖子

Ricardo Manuel Gonzalez Pedrianes

未读,
2023年2月23日 09:46:402023/2/23
收件人 AWX Project
When I try to run make docker-compose to recreate the containers from an AWX installation with docker it gives me the following error

ERROR:
[root@awxdev awx-21.6.0]# make docker-compose
make: python3.9: Command not found
/bin/sh: python3.9: command not found
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 \
    -e enable_splunk=false \
    -e enable_prometheus=false \
    -e enable_grafana=false

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

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

TASK [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)
ok: [localhost] => (item=broadcast_websocket_secret)
skipping: [localhost] => (item=admin_password)

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

TASK [sources : Include generated secrets unless they are explicitly passed in] ********************************************************************************************************************************
skipping: [localhost] => (item=None)
skipping: [localhost] => (item=None)
ok: [localhost] => (item=None)
skipping: [localhost] => (item=None)
ok: [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)

TASK [sources : Render prometheus config] **********************************************************************************************************************************************************************
skipping: [localhost]

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

docker-compose -f tools/docker-compose/_sources/docker-compose.yml  up  --remove-orphans
make: docker-compose: Command not found
make: *** [Makefile:483: docker-compose] Error 127

can someone help me with this error

Thanks

AWX Project

未读,
2023年3月1日 14:39:252023/3/1
收件人 AWX Project
Hi!

can you ensure you have docker-compose installed?
type
which `docker-compose`
to see where the binary is located

AWX Team
回复全部
回复作者
转发
0 个新帖子