[arm64][libvirt] fail to load json from firmware metadata files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Rico Lin |
Bug Description
Found error in [3] for libvirt with Ubuntu focal on arm64. We fail to load JSON from QEMU firmware metadata files with error [1][2]:
Instance failed to spawn: TypeError: can't concat str to bytes
Traceback (most recent call last):
File "/opt/stack/
yield resources
File "/opt/stack/
self.
File "/opt/stack/
xml = self._get_
File "/opt/stack/
conf = self._get_
File "/opt/stack/
self.
File "/opt/stack/
loader, nvram_template = self._host.
File "/opt/stack/
for loader in self.loaders:
File "/opt/stack/
self._loaders = _get_loaders()
File "/opt/stack/
spec = jsonutils.load(fh)
File "/usr/local/
return json.load(
File "/usr/lib/
return loads(fp.read(),
File "/usr/lib/
data = self.bytebuffer + newdata
TypeError: can't concat str to byte
Enviro
[1] http://
[2] https:/
[3] https:/
description: | updated |
Changed in nova: | |
status: | In Progress → Fix Released |
Fix proposed to master: https:/ /review. opendev. org/c/openstack /nova/+ /782634