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 1496458

Summary: Balloon stats not reported on Windows 2016
Product: Red Hat Enterprise Linux 7 Reporter: Tomáš Golembiovský <tgolembi>
Component: virtio-winAssignee: Amnon Ilan <ailan>
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED NOTABUG Docs Contact:
Severity: unspecified    
Priority: unspecified CC: ailan, juzhang, lijin, michen, tgolembi
Version: 7.4   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1497322 (view as bug list) Environment:
Last Closed: 2017-09-29 18:48:39 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:
Embargoed:

Description Tomáš Golembiovský 2017-09-27 12:51:40 UTC
Description of problem:

VirtIO Balloon statistics are not available on Windows 2016.

Version-Release number of selected component (if applicable):
virtio-win-1.9.3-1.el7
qemu-kvm-ev-2.9.0-16.el7_4.5.1.x86_64

How reproducible:
always

Steps to Reproduce:
1. Start QEMU using command line:
/usr/libexec/qemu-kvm -m 2G -device virtio-balloon-pci,id=balloon0 -qmp-pretty stdio /rhev/data-center/mnt/gateway:_home_data_ovirt4.1-data/8791a57e-bac2-45ab-83c1-bb069d41e094/images/04aefbf6-4f32-43fa-8749-b11efd5cf3f5/e1196018-5965-460e-b0e8-92a8d2720cad
2. Enable collection of stats by QMP command:
{ "execute": "qom-set", "arguments": {
  "path": "balloon0",
  "property": "guest-stats-polling-interval",
  "value": 5 } }

3. Check the stats by QMP command:
{ "execute": "qom-get", "arguments": {
  "path": "balloon0",
  "property": "guest-stats"  } }


Actual results:

{ "execute": "qom-get", "arguments": {
  "path": "balloon0",
  "property": "guest-stats"  } }
{
    "return": {
        "stats": {
            "stat-swap-out": -1,
            "stat-available-memory": -1,
            "stat-free-memory": -1,
            "stat-minor-faults": -1,
            "stat-major-faults": -1,
            "stat-total-memory": -1,
            "stat-swap-in": -1
        },
        "last-update": 1506516540
    }
}


Expected results:
There should be values other than -1.

Comment 2 lijin 2017-09-28 03:13:10 UTC
Did you install balloon service in guest and is the service in running status?
run cmd as administrator:
# blnsvr.exe -i
# blnsvr.exe status

Comment 3 Tomáš Golembiovský 2017-09-29 18:37:11 UTC
No, the balloon service is not installed (although blnsvr.exe is present). The problem seems to be in rhev-guest-tools-iso. Thanks for the pointer.

Comment 4 lijin 2017-10-09 08:43:13 UTC
balloon service need to be installed by users even if balloon driver is installed, and most users are NOT aware of that.

This is not the first bug that users complain about it.

Amnon,is there any way to install balloon service automatically during balloon driver installation?

Comment 7 Tomáš Golembiovský 2017-10-11 10:00:58 UTC
I've already opened bug 1497322