Comment 2 for bug 1036911

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/11379
Committed: http://github.com/openstack/nova/commit/8718f8e47d7d0504724495538eb320be3e209180
Submitter: Jenkins
Branch: master

commit 8718f8e47d7d0504724495538eb320be3e209180
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: I63bbc98c285faebec53f8e62857c01548807db68