25dd8109df
The instance boot from volume, snapshot the instance will create a image in glance. 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 patch fix it. The scheme: 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. Change-Id: Ic44dfae8bb187a5aa9c2c1f50f7b5dc0ef0f28f8 Closes-Bug: #1560867 |
||
---|---|---|
.. | ||
__init__.py | ||
fake.py | ||
test_cache.py | ||
test_glance.py |