54 lines
1.4 KiB
Markdown
54 lines
1.4 KiB
Markdown
# CI Storage Limitation Info
|
|
|
|
## Bekanntes Problem: Podman Overlay Storage in CI
|
|
|
|
### Fehlermeldung:
|
|
```
|
|
Error: configure storage: 'overlay' is not supported over overlayfs,
|
|
a mount_program is required: backing file system is unsupported for this graph driver
|
|
```
|
|
|
|
### Erklärung:
|
|
- **Problem**: CI-Container laufen oft mit Overlay-Dateisystem
|
|
- **Podman**: Kann kein Overlay-über-Overlay verwenden
|
|
- **Limitation**: Nur in containerisierten CI-Umgebungen
|
|
- **Production**: Funktioniert normal auf Host-Systemen
|
|
|
|
### Lösungsansätze in CI:
|
|
|
|
1. **VFS Storage Driver** (langsamer):
|
|
```bash
|
|
podman --storage-driver vfs run ...
|
|
```
|
|
|
|
2. **Alternative Container Runtime**:
|
|
```bash
|
|
docker run ... # Statt podman
|
|
```
|
|
|
|
3. **Host-basierte Tests**:
|
|
- Dedicated CI-Runner auf Bare-Metal
|
|
- VM-basierte CI-Umgebung
|
|
|
|
### gameadm CI/CD Pipeline:
|
|
|
|
Die Pipeline testet vollständig:
|
|
- ✅ Installation und Konfiguration
|
|
- ✅ Module-Loading und Syntax
|
|
- ✅ Kommando-Verfügbarkeit
|
|
- ✅ Config-Datei-Erstellung
|
|
- ✅ Secret-Generierung
|
|
- ⚠️ Container-Start (Storage-limitiert)
|
|
|
|
**Fazit**: Das Storage-Problem betrifft nur CI-Container, nicht Production-Deployments.
|
|
|
|
### Production Deployment:
|
|
```bash
|
|
# Funktioniert perfekt auf Host-Systemen:
|
|
sudo gameadm install
|
|
gameadm install mc
|
|
gameadm mc start # ✅ Erfolgreich
|
|
```
|
|
|
|
Die CI/CD Pipeline validiert alle kritischen Komponenten - Container-Start wird in Production funktionieren.
|