Bug 2014139
Summary: | [nodedev][vhba] virtnodedevd daemon crashed when creating a vhba device | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | yisun |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
libvirt sub component: | General | QA Contact: | yisun |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | jdenemar, jsuchane, lmen, pkrempa, smitterl, virt-maint, yisun, zhetang |
Version: | 9.0 | Keywords: | Automation, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-7.9.0-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-17 12:45:49 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: | 7.9.0 |
Embargoed: |
Description
yisun
2021-10-14 13:53:30 UTC
The issue is that the new post-parse callbacks for node devices are called even when the XML parser fails. This is not related to split vs monolithic daemon though. commit 8eb08e0fc5fe42efd2b0a4226f2b71f183ba193b Author: Peter Krempa <pkrempa> Date: Mon Oct 18 09:54:08 2021 +0200 virNodeDeviceDefParse: Don't call post-parse callbacks with NULL def When parsing of the node device XML fails we'd still call the post-parse and validation callbacks which makes no sense. Additionally the callbacks were expecting a non-NULL pointer which leads to a crash. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2014139 Fixes: d5ae634ba28 Signed-off-by: Peter Krempa <pkrempa> Reviewed-by: Erik Skultety <eskultet> *** Bug 2019701 has been marked as a duplicate of this bug. *** Verified with: libvirt-7.9.0-1.el9.x86_64 Covered by auto cases No crash happened 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 (new packages: libvirt), 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:2390 |