Bug 2109460

Summary: unexpected error and warning in the libvirt log when destroy vm
Product: Red Hat Enterprise Linux 9 Reporter: yalzhang <yalzhang>
Component: libvirtAssignee: Michal Privoznik <mprivozn>
libvirt sub component: General QA Contact: zhentang <zhetang>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: jsuchane, lcheng, lmen, mprivozn, virt-maint, xuzhang
Version: 9.1Flags: pm-rhel: mirror+
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-25 10:01:17 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:

Description yalzhang@redhat.com 2022-07-21 10:11:08 UTC
Description of problem:
unexpected error and warning in the libvirt log when destroy vm

Version-Release number of selected component (if applicable):
libvirt-8.5.0-2.el9.x86_64
qemu-kvm-7.0.0-9.el9.x86_64
kernel-5.14.0-127.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. enable virtqemud's log;
2. start a vm and destroy it, then check the log, there are several errors:
# grep error /var/log/libvirt/libvirtd.log
2022-07-21 05:02:40.507+0000: 81110: error : virProcessRunInFork:1361 : internal error: child reported (status=125): Kernel does not provide mount namespace: No such file or directory
2022-07-21 05:02:40.507+0000: 81110: error : virProcessRunInFork:1365 : Kernel does not provide mount namespace: No such file or directory
2022-07-21 05:02:40.510+0000: 81110: error : virProcessRunInFork:1361 : internal error: child reported (status=125): Kernel does not provide mount namespace: No such file or directory
2022-07-21 05:02:40.510+0000: 81110: error : virProcessRunInFork:1365 : Kernel does not provide mount namespace: No such file or directory

# grep warning /var/log/libvirt/libvirtd.log
2022-07-21 03:35:41.906+0000: 7200: warning : qemuBlockRemoveImageMetadata:2969 : Unable to remove disk metadata on vm avocado-vt-vm1 from /var/lib/libvirt/images/RHEL-9.1.0-20220520.0-x86_64-ovmf.qcow2 (disk target sda)


Actual results:
unexpected error and warning in the libvirt log when destroy vm

Expected results:
should be no such error or warning

Additional info:

Comment 1 Jaroslav Suchanek 2022-08-02 07:56:07 UTC
Michal, have a look please.

Comment 2 yalzhang@redhat.com 2022-08-25 08:38:45 UTC
Hi Michal, is this the duplicate bug as bug 2121141?

Comment 3 Michal Privoznik 2022-08-25 08:52:20 UTC
Yes, I believe so. Huh, I haven't realized this bug exists, sorry. I could have backported the patch earlier.

Comment 4 yalzhang@redhat.com 2022-08-25 10:01:17 UTC
(In reply to Michal Privoznik from comment #3)
> Yes, I believe so. Huh, I haven't realized this bug exists, sorry. I could
> have backported the patch earlier.

Never mind, I will close this bug as duplicate. Thank you for confirmation.
And I have tested the scratch build, there is no error messages any more like in comment 0.

*** This bug has been marked as a duplicate of bug 2121141 ***