SEV enabled instance unable to hard reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Lee Yarwood |
Bug Description
Description
===========
Hard rebooting a SEV enabled instance fails with a NotImplementedError raised as the image_meta stashed in the system_metadata of the instance doesn't contain the image name or id:
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
2021-05-10 16:50:24.847 7 ERROR oslo_messaging.
Steps to reproduce
==================
Hard reboot a SEV enabled instance.
Expected result
===============
Instance hard reboots as expected.
Actual result
=============
Instance fails to reboot with a NotImplementedError exception raised.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
stable/train but likely the same on master.
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
libvirt + KVM
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
N/A
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
Logs & Configs
==============
Changed in nova: | |
importance: | Undecided → Medium |
Related fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /790658
Review: https:/