Downloaded diagnostic bundle is empty
Recover empty diagnostic bundle files by restarting the diagnostics service pod to reclaim storage space on the full log persistent volume claim.
Condition
The downloaded diagnostic bundle contains no data, and log collection processes fail to write files because the /var/log persistent volume claim (PVC) reaches 100% capacity.
Cause
The diagnostics service leaks a file descriptor during each retention-prune
cycle. When the prune_old_log_directories process removes old
day-stamped log directories, cached FileWriter entries for
those paths are not invalidated. The file descriptors remain open against
unlinked inodes, causing unreachable bytes to accumulate and saturate the volume
storage.
Remedy
You must restart the diagnostics pod to terminate the process holding the leaked file descriptors, which allows the kernel to reclaim space and free the volume.
