Comment 10 for bug 1018721

Reviewed: https://review.openstack.org/9642
Committed: http://github.com/openstack/nova/commit/4d74631659b1b6e5b29b763cd808528946cb3721
Submitter: Jenkins
Branch: stable/essex

commit 4d74631659b1b6e5b29b763cd808528946cb3721
Author: Vishvananda Ishaya <email address hidden>
Date: Tue Jul 3 14:50:11 2012 -0700

    Avoid lazy-loading errors on instance_type

    When instances are launched with a source group, the instance_type
    is not lazy_loaded in properly.

    The issue is intermittent because if another query has already loaded
    the instance with a joined instance_type or the instance has not
    yet been expunged from the session, then the load succeeds.

    Therefore this failure only appears under heavy load. Adding an
    explicit joindload fixes the issue.

    fixes bug 1018721

    Change-Id: I450c598c31c416c7be341cbb8cd14e33c6bb2aec
    (cherry picked from commit 2ef0dcfac78468551aac8492269ad856c312dcb5)