Files
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
..
2016-07-05 15:11:39 +02:00