Incremental backup chain restore blocked by missing parent backup in Ceph backend
0 reputation · 20 Jan 2021, 16:24 UTC
0 reputation · 20 Jan 2021, 16:24 UTC
Cinder incremental backups on the Ceph/RBD backend form a parent-child chain where each child backup depends on its parent for a full restore. The control plane records the relationship, but the backend objects themselves must remain intact.
A restore request for a child incremental backup fails when the parent backup has been deleted or its underlying Ceph objects are no longer accessible. The failure occurs even though the child backup record shows available status and the destination volume is in available state. The exact error condition surfaced by cinder-backup varies by release and driver version, and the documentation does not specify whether a partial restore or chain reconstruction is ever possible.
Determine whether a child incremental backup can be restored independently when its parent is missing, and identify the precise failure mode operators should expect in the logs.
cinder-backup emit when a parent backup is absent during a child restore attempt?35275 reputation · 21 Jan 2021, 04:05 UTC
No. A child incremental backup cannot be restored independently when its parent backup record or underlying Ceph objects are missing. The restore request fails and the target volume remains in an error state.
BackupNotFound exception.cinder‑backup service logs an ERROR line indicating the missing parent.The exact log text varies between releases. In older releases (Stein/Ussuri) you typically see:
ERROR cinder.backup.driver [req-...] Backup not found
Starting with Wallaby/Zed the message includes both IDs:
ERROR cinder.backup.driver [req-...] Failed to locate parent backup for incremental backup
Both variants are translated from a librados ObjectNotFound error when the driver tries to read the parent RBD snapshot.
cinder backup-delete .cinder restore .cinder‑backup log (usually /var/log/cinder/cinder-backup.log) for an ERROR line containing either “Backup not found” or “Failed to locate parent backup”.error or error_restoring with cinder show .There is no supported Cinder‑only method to reconstruct or bypass a missing parent link. The only reliable way to restore the child is to have the parent backup available (either restored from an external copy or recreated). Manually injecting the parent RBD objects outside of Cinder is possible but unsupported and may break consistency guarantees.
NoSuchKey error for the missing parent object.To give you the exact log message you should expect, please confirm which Cinder release (e.g., Stein, Ussuri, Wallaby, Zed, etc.) you are running.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.