Snapshot delete: verify dependent glance images
A volume snapshot can be tied to a Glance Image (for instance, if a user snapshots an instance which was booted from a volume). If the user deletes the volume snapshot afterward, it would break the Glance Image (the image would reference a non-existing snapshot).
This blueprint aims at adding a new boolean parameter to the delete snapshot method of Cinder API. This parameter would dictates whether Cinder should check if the snapshot is used as a base for a Glance Image. If the check is enabled and the snapshot is used by an image, then an exception is raised so that the client is warned.
The check should be disabled by default to preserve backward compatibility. Clients (Horizon, python-
Blueprint information
- Status:
- Complete
- Approver:
- John Griffith
- Priority:
- Low
- Drafter:
- Jordan Pittier
- Direction:
- Approved
- Assignee:
- Jordan Pittier
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- Sean McGinnis
Related branches
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Snapshot delete: verify dependent glance image
Jordan Pittier (22/09/2014) : Abandoned in favor of a client side solution to avoid to query glance from cinder-api.