mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 04:33:36 +09:00
The NFS publish path temp-mounts the export root to create /data and migrate old files, then removes the temp dir in a defer that dropped the error. When the unmount before it fails, the removal fails on a busy mount point and the leftover dir under the node's temp dir went unreported. The failure is logged rather than returned: a leftover temp dir does not make the volume unusable, and failing an otherwise good publish would only make kubelet retry it. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd