2017-06-13 07:07:00 |
Christian Ehrhardt |
bug |
|
|
added bug |
2017-06-13 07:08:37 |
Christian Ehrhardt |
bug |
|
|
added subscriber Andrew McLeod |
2017-06-13 07:09:25 |
Christian Ehrhardt |
bug task added |
|
charm-nova-compute |
|
2017-06-13 08:00:55 |
Christian Ehrhardt |
libvirt (Ubuntu): status |
New |
Incomplete |
|
2017-06-13 08:25:09 |
Christian Ehrhardt |
libvirt (Ubuntu): assignee |
|
Andrew McLeod (admcleod) |
|
2017-06-13 08:40:50 |
Khawar Munir Abbasi |
bug |
|
|
added subscriber Khawar Munir Abbasi |
2017-06-13 08:40:53 |
Khawar Munir Abbasi |
removed subscriber Khawar Munir Abbasi |
|
|
|
2017-06-13 13:18:32 |
Raghuram Kota |
bug |
|
|
added subscriber Raghuram Kota |
2017-06-13 17:15:23 |
Raghuram Kota |
bug |
|
|
added subscriber Jason Hobbs |
2017-06-13 17:15:40 |
Raghuram Kota |
bug |
|
|
added subscriber dann frazier |
2017-06-14 19:11:20 |
Ryan Beisner |
tags |
|
arm64 uosci |
|
2017-06-14 19:11:23 |
Ryan Beisner |
bug |
|
|
added subscriber Ryan Beisner |
2017-07-24 14:51:10 |
James Page |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1435681 |
|
2017-07-24 14:51:30 |
James Page |
bug watch added |
|
https://bugs.linaro.org/show_bug.cgi?id=2777 |
|
2017-07-24 16:51:46 |
James Page |
charm-nova-compute: status |
New |
Invalid |
|
2017-07-24 16:51:50 |
James Page |
libvirt (Ubuntu): status |
Incomplete |
In Progress |
|
2017-07-24 16:51:59 |
James Page |
libvirt (Ubuntu): assignee |
Andrew McLeod (admcleod) |
James Page (james-page) |
|
2017-07-24 16:52:07 |
James Page |
bug task added |
|
nova (Ubuntu) |
|
2017-07-24 16:52:20 |
James Page |
summary |
logfile not supported in this QEMU binary |
aarch64: logfile not supported in this QEMU binary |
|
2017-07-24 16:52:25 |
James Page |
libvirt (Ubuntu): importance |
Undecided |
Medium |
|
2017-07-24 16:52:26 |
James Page |
nova (Ubuntu): importance |
Undecided |
Medium |
|
2017-07-24 16:52:30 |
James Page |
nova (Ubuntu): assignee |
|
James Page (james-page) |
|
2017-07-24 16:52:33 |
James Page |
nova (Ubuntu): status |
New |
In Progress |
|
2017-07-25 09:44:09 |
James Page |
nominated for series |
|
Ubuntu Artful |
|
2017-07-25 09:44:09 |
James Page |
bug task added |
|
libvirt (Ubuntu Artful) |
|
2017-07-25 09:44:09 |
James Page |
bug task added |
|
nova (Ubuntu Artful) |
|
2017-07-25 09:44:09 |
James Page |
nominated for series |
|
Ubuntu Zesty |
|
2017-07-25 09:44:09 |
James Page |
bug task added |
|
libvirt (Ubuntu Zesty) |
|
2017-07-25 09:44:09 |
James Page |
bug task added |
|
nova (Ubuntu Zesty) |
|
2017-07-25 09:44:15 |
James Page |
nova (Ubuntu Zesty): status |
New |
Triaged |
|
2017-07-25 09:44:17 |
James Page |
libvirt (Ubuntu Zesty): status |
New |
Triaged |
|
2017-07-25 09:44:20 |
James Page |
libvirt (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2017-07-25 09:44:22 |
James Page |
nova (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2017-07-25 09:44:29 |
James Page |
bug task deleted |
charm-nova-compute |
|
|
2017-07-25 09:44:46 |
James Page |
bug task added |
|
cloud-archive |
|
2017-07-25 09:44:53 |
James Page |
nominated for series |
|
cloud-archive/pike |
|
2017-07-25 09:44:53 |
James Page |
bug task added |
|
cloud-archive/pike |
|
2017-07-25 09:44:53 |
James Page |
nominated for series |
|
cloud-archive/ocata |
|
2017-07-25 09:44:53 |
James Page |
bug task added |
|
cloud-archive/ocata |
|
2017-07-25 09:44:58 |
James Page |
cloud-archive/ocata: status |
New |
Triaged |
|
2017-07-25 09:45:01 |
James Page |
cloud-archive/pike: status |
New |
Triaged |
|
2017-07-25 09:45:03 |
James Page |
cloud-archive/pike: importance |
Undecided |
Medium |
|
2017-07-25 09:45:05 |
James Page |
cloud-archive/ocata: importance |
Undecided |
Medium |
|
2017-07-25 09:45:14 |
James Page |
libvirt (Ubuntu Artful): status |
In Progress |
Triaged |
|
2017-07-25 09:45:16 |
James Page |
libvirt (Ubuntu Artful): assignee |
James Page (james-page) |
|
|
2017-07-27 10:56:58 |
James Page |
nova (Ubuntu Zesty): status |
Triaged |
In Progress |
|
2017-07-27 10:57:00 |
James Page |
nova (Ubuntu Zesty): assignee |
|
James Page (james-page) |
|
2017-07-27 10:57:14 |
James Page |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-07-27 10:58:58 |
James Page |
description |
This is a spin-off to bug 1673467 as it is a different issue:
Got this today via Mail, linking here:
none:
https://pastebin.canonical.com/190574/
host-model:
https://pastebin.canonical.com/190578/
host-passthrough
https://pastebin.canonical.com/190579/
@admcleod - While my system is preparing to test this I think the logs you added are already kind of proving that the issue this bug was reported about is kind of solved.
In regard to your logs - the related error:
none:
-> Passes the initialization but then breaks on logfile
host-model:
-> Fails due to host-model being broken
host-passthrough
-> Passes the initialization but then breaks on logfile
That said it seems to me the config overall is broken in regard to the logfile in some sort.
When host-model is selected it fails earlier on init (this is the actual bug that was discussed in comments #1-#20), if called without host-model the init goes on.
But then in general this seems to have issues around the logfile in some way.
"libvirtError: unsupported configuration: logfile not supported in this QEMU binary"
To reproduce I took the recommende "host-passthrough" case and made the following modifications to run without a real openstack around it:
#0 packages that drag in all dependencies
sudo apt install uvtool-libvirt nova-compute
#1 create nvram vars from template to match XML
sudo cp /usr/share/AAVMF/AAVMF_VARS.fd /var/lib/libvirt/qemu/nvram/instance-00000010_VARS.fd
sudo chown libvirt-qemu:kvm /var/lib/libvirt/qemu/nvram/instance-00000010_VARS.fd
#2 Replace openstack disks with something local that boots
wget https://cloud-images.ubuntu.com/zesty/current/zesty-server-cloudimg-arm64.img
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/home/ubuntu/zesty-server-cloudimg-arm64.img'/>
<target dev='hdc' bus='virtio'/>
<address type='virtio-mmio'/>
</disk>
#3 since we don't have the OS created net, replace with the default network
<interface type='network'>
<mac address='52:54:00:af:8f:2f'/>
<source network='default'/>
<model type='virtio'/>
</interface>
#4 Create the logdir that nova specified in the "real" case
sudo mkdir /var/lib/nova/instances/5f488b37-8906-4006-b736-70860856f290/
sudo chown nova:nova /var/lib/nova/instances/5f488b37-8906-4006-b736-70860856f290/
With the above I was able to get your new bug around "logfile not supported in this QEMU binary".
Ok, that certainly is a different bug - I can switch between host-model (old issue) and host-passthrough and be good.
The logfile issue is a different one, so we track it in a new bug = Here. |
[Impact]
arm64 based openstack clouds can't boot instances with OpenStack Ocata or later.
[Test Case]
Deploy OpenStack
Boot instance
Instance fails to boot with "logfile not supported in the QEMU binary" error message
[Regression Potential]
Low; the proposed patch reverts to using the pre-ocata code path, skipping
use of virtlogd for arm based architectures.
[Original Bug Report]
This is a spin-off to bug 1673467 as it is a different issue:
Got this today via Mail, linking here:
none:
https://pastebin.canonical.com/190574/
host-model:
https://pastebin.canonical.com/190578/
host-passthrough
https://pastebin.canonical.com/190579/
@admcleod - While my system is preparing to test this I think the logs you added are already kind of proving that the issue this bug was reported about is kind of solved.
In regard to your logs - the related error:
none:
-> Passes the initialization but then breaks on logfile
host-model:
-> Fails due to host-model being broken
host-passthrough
-> Passes the initialization but then breaks on logfile
That said it seems to me the config overall is broken in regard to the logfile in some sort.
When host-model is selected it fails earlier on init (this is the actual bug that was discussed in comments #1-#20), if called without host-model the init goes on.
But then in general this seems to have issues around the logfile in some way.
"libvirtError: unsupported configuration: logfile not supported in this QEMU binary"
To reproduce I took the recommende "host-passthrough" case and made the following modifications to run without a real openstack around it:
#0 packages that drag in all dependencies
sudo apt install uvtool-libvirt nova-compute
#1 create nvram vars from template to match XML
sudo cp /usr/share/AAVMF/AAVMF_VARS.fd /var/lib/libvirt/qemu/nvram/instance-00000010_VARS.fd
sudo chown libvirt-qemu:kvm /var/lib/libvirt/qemu/nvram/instance-00000010_VARS.fd
#2 Replace openstack disks with something local that boots
wget https://cloud-images.ubuntu.com/zesty/current/zesty-server-cloudimg-arm64.img
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/home/ubuntu/zesty-server-cloudimg-arm64.img'/>
<target dev='hdc' bus='virtio'/>
<address type='virtio-mmio'/>
</disk>
#3 since we don't have the OS created net, replace with the default network
<interface type='network'>
<mac address='52:54:00:af:8f:2f'/>
<source network='default'/>
<model type='virtio'/>
</interface>
#4 Create the logdir that nova specified in the "real" case
sudo mkdir /var/lib/nova/instances/5f488b37-8906-4006-b736-70860856f290/
sudo chown nova:nova /var/lib/nova/instances/5f488b37-8906-4006-b736-70860856f290/
With the above I was able to get your new bug around "logfile not supported in this QEMU binary".
Ok, that certainly is a different bug - I can switch between host-model (old issue) and host-passthrough and be good.
The logfile issue is a different one, so we track it in a new bug = Here. |
|
2017-07-28 08:53:49 |
Launchpad Janitor |
nova (Ubuntu Artful): status |
In Progress |
Fix Released |
|
2017-08-04 18:53:20 |
Steve Langasek |
nova (Ubuntu Zesty): status |
In Progress |
Fix Committed |
|
2017-08-04 18:53:25 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2017-08-04 18:53:31 |
Steve Langasek |
tags |
arm64 uosci |
arm64 uosci verification-needed verification-needed-zesty |
|
2017-08-07 10:11:59 |
Christian Ehrhardt |
tags |
arm64 uosci verification-needed verification-needed-zesty |
arm64 libvirt-3.6 uosci verification-needed verification-needed-zesty |
|
2017-08-07 10:29:46 |
James Page |
cloud-archive/ocata: status |
Triaged |
Fix Committed |
|
2017-08-07 10:29:48 |
James Page |
tags |
arm64 libvirt-3.6 uosci verification-needed verification-needed-zesty |
arm64 libvirt-3.6 uosci verification-needed verification-needed-zesty verification-ocata-needed |
|
2017-08-10 13:00:25 |
James Page |
tags |
arm64 libvirt-3.6 uosci verification-needed verification-needed-zesty verification-ocata-needed |
arm64 libvirt-3.6 uosci verification-needed verification-needed-zesty verification-ocata-done |
|
2017-08-10 13:02:42 |
James Page |
cloud-archive/pike: status |
Triaged |
Fix Committed |
|
2017-08-10 13:02:45 |
James Page |
cloud-archive/pike: status |
Fix Committed |
Fix Released |
|
2017-08-14 08:24:35 |
Launchpad Janitor |
libvirt (Ubuntu Artful): status |
Triaged |
Fix Released |
|
2017-08-31 15:13:18 |
Andrew McLeod |
tags |
arm64 libvirt-3.6 uosci verification-needed verification-needed-zesty verification-ocata-done |
arm64 libvirt-3.6 uosci verification-needed verification-ocata-done verification-zesty-done |
|
2017-09-08 15:37:00 |
Brian Murray |
tags |
arm64 libvirt-3.6 uosci verification-needed verification-ocata-done verification-zesty-done |
arm64 libvirt-3.6 uosci verification-done-zesty verification-needed verification-ocata-done |
|
2017-09-08 16:34:25 |
Ryan Beisner |
cloud-archive/ocata: status |
Fix Committed |
Fix Released |
|
2017-09-12 16:44:33 |
Launchpad Janitor |
nova (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-09-28 18:36:21 |
Christian Ehrhardt |
libvirt (Ubuntu Zesty): status |
Triaged |
Fix Released |
|
2017-10-10 07:41:52 |
huanglingyan |
bug |
|
|
added subscriber huanglingyan |