yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65574
[Bug 1702150] [NEW] Instance sanitization in InstanceMetadata causes metadata_for_config_drive to fail
Public bug reported:
A recent patch [1] has merged in nova, which sanitizes the nova instance
object, making it picklable. The sanitized instance object no longer has
a _context attribute, which means that lazy-loading attributes are no
longer loadable [2].
This can be an issue whenever a config drive has to be built for an
instance, as InstanceMetadata.metadata_for_config_drive needs some
unloaded attributes (device_metadata).
This issue has been seen to affect mostly rebuild, unshelve, rescue
operations.
[1] https://review.openstack.org/#/c/478991/
[2] http://paste.openstack.org/show/614328/
Logs: http://64.119.130.115/nova/479245/1/Hyper-
V_logs/c2-r21-u36-n02-compute02/nova-compute.log.gz
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1702150
Title:
Instance sanitization in InstanceMetadata causes
metadata_for_config_drive to fail
Status in OpenStack Compute (nova):
New
Bug description:
A recent patch [1] has merged in nova, which sanitizes the nova
instance object, making it picklable. The sanitized instance object no
longer has a _context attribute, which means that lazy-loading
attributes are no longer loadable [2].
This can be an issue whenever a config drive has to be built for an
instance, as InstanceMetadata.metadata_for_config_drive needs some
unloaded attributes (device_metadata).
This issue has been seen to affect mostly rebuild, unshelve, rescue
operations.
[1] https://review.openstack.org/#/c/478991/
[2] http://paste.openstack.org/show/614328/
Logs: http://64.119.130.115/nova/479245/1/Hyper-
V_logs/c2-r21-u36-n02-compute02/nova-compute.log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1702150/+subscriptions
Follow ups