diff options
author | Wangpan <hzwangpan@corp.netease.com> | 2012-12-06 15:13:54 +0800 |
---|---|---|
committer | Wangpan <hzwangpan@corp.netease.com> | 2012-12-20 10:11:29 +0800 |
commit | 9eadd4fdf4a76a9ea92790a6c4aa20d0aa32ef86 (patch) | |
tree | a1687b093ae2c8beb8a5c7de5eb82a872e47943f /nova/utils.py | |
parent | 4e1634df7f47a181db80c709abaf60652b4a7e11 (diff) | |
download | nova-9eadd4fdf4a76a9ea92790a6c4aa20d0aa32ef86.tar.gz nova-9eadd4fdf4a76a9ea92790a6c4aa20d0aa32ef86.tar.xz nova-9eadd4fdf4a76a9ea92790a6c4aa20d0aa32ef86.zip |
Fix revert resize failure with disk.local not found
If we resize an instance from a flavor without ephemeral disk to a flavor
with it, it resizes OK, but if we revert this resize, the instance fail to
spawn with error disk.local not found.
The reason is that the libvirt driver get the wrong resized flavor from
instance, so the flavor info of instance should be updated before instance
spawns.
Fixes: bug #1086688
Change-Id: I2c54586803c60baab7f20297b309a8e6c4134d13
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions