Reviewed: https://review.openstack.org/11572 Committed: http://github.com/openstack/nova/commit/d40c75fa16e3a302a90c9edd29be6707012b21bd Submitter: Jenkins Branch: master
commit d40c75fa16e3a302a90c9edd29be6707012b21bd Author: Dan Prince <email address hidden> Date: Fri Aug 17 14:50:42 2012 -0400
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
Reviewed: https:/ /review. openstack. org/11572 github. com/openstack/ nova/commit/ d40c75fa16e3a30 2a90c9edd29be67 07012b21bd
Committed: http://
Submitter: Jenkins
Branch: master
commit d40c75fa16e3a30 2a90c9edd29be67 07012b21bd
Author: Dan Prince <email address hidden>
Date: Fri Aug 17 14:50:42 2012 -0400
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: I25782b79a7b190 13b25cb94cc5569 b5aa83a2df0