docs(runbook): fix the image snapshot-reference check #502
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!502
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "docs/runbook-image-snapshot-check"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
The runbook's check for "is any Glance image booting from this snapshot?" never matched anything.
block_device_mappingis a JSON string inside the image JSON, so its quotes arrive escaped as\". The oldtr -d '\"' | greppipeline left the backslashes in place, thesnapshot_id: ?regex failed, and the command printed nothing. Empty output reads as "nothing references this snapshot", which is the unsafe answer.The check now parses the field with jq and prints
<image> <snapshot-id>. Verified against production on 2026-09-28: it printsgitborg-runner 4daabf1b-…. The old command printed nothing for the same image.scripts/bake-runner-image.shwas not affected. It strips backslashes as well as quotes.Docs only. No apply needed.