diff options
author | John Garbutt <john@johngarbutt.com> | 2013-03-14 15:41:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-05-15 14:13:06 +0000 |
commit | 72e75dbcea66e6e4e2b0f5a931dcd647b2032ad6 (patch) | |
tree | 652f3a37e97a713ace7a016566dbcd1ad3be42df /nova/utils.py | |
parent | af7823f5e7d4533f35841936a6c6fe1cdece6233 (diff) | |
download | nova-72e75dbcea66e6e4e2b0f5a931dcd647b2032ad6.tar.gz nova-72e75dbcea66e6e4e2b0f5a931dcd647b2032ad6.tar.xz nova-72e75dbcea66e6e4e2b0f5a931dcd647b2032ad6.zip |
xenapi: ensure vdi is not too big when resizing down
Fix for bug 1155066
This change adds some rollback into the resize disk down
code within xenapi, and reports a better error message
when the disk is too big to resize down.
On a successful rollback, the user is notified of the error
by the instance actions, rather than leaving
the server in the error state.
The user is then able to free up some disk space such that
the resize can work correctly.
Change-Id: Ibad568ab3cfb9caaf4fe002572c8cda973d501a7
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions