ubuntu_kvm_smoke_test failed with "qemu-system-ppc64le: Requested safe cache capability level not supported by kvm" on Eoan P8

Bug #1882492 reported by Po-Hsu Lin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Fix Released
Undecided
Unassigned
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

Issue found on 5.3.0-56.50 with Power8 node "modoc"
qemu-kvm package version: 1:4.0+dfsg-0ubuntu9.6

Reproduce rate 2 out of 2

The test will fail with:
 + uvt-simplestreams-libvirt sync --source http://cloud-images.ubuntu.com/daily release=eoan arch=ppc64el
 + uvt-kvm create bjf-test release=eoan arch=ppc64el
 uvt-kvm: error: libvirt: internal error: qemu unexpectedly closed the monitor: 2020-05-28T10:22:52.552105Z qemu-system-ppc64le: Requested safe cache capability level not supported by kvm, try cap-cfpc=broken

There was a similar bug back in 2019, power8 machines need FW update or qemu/libvirt code - cap-cfpc=broken (bug 1839065)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This test works with P9 node "baltar" on Eoan.

Trying to reproduce this on another P8 node "wichita"

description: updated
tags: added: eoan ppc64el sru-20200518 ubuntu-kvm-smoke-test
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue is not a regression for this cycle, as it can be reproduce on 5.3.0-55-generic with qemu-kvm 4.0+dfsg-0ubuntu9.6

And this issue can be traced back to 2019-12-11 (bug 1798358)

Revision history for this message
Frank Heimes (fheimes) wrote :

Hi, please ignore my ignorance, but does this now mean that the test needs to be black listed for P8 on Eoan ?
Or is here a fix needed in Eoan's qemu-kvm?
(I think it's just a black listing, right?)

Changed in ubuntu-power-systems:
status: New → Incomplete
Changed in ubuntu-kernel-tests:
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be found on Focal with this P8 node "modoc" as well.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Frank,

I am not sure if a FW upgrade like the one mentioned in bug 1839065 (it was for node "Wichita") will be helpful?

Or maybe we will need a fix for qemu-kvm in Eoan / Focal, as this ubuntu_kvm_smoke test has passed with B-5.3 on this node "modoc"

A quick glance for this test on different releases / kernels on this P8 node "modoc":
  * F-5.4: failed with this issue
  * E-5.3: failed with this issue
  * B-5.3: passed
  * B-4.15-ibm-gt: failed with bug 1882518
  * B-4.15: passed
  * X-4.15: passed
  * X-4.4: passed

(If we can confirm that this is not supported on E/F for modoc, we can blacklist it)

Changed in ubuntu-power-systems:
status: Incomplete → New
Changed in ubuntu-kernel-tests:
status: Incomplete → New
Po-Hsu Lin (cypressyew)
tags: added: kqa-blocker
Revision history for this message
Frank Heimes (fheimes) wrote :

So 'Wichita' as well as 'Modoc' are both Tuleta/P8 systems (exact same type and model),
and also both are marked as FW updated, but they are obviously on different FW levels.
(I was only able to get the high level FW levels so far.)
wichita: FW860.70 (SV860_205)
modoc: FW860.20 (SV860_082)

Since cpaelzer successfully used wichita in LP 1839065 (with the newer FW version):
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1839065/comments/10
FW860.70 (SV860_205) (t) FW860.70 (SV860_205) (p) FW860.70 (SV860_205) (b)
I think it's indeed worth a try to update modoc, too - the same FW should run on modoc.

But 'wichita' is available right now in MAAS, I think it might make sense to test on wichita first, to get (hopefully) a confirmation that it works there, and then updating modoc in a follow on step!? (iirc a note was sent out some time ago on how to update the Power systems FW)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

A quick test for the kvm smoke test on witchita:
 * Focal - Test passed
 * Eoan - cpu soft lockup when running "sudo ppc64_cpu --smt=off", syslog could be found here https://paste.ubuntu.com/p/pwtD8VB5kk/

This soft lockup did not occur on Eoan modoc, sine it will try to disable smt before trying to fetch the image with uvt-simplestreams-libvirt

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Next step would be to update modoc firmware to the same level as witchita.

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Po-Hsu Lin mentioned that he is happy to attempt a firmware update at a suitable moment.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With the firmware updated to SV860_205 on node "modoc". The KVM can now be created and tested on Eoan without any issue.

(Not even the cpu soft lockup issue on witchita with "sudo ppc64_cpu --smt=off", that might worth another bug to get investigated, I can open one if you need.)

Thanks for your help, I will close this bug now.

Changed in ubuntu-power-systems:
status: New → Fix Released
Changed in ubuntu-kernel-tests:
status: New → Fix Released
tags: added: 5.8 groovy sru-20210412
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.