yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85714
[Bug 1913308] Re: test failure UEFI is not supported
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]
** Changed in: nova
Status: Incomplete => Expired
--
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/1913308
Title:
test failure UEFI is not supported
Status in OpenStack Compute (nova):
Expired
Bug description:
Launch an instance test failure UEFI is not supported
Software environment:
1.ARM64
2.root@openstcontroller:~# uname -a
Linux openstcontroller 4.15.0-130-generic #134-Ubuntu SMP Tue Jan 5 20:43:12 UTC 2021
3.root@openstcontroller:~# cat /proc/version
Linux version 4.15.0-130-generic (buildd@bos02-arm64-033) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #134-Ubuntu SMP Tue Jan 5 20:43:12 UTC 2021
4.system device
root@openstcontroller:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 446.1G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 445.6G 0 part
├─ubuntu--vg-root 253:0 0 444.7G 0 lvm /
└─ubuntu--vg-swap_1 253:1 0 980M 0 lvm [SWAP]
sdb 8:16 0 838.4G 0 disk
└─sdb1 8:17 0 838.4G 0 part
Nova version on controller node:
>>add-apt-repository cloud-archive:stein
>>apt update
>>apt dist-upgrade
root@openstcontroller:~# apt install nova-api nova-conductor nova-consoleauth nova-novncproxy nova-scheduler
Reading package lists... Done
Building dependency tree
Reading state information... Done
nova-api is already the newest version (2:19.3.1-0ubuntu1~cloud0).
nova-conductor is already the newest version (2:19.3.1-0ubuntu1~cloud0).
nova-consoleauth is already the newest version (2:19.3.1-0ubuntu1~cloud0).
nova-novncproxy is already the newest version (2:19.3.1-0ubuntu1~cloud0).
nova-scheduler is already the newest version (2:19.3.1-0ubuntu1~cloud0).
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
Nova-compute version on compute node:
>>add-apt-repository cloud-archive:stein
root@openstcompute:~# apt install nova-compute
Reading package lists... Done
Building dependency tree
Reading state information... Done
nova-compute is already the newest version (2:19.3.1-0ubuntu1~cloud0).
0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
Image status:
root@openstcontroller:~$ openstack image list
+--------------------------------------+--------+--------+
| ID | Name | Status |
+--------------------------------------+--------+--------+
| 31062864-3d85-47a6-9d12-3e34c486f895 | cirros | active |
+--------------------------------------+--------+--------+
Network status:
root@openstcontroller:~$ openstack network list
+--------------------------------------+----------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+----------+--------------------------------------+
| 79f8a596-e70f-48b3-9f7a-803ee4902338 | provider | aa85b76f-5e68-4b0e-aff7-812f84fa7c24 |
+--------------------------------------+----------+--------------------------------------+
Instance status:
root@openstcontroller:~$ openstack server list
+--------------------------------------+-----------+--------+----------+--------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-----------+--------+----------+--------+---------+
| 8a4752f1-105f-46ee-a0bc-e8941a04aadc | instance1 | ERROR | | cirros | m1.nano |
+--------------------------------------+-----------+--------+----------+--------+---------+
Horizon log show:
Name
provider-instance
ID
fa724579-3d50-4edd-b2af-8e9024b41b0a
Description
provider-instance
Project ID
08ebf61acd6d41039d7407fb2d1b61e7
Status
Error
Locked
False
Availability Zone
-
Created
Jan. 26, 2021, 5:13 a.m.
Age
9 minutes
Fault
Message
Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance fa724579-3d50-4edd-b2af-8e9024b41b0a.
Code
500
Details
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nova/conductor/manager.py", line 645, in build_instances raise exception.MaxRetriesExceeded(reason=msg) nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance fa724579-3d50-4edd-b2af-8e9024b41b0a.
nova-compute log show:
2021-01-26 00:13:42.073 58968 INFO nova.compute.manager [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Terminating instance
2021-01-26 00:13:42.089 58968 INFO nova.virt.libvirt.driver [-] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Instance destroyed successfully.
2021-01-26 00:13:42.092 58968 INFO os_vif [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] Successfully unplugged vif VIFBridge(active=False,address=fa:16:3e:2f:17:f8,bridge_name='brq79f8a596-e7',has_traffic_filtering=True,id=090823bd-c7a1-4836-87d8-4432631ea3f6,network=Network(79f8a596-e70f-48b3-9f7a-803ee4902338),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tap090823bd-c7')
2021-01-26 00:13:42.096 58968 INFO nova.virt.libvirt.driver [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Deleting instance files /var/lib/nova/instances/fa724579-3d50-4edd-b2af-8e9024b41b0a_del
2021-01-26 00:13:42.097 58968 INFO nova.virt.libvirt.driver [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Deletion of /var/lib/nova/instances/fa724579-3d50-4edd-b2af-8e9024b41b0a_del complete
2021-01-26 00:13:42.288 58968 INFO nova.compute.manager [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Took 0.21 seconds to destroy the instance on the hypervisor.
2021-01-26 00:13:42.575 58968 INFO nova.virt.libvirt.driver [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] CPU mode "host-passthrough" was chosen. Live migration can break unless all compute nodes have identical cpus. AArch64 does not support other modes.
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Failed to build and run instance: nova.exception.UEFINotSupported: UEFI is not supported
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Traceback (most recent call last):
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 2353, in _build_and_run_instance
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] block_device_info=block_device_info)
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 3261, in spawn
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] mdevs=mdevs)
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 5600, in _get_guest_xml
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] context, mdevs)
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 5382, in _get_guest_config
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] root_device_name)
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 5045, in _configure_guest_by_virt_type
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] raise exception.UEFINotSupported()
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] nova.exception.UEFINotSupported: UEFI is not supported
2021-01-26 00:13:42.585 58968 ERROR nova.compute.manager [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a]
2021-01-26 00:13:42.598 58968 INFO os_vif [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] Successfully unplugged vif VIFBridge(active=False,address=fa:16:3e:2f:17:f8,bridge_name='brq79f8a596-e7',has_traffic_filtering=True,id=090823bd-c7a1-4836-87d8-4432631ea3f6,network=Network(79f8a596-e70f-48b3-9f7a-803ee4902338),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tap090823bd-c7')
2021-01-26 00:13:46.081 58968 INFO nova.compute.manager [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] [instance: fa724579-3d50-4edd-b2af-8e9024b41b0a] Took 3.48 seconds to deallocate network for instance.
2021-01-26 00:13:47.322 58968 INFO nova.scheduler.client.report [req-6ad78fe9-58c3-4562-a298-b15f7343d6a3 e6c434f8dbb64213a8420a61903a0843 08ebf61acd6d41039d7407fb2d1b61e7 - default default] Deleted allocation for instance fa724579-3d50-4edd-b2af-8e9024b41b0a
2021-01-26 00:14:36.821 58968 INFO nova.virt.libvirt.driver [req-94b3c697-565d-42ab-ab04-df7e5e5b6756 - - - - -] CPU mode "host-passthrough" was chosen. Live migration can break unless all compute nodes have identical cpus. AArch64 does not support other modes.
2021-01-26 00:14:54.684 58968 WARNING nova.virt.libvirt.imagecache [req-94b3c697-565d-42ab-ab04-df7e5e5b6756 - - - - -] Unknown base file: /var/lib/nova/instances/_base/1dbbd625b517f6a10ca6bdf6041b58de6f8c886b
2021-01-26 00:14:54.685 58968 INFO nova.virt.libvirt.imagecache [req-94b3c697-565d-42ab-ab04-df7e5e5b6756 - - - - -] Removable base files: /var/lib/nova/instances/_base/1dbbd625b517f6a10ca6bdf6041b58de6f8c886b
2021-01-26 00:14:54.686 58968 INFO nova.virt.libvirt.imagecache [req-94b3c697-565d-42ab-ab04-df7e5e5b6756 - - - - -] Base or swap file too young to remove: /var/lib/nova/instances/_base/1dbbd625b517f6a10ca6bdf6041b58de6f8c886b
2021-01-26 00:15:36.262 58968 INFO nova.virt.libvirt.driver [req-94b3c697-565d-42ab-ab04-df7e5e5b6756 - - - - -] CPU mode "host-passthrough" was chosen. Live migration can break unless all compute nodes have identical cpus. AArch64 does not support other modes.
2021-01-26 00:16:37.242 58968 INFO nova.virt.libvirt.driver [req-94b3c697-565d-42ab-ab04-df7e5e5b6756 - - - - -] CPU mode "host-passthrough" was chosen. Live migration can break unless all compute nodes have identical cpus. AArch64 does not support other modes.
Is this an old bug,I saw a lot of related information on the Internet,for example:
https://github.com/openstack/nova/blob/16.1.0/nova/tests/unit/virt/libvirt/test_driver.py
Has the master branch code solved this problem?
If anyone have good suggestions, please let me know..Thanks
Frederic
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1913308/+subscriptions
References