Podman Support Issues in install.sh
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- docker, docker-compose, shell
- Área
- devops, infrastructure
Línea de trabajo
Comienza con install/_detect-container-engine.sh y install/dc-detect-version.sh, y luego sigue bootstrap-s3-profiles.sh y start_service_and_wait_ready en el flujo de instalación. Reproduce una instalación nueva con Podman 4.9.3 y podman-compose 1.5.0, comprobando la detección del motor, la activación del perfil, la coherencia de los pods, el mensaje de éxito y el comportamiento de la advertencia del registro; se considera terminado cuando ya no se producen los fallos bloqueantes indicados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Shell
- Estrellas
- 9.7k
- Forks
- 2k
- Merge medio
- 3 d 2 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/self-hosted
-
Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsentry/self-hosted#4644 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
getsentry/self-hosted#4518 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
Waiting for: Product Owner
Dificultad 3/5 1-2 días Aptitud para principiantes 73/100
getsentry/self-hosted#4642 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
Waiting for: Community
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
getsentry/self-hosted#4637 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Waiting for: Product Owner
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
getsentry/self-hosted#4634 ·
Los mantenedores suelen responder en 2 días
Todos los issues de getsentry/self-hosted
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ajithakdev/claude-desktop-rpm#43 ·
Los mantenedores suelen responder en 1 día
-
documentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aws/aws-networking-best-practices#256 ·
Los mantenedores suelen responder en 2 días
-
area:terraform source:reader type:content-error
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
stephrobert/blog-roadmap#268 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
ChatGPT directory is behind mainAbiertoopenai-directory
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100