yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82382
[Bug 1843643] Re: VM on encrypted boot volume fails to start after compute host reboot
OK, I'm going to close this bug as Invalid since it appears as a
configuration issue. This being said, feel free to provide such
credentials to nova.conf and test again to see if that resolves your
issue. If that doesn't, please reopen the bug [1] with another
stacktrace that would help us to better categorize.
Thanks,
-Sylvain
[1] in order to reopen a bug, you need to set its status to New.
** Changed in: nova
Status: New => Invalid
--
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/1843643
Title:
VM on encrypted boot volume fails to start after compute host reboot
Status in OpenStack Compute (nova):
Invalid
Bug description:
Description
===========
Create volume from image and boot instance, all good.
https://docs.openstack.org/newton/user-guide/cli-nova-launch-instance-
from-volume.html
Restart the compute host, VM fails to start. Manually run nova hard
reboot is able to recover.
The root cause is nova uses admin_context upon compute reboot to
resume VMs, admin_context does not have the information for libvirt to
start the VM.
Manual nova hard reboot can be used as a walk-around, but auto-resume
is ideal.
Steps to reproduce
==================
1. Create volume from image and boot instance
2. Restart the compute host
Expected result
===============
VM is restarted after compute host reboot.
Actual result
=============
VM failed to restart
Environment
===========
1. Nova context used by manual nova hard reboot
2019-09-11 17:20:52.314 9 ERROR nova.volume.cinder [req-8467f506-fbce-
447a-a5a2-63e048dedf43 97b696e8d26f4cd4bc5f3352981e9987
dd838c0dfb2540e39ca34ab44ecbc58f - default default] <Context
{'domain': None, 'project_name': u'admin', 'global_request_id': None,
'project_domain': u'default', 'timestamp':
'2019-09-11T14:20:50.934650', 'auth_token': u
'gAAAAABdeQLBRlA0ILJP9K6qNXhULB5IbnLNtES-
NwHfNvjBbF0oo8P5NL3o2VToxUpPV30RsUem8z4GGiSo9KvYNwipZk4aKEIQhKmHV2p6LPyc_Df09WX56qUJGFR0O1zww9__StDaWVTlGTlX10FuEikl2dJd_E3ptViIxsE4jrIdjaZbcyw',
'remote_address': u'172.17.1.19', 'quota_class': None,
'resource_uuid': None, 'is_admin': True, 'user':
u'97b696e8d26f4cd4bc5f3352981e9987', 'service_catalog':
[{u'endpoints': [
{u'adminURL': u'http://172.17.1.27:9696', u'region': u'regionOne', u'internalURL': u'http://172.17.1.27:9696', u'publicURL': u'https://10.75.239.200:13696'}
], u'type': u'network', u'name': u'neutron'}, {u'endpoints': [
{u'adminURL': u'http://172.17.1.27:9292', u'region': u'regionOne', u'internalURL': u'http://172.17.1.27:9292', u'publicURL': u'https://10.75.239.200:13292'}
], u'type': u'image', u'name': u'glance'}, {u'endpoints': [
{u'adminURL': u'https://172.17.1.27:9311', u'region': u'regionOne', u'internalURL': u'https://172.17.1.27:9311', u'publicURL': u'https://172.17.1.27:9311'}
], u'type': u'key-manager', u'name': u'barbican'}, {u'endpoints': [
{u'adminURL': u'http://172.17.1.27:8778/placement', u'region': u'regionOne', u'internalURL': u'http://172.17.1.27:8778/placement', u'publicURL': u'https://10.75.239.200:13778/placement'}
], u'type': u'placement', u'name': u'placement'}, {u'endpoints': [
{u'adminURL': u'http://172.17.1.27:8776/v3/dd838c0dfb2540e39ca34ab44ecbc58f', u'region': u'regionOne', u'internalURL': u'http://172.17.1.27:8776/v3/dd838c0dfb2540e39ca34ab44ecbc58f', u'publicURL': u'https://10.75.239.200:13776/v3/dd838c0dfb2540e39ca34ab44ecbc58f'}
], u'type': u'volumev3', u'name': u'cinderv3'}], 'tenant': u'dd838c0dfb2540e39ca34ab44ecbc58f', 'read_only': False, 'project_id': u'dd838c0dfb2540e39ca34ab44ecbc58f', 'user_id': u'97b696e8d26f4cd4bc5f3352981e9987', 'show_deleted': False, 'system_scope': None, 'user_identity': u'97b696e8d26f4cd4bc5f3352981e9987 dd838c0dfb2540e39ca34ab44ecbc58f - default default', 'is_admin_project': True, 'project': u'dd838c0dfb2540e39ca34ab44ecbc58f', 'read_deleted': u'no', 'request_id': u'req-8467f506-fbce-447a-a5a2-63e048dedf43', 'roles': [u'reader', u'_member_', u'admin', u'member'], 'user_domain': u'default', 'user_name': u'admin'}>
2. Nova admin context used by nova upon compute host reboot
2019-09-11 17:20:52.315 9 ERROR nova.volume.cinder [req-8467f506-fbce-
447a-a5a2-63e048dedf43 97b696e8d26f4cd4bc5f3352981e9987
dd838c0dfb2540e39ca34ab44ecbc58f - default default] <Context
{'domain': None, 'project_name': None, 'global_request_id': None,
'project_domain': None, 'timestamp': '2019-09-11T14:20:52.315458',
'auth_token': None, 'remote_address': None, 'quota_class': None,
'resource_uuid': None, 'is_admin': True, 'user': None,
'service_catalog': [], 'tenant': None, 'read_only': False,
'project_id': None, 'user_id': None, 'show_deleted': False,
'system_scope': None, 'user_identity': u'- - - - -',
'is_admin_project': True, 'project': None, 'read_deleted': 'no',
'request_id': 'req-de45bebe-f7db-48fe-bad4-0f95af8dbe6f', 'roles': [],
'user_domain': None, 'user_name': None}>
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1843643/+subscriptions
References