deb-cinder/cinder/image
Yuriy Nesenenko e6fdc05e28 Image virtual size doesn't fit to volume size
Glance gives images' sizes in bytes. But virtual size of image can have
different value when image created in another format (e.g. qcow2) then
raw. Raise exception when trying create volume from an image bigger size
then volume size.

This commit uses fake value image_id from cinder/tests/unit/fake_constants.py
to clean up this test module consistent with similar cleanups in the codebase.

Closes-Bug: #1599147
Change-Id: Ia8f644ac59c4ee05742ec8ce5affa682e9a90a78
2016-07-11 12:46:09 +03:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
cache.py Fix image-volume cache to use volume object when evicting 2016-05-23 21:06:47 -07:00
glance.py Fix some typos 2016-07-05 15:11:39 +02:00
image_utils.py Image virtual size doesn't fit to volume size 2016-07-11 12:46:09 +03:00