summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-01-29 13:40:40 -0500
committerDan Smith <danms@us.ibm.com>2013-02-04 15:21:47 -0500
commit734b48b85fa76c8932d18b2258aa51169678b81a (patch)
tree1f40ab3218a82f51b0557b326a615f5a3f92548c /nova/utils.py
parent47bbf12a6c9705e5abca29a1d44b753c8506505d (diff)
downloadnova-734b48b85fa76c8932d18b2258aa51169678b81a.tar.gz
nova-734b48b85fa76c8932d18b2258aa51169678b81a.tar.xz
nova-734b48b85fa76c8932d18b2258aa51169678b81a.zip
Fix up instance types in sys meta for resizes
This adds code to the resize paths to update the system_metadata with new (or reverted) flavor information so that resized instances are consistent with normal ones. It also stashes the new and old instance_type information in system_metadata during resize, which allows us to avoid database lookups for type information at finish, confirm, and revert time. Related to blueprint no-db-compute Change-Id: I7f74ef8131be7a60e3a844fdf00fdeb3683f1317
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions