Description of problem: guest cpu count not working for RHEL8 guests Version-Release number of selected component (if applicable): vdsm-4.40.100.2-1.el8ev.x86_64 rhv 4.4.10 How reproducible: everytime Steps to Reproduce: 1. vdsm-client VM getStats vmID=<RHEL*_VM_UUID> | grep -e version -e qemu-guest-agent -e CPU -e vmName Actual results: "guestCPUCount": -1, Expected results: the correct number of guest vcpus Additional info: I am opening this against vdsm as it looks like qemu-guest-agent does provide correct info
It appears this property was missed when switching to qemu-ga in VDSM. It is possible to implement using the "guest-get-vcpus" qemu-ga command.
Verified with: vdsm-4.50.1.1-1.el8ev.x86_64 Steps: 1. Create a VM with RHEL8.6 OS installed, set vCPUs to 4. 2. Run the VM, check guest cpu count. Results: 1. Guest cpu count on UI is 4. 2. guestCPUCount is 4 in the results of vdsm-client command: # vdsm-client VM getStats vmID=a3c4c8c2-cb63-4451-8a13-c1f0277815eb|grep -e version -e qemu-guest-agent -e CPU -e test "qemu-guest-agent-6.2.0" "guestCPUCount": 4, "version": "8.6" "vmName": "test",
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 (RHV RHEL Host (ovirt-host) [ovirt-4.5.1] 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:5583
Due to QE capacity, we are not going to cover this issue in our automation