diff options
| author | Hans Lindgren <hanlind@kth.se> | 2013-04-11 11:33:38 +0200 |
|---|---|---|
| committer | Hans Lindgren <hanlind@kth.se> | 2013-04-11 12:03:53 +0200 |
| commit | 5f68160354d240b191bcbaabca7d3c0684758cc6 (patch) | |
| tree | b55b4b88d1c6fc534c98de391472a1204613841b /bin/stack | |
| parent | 05f5106c198a596f22adadab1ddf6929ab9c247a (diff) | |
| download | nova-5f68160354d240b191bcbaabca7d3c0684758cc6.tar.gz nova-5f68160354d240b191bcbaabca7d3c0684758cc6.tar.xz nova-5f68160354d240b191bcbaabca7d3c0684758cc6.zip | |
Remove unnecessary db call in scheduler driver live-migration code
When the scheduler selects a destination host for live-migration, a db
call is made to get instance_type info for the instance. To avoid the
db call, this should instead call instance_types.extract_instance_type
on the instance.
Resolves bug 1167811.
Change-Id: I2025fdf1d34e70158360ff71e8545c8e3bc6bc80
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
