Bug 2063286 - libvirt: the unix domain socket remains even after the VM is destroyed [rhel-8.5.0.z]
Summary: libvirt: the unix domain socket remains even after the VM is destroyed [rhel-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.5
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: 8.5
Assignee: Michal Privoznik
QA Contact: Lili Zhu
URL:
Whiteboard:
Depends On: 2045879 2060945
Blocks: 2057048
TreeView+ depends on / blocked
 
Reported: 2022-03-11 17:27 UTC by RHEL Program Management Team
Modified: 2022-03-21 08:01 UTC (History)
23 users (show)

Fixed In Version: libvirt-7.6.0-6.1.module+el8.5.0+14474+b3410d40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2060945
Environment:
Last Closed: 2022-03-21 08:01:14 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115396 0 None None None 2022-03-11 21:12:32 UTC
Red Hat Product Errata RHBA-2022:0972 0 None None None 2022-03-21 08:01:20 UTC

Comment 1 Michal Privoznik 2022-03-14 08:32:49 UTC
To POST:

https://gitlab.com/redhat/rhel/src/libvirt/-/merge_requests/17

Comment 7 Lili Zhu 2022-03-18 02:48:26 UTC
Verified this bug with:
libvirt-daemon-7.6.0-6.1.module+el8.5.0+14474+b3410d40.x86_64
qemu-kvm-6.0.0-33.module+el8.5.0+14188+8c5ecfdd.3.x86_64
glib2-2.56.4-156.el8.x86_64

1. change the value of LimitNOFILE in /usr/lib/systemd/system/libvirtd.service
# cat /usr/lib/systemd/system/libvirtd.service
...
LimitNOFILE=100
...

2. reload the daemon
# systemctl stop libvirtd
# systemctl daemon-reload
# systemctl start libvirtd

3. prepare a guest xml

4. creating and destroy the guest repeatedly
for i in {1..1000}; do echo $i; virsh create avocado-vt-vm1.xml; virsh destroy avocado-vt-vm1; done
1
Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml

Domain 'avocado-vt-vm1' destroyed
....

999
Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml

Domain 'avocado-vt-vm1' destroyed

1000
Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml

Domain 'avocado-vt-vm1' destroyed

(No error reported)

Comment 11 errata-xmlrpc 2022-03-21 08:01:14 UTC
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 (virt:av and virt-devel:av bug fix update), 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/RHBA-2022:0972


Note You need to log in before you can comment on or make changes to this bug.