Currently a request for multiple instances issent to the scheduler,
where it is written to the database. It appears that this was done so
that more advanced schedulers could handle the request as one
batch, but the result is the scheduler is sometimes slow enough
that the call will timeout.
Instead this converts to always creating the instance records
locally and making run_instance into a casting instead of a call.
This made a small change to the rpc api for run instance, so the
version was bumped. Legacy messages are still handled properly.
Reviewed: https:/ /review. openstack. org/11379 github. com/openstack/ nova/commit/ 8718f8e47d7d050 4724495538eb320 be3e209180
Committed: http://
Submitter: Jenkins
Branch: master
commit 8718f8e47d7d050 4724495538eb320 be3e209180
Author: Vishvananda Ishaya <email address hidden>
Date: Tue Aug 14 17:59:06 2012 -0700
Always create the run_instance records locally
Currently a request for multiple instances issent to the scheduler,
where it is written to the database. It appears that this was done so
that more advanced schedulers could handle the request as one
batch, but the result is the scheduler is sometimes slow enough
that the call will timeout.
Instead this converts to always creating the instance records
locally and making run_instance into a casting instead of a call.
This made a small change to the rpc api for run instance, so the
version was bumped. Legacy messages are still handled properly.
Fixes bug 1036911
Co-authored-by: Chris Behrens <email address hidden>
Change-Id: I63bbc98c285fae bec53f8e62857c0 1548807db68