diff options
author | Chet Burgess <cfb@metacloud.com> | 2013-05-09 09:57:28 +0000 |
---|---|---|
committer | Chet Burgess <cfb@metacloud.com> | 2013-05-10 11:47:06 -0700 |
commit | 44a8aba1d5da87d54db48079103fdef946666d80 (patch) | |
tree | 57e20930acf59734ca9388f3ff07308f15542966 /nova/utils.py | |
parent | af90386cecb6036bbae93918b83f6db242518b75 (diff) | |
download | nova-44a8aba1d5da87d54db48079103fdef946666d80.tar.gz nova-44a8aba1d5da87d54db48079103fdef946666d80.tar.xz nova-44a8aba1d5da87d54db48079103fdef946666d80.zip |
Check QCOW2 image size during root disk creation
glance can only tell us the size of the file, not the virtual
size of the QCOW2. As such we need to check the virtual size of
the image once its cached and ensure it's <= to the flavor's
root disk size.
Change-Id: I833467284126557eb598b8350a84e10c06292fa9
Fixes: bug 1177830
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions