diff options
author | Dan Prince <dprince@redhat.com> | 2012-08-17 14:50:42 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2012-08-17 14:55:25 -0400 |
commit | d40c75fa16e3a302a90c9edd29be6707012b21bd (patch) | |
tree | ff9ae15b7a792c42906e853fbdbdd2d47f77ef57 /nova/notifications.py | |
parent | 275b97a33a843be620cd348796c1d1aac72f007b (diff) | |
download | nova-d40c75fa16e3a302a90c9edd29be6707012b21bd.tar.gz nova-d40c75fa16e3a302a90c9edd29be6707012b21bd.tar.xz nova-d40c75fa16e3a302a90c9edd29be6707012b21bd.zip |
Fix a TypeError that occurs in _reschedule.
Updates the compute manager so that it passes the correct
arguments to the scheduler API's run_instance function.
Fixes the following exception which will occur if an instance
is rescheduled:
TypeError: run_instance() got an unexpected keyword argument
'reservations'
As part the fix the FakeSchedulerAPI we use in test_compute.py
has been updated to match the arguments of the real scheduler API.
Fixes LP Bug #1038193.
Change-Id: I25782b79a7b19013b25cb94cc5569b5aa83a2df0
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions