ct-Open-Source / ct-Open-Source/telerec-t-base
Installation der docker Dienste schlägt fehl wenn das Python docker-compose Modul fehlt
- Dominant language
- No language data
- Stars
- 56
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Starten der Dienste schlägt fehl da compose nicht funktioniert
Ich bekomme beim ausführen der Playbooks um die Dienste zu installieren und zu starten immer einen docker-compose Fehler.
```
TASK [start compose service] ***************************************************************************************************************************************************************
fatal: [server]: FAILED! => {"changed": false, "msg": "Unable to load docker-compose. Try `pip install docker-compose`. Error: Traceback (most recent call last):\n File \"/tmp/ansible_community.docker.docker_compose_payload_9jbhvt3_/ansible_community.docker.docker_compose_payload.zip/ansible_collections/community/docker/plugins/modules/docker_compose.py\", line 522, in \nModuleNotFoundError: No module named 'compose'\n"}
```
Hier fehlt auf dem Zielserver das PyPi Modul docker-compose.
Ich habe dazu die system Role im Task main.yml direkt nach der Installation der apt Pakete um:
```
- name: install pip docker-compose
pip:
name: docker-compose>=1.29.2
```
erweitert um das Python docker-compose mit pip zu installieren.
Contributor guide
No contributing guide indexed for this repository
Research direction
The failure occurs in the system role's main.yml after apt packages are installed, when the start compose service task runs. Run the service-installation playbooks and verify that the target server can load the Python docker-compose module and start the compose services without the reported ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, docker, docker-compose, python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100