commit 4e93523fbce953228be276aca0f70a53fcaaad14
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
(cherry picked from commit 1ca191fcc4d809c991c23dedc951bbe7206edf1d)
Reviewed: https:/ /review. openstack. org/515404 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4e93523fbce 953228be276aca0 f70a53fcaaad14
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 4e93523fbce9532 28be276aca0f70a 53fcaaad14
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 991c23dedc951bb e7206edf1d)
Closes-Bug: #1726871
(cherry picked from commit 1ca191fcc4d809c