AlmaLinux / AlmaLinux/build-system

deploy: Create and start services task always fails

Aperta
#287 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
32
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

After https://github.com/AlmaLinux/albs-web-server/pull/792, there is a problem.

albs_test_db_1 container fails to start due to already used port 5432/tcp.

```
Error response from daemon: driver failed programming external connectivity on endpoint albs_test_db_1 (28412eeecc3feff17618ff42efb5a62eac6e673542f5e0e986f7b68ceefa09fd): Bind for 0.0.0.0:5432 failed: port is already allocated

MSG:

non-zero return code

NO MORE HOSTS LEFT ******************************************************************************************************************

PLAY RECAP **************************************************************************************************************************
albs_on_one_vm : ok=27 changed=10 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0
```

`test_db` service added by https://github.com/AlmaLinux/albs-web-server/pull/792 listens 5432/tcp despite the port is already used by `db` service.

* https://github.com/AlmaLinux/albs-web-server/blob/master/docker-compose.yml#L5-L10
* https://github.com/AlmaLinux/albs-web-server/blob/master/docker-compose.yml#L23-L38

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.