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.
Reviewed: https:/ /review. openstack. org/514825 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1ca191fcc4d 809c991c23dedc9 51bbe7206edf1d
Committed: https:/
Submitter: Zuul
Branch: master
commit 1ca191fcc4d809c 991c23dedc951bb e7206edf1d
Author: Matt Riedemann <email address hidden>
Date: Tue Oct 24 16:45:57 2017 -0400
Fix AttributeError in BlockDeviceMapp ing.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:
I1dc54a38 f02bb48921bcbc4 c2fdcc2c946e783 c1
So this change fixes that bug and adds tests for obj_load_attr.
Change-Id: I8b55227b1530a7 6c2f396c035384a bd89237d936
Closes-Bug: #1726871