summaryrefslogtreecommitdiffstats
path: root/nova/tests/scheduler/test_chance_scheduler.py
diff options
context:
space:
mode:
authorYaguang Tang <yaguang.tang@canonical.com>2013-06-26 15:11:54 +0800
committerYaguang Tang <yaguang.tang@canonical.com>2013-06-26 15:18:09 +0800
commitea6d089d196e2d71eac17a1b0079788a71522cfd (patch)
treee5bff91d3871461b1c02ecb69a43cd3447c2f4ae /nova/tests/scheduler/test_chance_scheduler.py
parentd30de7b13d413f3f4585a6b1d194833e22ceeeaf (diff)
downloadnova-ea6d089d196e2d71eac17a1b0079788a71522cfd.tar.gz
nova-ea6d089d196e2d71eac17a1b0079788a71522cfd.tar.xz
nova-ea6d089d196e2d71eac17a1b0079788a71522cfd.zip
Update instance properties values in child cells to create instance.
When using nova cells, in child cell, instance properties dict received from API cell is returned by database that contains instance['name']. We need to pop this from dict before creating a instance entry in child cell. The system metadata also need to be recreated in child cell because instance properties dict is converted to primitive which makes instance['system_metadata'] a list of dicts. Fix bug #1193552 Change-Id: I43a8b4c1673a831b0c87881004eb0a7e5b149d9e
Diffstat (limited to 'nova/tests/scheduler/test_chance_scheduler.py')
0 files changed, 0 insertions, 0 deletions