support create volume from instance snapshot image
If a instance boot from volume, snapshot the instance will create a image in glance and create a volume snapshot in cinder. The image size is 0, it just a link to the volume snapshot. When the user create volume from the snapshot image, in the current version, it will create a blank volume. so the user is troubled. This BP intends to improve the interface.
The scheme is as follows:
when the user create volume from snapshot image, the api create interface will parse out the snapshot image corresponds to the volume snapshot id. Then create a volume from the volume snapshot. So, the user can use this way to restore the instance's bootable volume.
I have Registered a bug https:/
the code review link is: https:/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- YaoZheng_ZTE
- Direction:
- Needs approval
- Assignee:
- YaoZheng_ZTE
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Sean McGinnis
Related branches
Related bugs
Sprints
Whiteboard
No BP needed. Please proceed with the review and keep it linked to the bug report. That should be sufficient.