Comment 10 for bug 1784093

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

Reviewed: https://review.opendev.org/586742
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=85f8d033d27b31a6398529e0a25da74eae523b08
Submitter: Zuul
Branch: master

commit 85f8d033d27b31a6398529e0a25da74eae523b08
Author: Mohammed Naser <email address hidden>
Date: Fri Jul 27 21:09:22 2018 -0400

    Create request spec, build request and mappings in one transaction

    The transaction context is currently not shared when creating the
    RequestSpec, BuildRequest and InstanceMapping. Because of this,
    it is possible that the database ends in an inconsistent state
    due to the fact that one of these was created and the system
    crashed afterwards.

    This patch adds a function which handles the creation of all those
    resources in a single transaction.

    Co-Authored-By: melanie witt <email address hidden>

    Closes-Bug: #1784093

    Change-Id: If897a0d721180152ebdceb7a0c23e8f283ce6d10