Bug 1719578
Summary: | VM failed to start with error "failed to install seccomp syscall filter in the kernel" | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | yisun | |
Component: | qemu-kvm | Assignee: | Marc-Andre Lureau <marcandre.lureau> | |
Status: | CLOSED ERRATA | QA Contact: | yduan | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 8.1 | CC: | ddepaula, eterrell, jinzhao, juzhang, marcandre.lureau, rbalakri, ribarry, virt-maint, weizhan, yanqzhan, yduan, yfu, yisun | |
Target Milestone: | rc | Keywords: | Automation, Regression, TestBlocker | |
Target Release: | 8.1 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-2.12.0-77.module+el8.1.0+3382+49219945 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1720306 (view as bug list) | Environment: | ||
Last Closed: | 2019-11-05 20:50:27 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1720306 |
Description
yisun
2019-06-12 07:57:55 UTC
Simple qemu command for this issue: # /usr/libexec/qemu-kvm -sandbox on -monitor stdio qemu-kvm: -sandbox on: failed to install seccomp syscall filter in the kernel # /usr/libexec/qemu-kvm -sandbox off -monitor stdio QEMU 2.12.0 monitor - type 'help' for more information (qemu) VNC server running on ::1:5900 This seems to be a big deal. Requesting blocker for it. I'm not able to reproduce this issue: [root@virtlab503 ~]# rpm -qa | egrep "libvirt-4|qemu-kvm-2|kernel-4" kernel-4.18.0-100.el8.x86_64 kernel-4.18.0-104.el8.x86_64 libvirt-4.5.0-24.module+el8.1.0+3205+41ff0a42.x86_64 qemu-kvm-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 [root@virtlab503 ~]# uname -r 4.18.0-104.el8.x86_64 [root@virtlab503 ~]# rpm -qa | grep qemu-kvm qemu-kvm-block-curl-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-common-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-block-iscsi-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-core-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-block-rbd-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-block-ssh-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-block-gluster-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 qemu-kvm-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 [root@virtlab503 ~]# /usr/libexec/qemu-kvm -sandbox on -monitor stdio QEMU 2.12.0 monitor - type 'help' for more information (qemu) VNC server running on ::1:5900 [root@virtlab503 ~]# /usr/libexec/qemu-kvm -sandbox off -monitor stdio QEMU 2.12.0 monitor - type 'help' for more information (qemu) VNC server running on ::1:5900 Also, I tried to import the VM definition from the report (with a nightly image [1]): [root@virtlab503 ~]# virsh create /tmp/vm.xml setlocale: No such file or directory Domain r8 created from /tmp/vm.xml [root@virtlab503 ~]# virsh domstate r8 setlocale: No such file or directory running [root@virtlab503 ~]# virsh domifaddr r8 setlocale: No such file or directory Name MAC address Protocol Address ------------------------------------------------------------------------------- vnet0 52:54:00:df:11:61 ipv4 192.168.122.57/24 I tested with a nested environment and in a beaker host. Same result in both (but I didn't set a vm in the nested environment) Some considerations: kernel-4.18.0-100.el8.x86_64 doesn't seem to be in any nightly repository today. I had to download and manually install it. Even with that Kernel, I wasn't able to reproduce it with qemu-kvm-core-2.12.0-76. Perhaps there's something more that the reporter did? [1] http://download.devel.redhat.com/nightly/latest-RHEL-8/compose/BaseOS/x86_64/images/rhel-guest-image-8.1-84.x86_64.qcow2 Host tree we use: RHEL-8.1.0-20190604.7 qemu: qemu-kvm-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 libseccomp : libseccomp-2.3.3-3.el8 Test with same qemu version, update libseccomp to: libseccomp-2.4.1-1.el8.x86_64, work well. (fwiw, libseccomp 2.4 is bug 1602006) (In reply to Marc-Andre Lureau from comment #12) > (fwiw, libseccomp 2.4 is bug 1602006) Sorry, I'm packaged with some urgent last-minute-before-release-and-pto. Can you send a patch bumping it to 2.4? I sent: [RHEL-8.1.0 qemu-kvm PATCH] qemu-kvm.spec: bump libseccomp >= 2.4.0 for some reason, the bug status isn't updated this time. Missed the Branch: tag Fix included in qemu-kvm-2.12.0-77.module+el8.1.0+3382+49219945 Reproduce with qemu-kvm-core-2.12.0-76.module+el8.1.0+3351+d11c20fa.x86_64 + libseccomp-2.3.3-3.el8.x86_64. Cannot reproduce with qemu-kvm-core-2.12.0-77.module+el8.1.0+3382+49219945.x86_64 + libseccomp-2.4.1-1.el8.x86_64 So VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3345 |