diff options
author | Tiago Mello <tmello@linux.vnet.ibm.com> | 2013-06-05 20:25:12 -0300 |
---|---|---|
committer | Tiago Mello <tmello@linux.vnet.ibm.com> | 2013-06-05 21:45:01 -0300 |
commit | 1a3cf98038ecb431fe2986824ad9740e7ca8b8f9 (patch) | |
tree | f68d2368c5250f814a4da462961b7beaaed1a7ee /nova/utils.py | |
parent | 86e12403ccb851199457bd0eaadc3f1d3c75679f (diff) | |
download | nova-1a3cf98038ecb431fe2986824ad9740e7ca8b8f9.tar.gz nova-1a3cf98038ecb431fe2986824ad9740e7ca8b8f9.tar.xz nova-1a3cf98038ecb431fe2986824ad9740e7ca8b8f9.zip |
Converts 'image' to json primitive on compute.rpcapi.prep_resize
The 'image' should be converted to primitive since it contains
complex structures. Today it works because it relies on
scheduler.rpcapi.prep_resize which does the conversion.
This is part of other changes that will move resize/cold migration
to conductor. scheduler.rpcapi.prep_resize will be moved and then
compute.rpcapi.prep_resize has to properly convert parameters.
Partially implements bp cold-migrations-to-conductor
Change-Id: Id89896bfb379ab9eb8bf13c3513b9290d88408fd
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions