Podman Support Issues in install.sh
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- docker, docker-compose, shell
- Ambito
- devops, infrastructure
Direzione di ricerca
Inizia con install/_detect-container-engine.sh e install/dc-detect-version.sh, quindi segui bootstrap-s3-profiles.sh e start_service_and_wait_ready nel flusso di installazione. Riproduci una nuova installazione con Podman 4.9.3 e podman-compose 1.5.0, verificando il rilevamento del motore, l’attivazione del profilo, la coerenza dei pod, l’indicazione di successo e il comportamento dell’avviso del registro; il lavoro è completato quando i problemi bloccanti elencati non si verificano più.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Self-Hosted Version
26.5.1
CPU Architecture
x86_64
Docker Version
N/A (using Podman 4.9.3)
Docker Compose Version
NA (using Podman Compose 1.5.0)
Machine Specification
- My system meets the minimum system requirements of Sentry
Installation Type
Fresh Install
Steps to Reproduce
- Install podman and podman-compose (not docker)
- Run ./install.sh
Expected Result
install.sh detects podman and proceeds
Actual Result
Running self-hosted 26.5.1 with Podman 4.9.3 + podman-compose 1.5.0 (no Docker installed) revealed several blocking issues:
- Container engine detection has no podman fallback
install/_detect-container-engine.sh only selects podman if CONTAINER_ENGINE_PODMAN=1 is set. Otherwise, it falls through to the docker check and fails with FAIL: Neither podman nor docker is installed on the system. even when podman is on PATH.
Fix: Add an elif command -v podman fallback before the error. - dc-detect-version.sh unconditionally overrides CONTAINER_ENGINE
install/dc-detect-version.sh:11 always sets export CONTAINER_ENGINE="docker", discarding whatever was detected in step 1. If CONTAINER_ENGINE_PODMAN is not 1, it then checks for docker compose / docker-compose (which don't exist) and fails with FAIL: Docker|Podman Compose is required to run self-hosted.
Fix: Only default to docker if CONTAINER_ENGINE is not already set. - Podman-compose doesn't read COMPOSE_PROFILES from --env-file
bootstrap-s3-profiles.sh calls start_service_and_wait_ready vroom, but vroom is behind profiles: feature-complete in docker-compose.yml. Docker Compose reads COMPOSE_PROFILES=feature-complete from the env file and auto-activates the profile. Podman-compose 1.5.0 does not, resulting in WARNING: podman_compose: missing services [vroom].
Fix: Pass --profile=feature-complete explicitly to $dc up in the podman branch of start_service_and_wait_ready. - Pod creation inconsistency between $dc up and $dcr
start_service_and_wait_ready calls $dc up (creates pods by default), but $dcr uses --in-pod=false. Later, $dcr web upgrade --create-kafka-topics fails because dependency containers exist inside pods while the run container is outside:
Error: container dependency is part of a pod, but container is not: invalid argument
Fix: Add --in-pod=false to the $dc variable itself for podman, so all compose commands are consistent. - up --wait not supported by podman-compose
The install success hint prints podman compose ... up --wait, but podman-compose 1.5.0 does not support --wait. This requires up --force-recreate -d instead. - Podman needs docker.io as an unqualified search registry
Fresh podman installations have no unqualified-search-registries set in /etc/containers/registries.conf, causing failures like:
Error: creating build container: short-name "altinity/clickhouse-server:25.3.6.10034.altinitystable" did not resolve to an alias and no unqualified-search registries are defined
Mitigation: User must add unqualified-search-registries = ["docker.io"] to their registries config. (This is a podman configuration concern, but the install script could detect and warn.)
Event ID
No response
- Lingua principale
- Shell
- Stelle
- 9.7k
- Fork
- 2k
- Merge medio
- 3g 2h
- PR unite (30g)
- 16
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/self-hosted
-
Waiting for: Product Owner
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
getsentry/self-hosted#4644 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
getsentry/self-hosted#4518 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
Waiting for: Product Owner
Difficoltà 3/5 1-2 giorni Idoneità per principianti 73/100
getsentry/self-hosted#4642 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
Waiting for: Community
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
getsentry/self-hosted#4637 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Waiting for: Product Owner
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
getsentry/self-hosted#4634 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di getsentry/self-hosted
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ajithakdev/claude-desktop-rpm#43 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
aws/aws-networking-best-practices#256 ·
I maintainer di solito rispondono entro 2 giorni
-
area:terraform source:reader type:content-error
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
stephrobert/blog-roadmap#268 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100