Bug 2178866
Summary: | virt-admin coredumped when executing 'virt-admin srv-threadpool-info virtqemud' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | yafu <yafu> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
libvirt sub component: | General | QA Contact: | Lili Zhu <lizhu> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | hhan, jdenemar, jtomko, lcheng, lizhu, lmen, virt-maint |
Version: | 9.3 | Keywords: | Automation, Regression, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-9.2.0-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-07 08:31:00 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: | 9.2.0 |
Embargoed: |
Description
yafu
2023-03-16 01:30:11 UTC
Bisection shows the first bad commit is: commit 778c3004609ede0a9df4cf3e01c031047530efb7 Author: Daniel P. Berrangé <berrange> Date: Thu Dec 22 10:28:50 2022 -0500 rpc: use VIR_LOCK_GUARD in remote client code Using VIR_LOCK_GUARD helps to simplify the control flow logic. Reviewed-by: Ján Tomko <jtomko> Signed-off-by: Daniel P. Berrangé <berrange> Pushed upstream as: commit 50f0e8e7aa32c307e976a09387bccd5e40a285d9 Author: Ján Tomko <jtomko> CommitDate: 2023-03-17 16:42:55 +0100 rpc: fix typo in admin code generation An extra '&' introduced a crash. https://bugzilla.redhat.com/show_bug.cgi?id=2178866 Fixes: 778c3004609ede0a9df4cf3e01c031047530efb7 Signed-off-by: Ján Tomko <jtomko> Reviewed-by: Peter Krempa <pkrempa> git describe: v9.1.0-247-g50f0e8e7aa Test passes on v9.1.0-248-g27d8bcc337 + /root/libvirt/build/tools/virt-admin server-threadpool-info virtqemud error: Server not found: No server named 'virtqemud' Tested with: libvirt-9.2.0-1.el9.x86_64 1. check the threadpool info of each daemon with connecting to the daemon firstly # for drv in qemu interface network nodedev nwfilter secret storage ; do virt-admin server-threadpool-info virt${drv}d; done error: Server not found: No server named 'virtqemud' error: Server not found: No server named 'virtinterfaced' error: Server not found: No server named 'virtnetworkd' error: Server not found: No server named 'virtnodedevd' error: Server not found: No server named 'virtnwfilterd' error: Server not found: No server named 'virtsecretd' error: Server not found: No server named 'virtstoraged' # virt-admin server-threadpool-info virtproxyd minWorkers : 5 maxWorkers : 20 nWorkers : 5 freeWorkers : 5 prioWorkers : 5 jobQueueDepth : 0 2. check the threadpool info of each daemon # for drv in qemu interface network nodedev nwfilter secret storage ; do virt-admin -c virt${drv}d:///system client-list virt${drv}d; done Id Transport Connected since ----------------------------------- Id Transport Connected since ----------------------------------- Id Transport Connected since ----------------------------------- Id Transport Connected since ----------------------------------- Id Transport Connected since ----------------------------------- Id Transport Connected since ----------------------------------- Id Transport Connected since ----------------------------------- # virt-admin client-list virtproxyd Id Transport Connected since ----------------------------------- (Not coredumped) Tested with: libvirt-9.3.0-1.el9.x86_64 The testing steps are the same with those in Comment #5 Mark the bug as 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 (Moderate: libvirt security, bug fix, and enhancement 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/RHSA-2023:6409 |