Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2152080

Summary: qemuAgentGetDisks cannot parse response from a guest agent running in Windows VM [rhel-8.6.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: libvirtAssignee: Peter Krempa <pkrempa>
Status: CLOSED ERRATA QA Contact: Lili Zhu <lizhu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: chhu, jdenemar, lmen, pkrempa, virt-maint, yalzhang, ymankad
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-8.0.0-5.6.module+el8.6.0+17751+d6559882 Doc Type: Bug Fix
Doc Text:
Cause: The reply from the guest agent doesn't contain one of the fields when running on windows. The code reports a spurious log entry in such case. Consequence: A safe-to-ignore error log entry is produced, in many times repeatedly. Fix: The code was modified to avoid reporting the error.
Story Points: ---
Clone Of: 2149752 Environment:
Last Closed: 2023-01-24 14:39:35 UTC Type: ---
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: 2149752    
Bug Blocks:    

Comment 2 Lili Zhu 2023-01-08 14:15:57 UTC
Verify this bug with:
libvirt-8.0.0-10.2.module+el8.7.0+17753+6a6ae27a.x86_64

1. prepare a win guest with guest agent device
# virsh domtime win2k19 
Time: 1673137042

2. config the libvirtd conf file
# grep -v ^# /etc/libvirt/libvirtd.conf 
log_outputs = "3:file:/var/log/libvirt/libvirtd.log"

3. restart libvirtd

4. monitor the log in one terminal
# tail -f /var/log/libvirt/libvirtd.log 

5. Get guest disk info in another terminal
# virsh guestinfo win2k19 --disk 
disk.count          : 1
disk.0.name         : \\.\PhysicalDrive0
disk.0.partition    : no
disk.0.serial       : QM00001

6. check the log
# tail -f /var/log/libvirt/libvirtd.log 
(no more output)

As the testing result matches with the expected result. Mark the bug as verified.

Comment 3 Lili Zhu 2023-01-08 14:18:40 UTC
Correct last comment, the version is wrong

Verify this bug with:
libvirt-8.0.0-5.6.module+el8.6.0+17751+d6559882.x86_64

Comment 6 Lili Zhu 2023-01-10 10:27:46 UTC
According to Comment #2 and Comment #3, mark the bug as verified.

Comment 10 errata-xmlrpc 2023-01-24 14:39:35 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 (Moderate: virt:rhel and virt-devel:rhel security and 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/RHSA-2023:0432