fix(ci): give every node its own zfs pool name

ZFS pools live in the kernel's namespace, which the five lab node containers share, and compose/swarm/playbook.yml runs this script on hosts: all. Each created the same 'infinito_ci', so the first would win and the other four would die on 'pool already exists' under set -e. Only resolve.sh dropping zfs for arch/centos/fedora nodes has kept that out of sight; a dispatch limited to debian or ubuntu exposes it.

The mountpoint needs no suffix: mount namespaces are not shared, only the pool name is global.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5 committed 2026-08-01 14:27:14 +02:00
1 parent c10c1b90ab
commit 234c1158c1
1 file changed
+2 -1
@@ -20,7 +20,8 @@ SIZE="${3:-30G}"
MOUNT=/mnt/docker-fs
IMAGE=/var/tmp/docker-fs.img
POOL=infinito_ci
POOL_HOST="$(hostname 2>/dev/null || echo unknown)"
POOL="infinito_ci_$(printf '%s' "${POOL_HOST}" | tr -dc 'A-Za-z0-9_.:-')"
DAEMON=/etc/docker/daemon.json
report() { echo "docker-dataroot-filesystem: $*"; }