Comment 3 for bug 1726871

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

Reviewed: https://review.openstack.org/514825
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1ca191fcc4d809c991c23dedc951bbe7206edf1d
Submitter: Zuul
Branch: master

commit 1ca191fcc4d809c991c23dedc951bbe7206edf1d
Author: Matt Riedemann <email address hidden>
Date: Tue Oct 24 16:45:57 2017 -0400

    Fix AttributeError in BlockDeviceMapping.obj_load_attr

    The BDM has no uuid attribute so the debug message in here
    would result in an AttributeError. This has been around since
    the creation of this object, and the debug log message was
    probably copied from the Instance object.

    This was only exposed in Pike when this code started
    lazy-loading the instance field:

      I1dc54a38f02bb48921bcbc4c2fdcc2c946e783c1

    So this change fixes that bug and adds tests for obj_load_attr.

    Change-Id: I8b55227b1530a76c2f396c035384abd89237d936
    Closes-Bug: #1726871