Robot ValidationCatalogNew runDashboardTickets

← Catalog

SW-6 Check disk/image state

DomainsoftwareModule
Priorityhigh Automatedno
TagspreflightRequires
Depends onSW-5 (pass)

Preconditions

Steps

1. Disk space & filesystem health

ssh root@10.42.0.106
df -h /                                     # root filesystem usage
mount | grep ' / '                          # confirm rw, not remounted read-only
dmesg | grep -iE 'I/O error|read-only|ext4|corrupt' | tail

2. Containerd store size & disk backing it

du -sh /var/lib/containerd      # total size of the image/container store right now
crictl images | wc -l           # how many images are present right now
df -h /var/lib/containerd        # free space + % used on the disk backing that store

3. Running image matches the deployed tag's registry digest

export CONTAINER_RUNTIME_ENDPOINT=unix:///run/k3s/containerd/containerd.sock
C=$(crictl ps -q --name release-aru | head -1)
crictl inspect $C | grep imageRef               # local digest, e.g. @sha256:...
crictl images --digests | grep <deployed-tag>   # registry digest for same tag
# the two must match — a mismatch = stale image under a reused tag

4. Expected payloads present in the image

crictl exec $C ls /firmware      # expect: actuators  modules  elec_stacks

Expected

no I/O / read-only / corruption errors in dmesg; ≥ 100 GB free on that disk.

present (crictl images -q | wc -l ≤ 5) — no runaway accumulation of stale images.

deployed tag (no stale image under a reused tag).