Bug 1496458 - Balloon stats not reported on Windows 2016
Summary: Balloon stats not reported on Windows 2016
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virtio-win
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Amnon Ilan
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-27 12:51 UTC by Tomáš Golembiovský
Modified: 2017-10-11 10:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1497322 (view as bug list)
Environment:
Last Closed: 2017-09-29 18:48:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1500579 0 medium CLOSED [RFE] Balloon service should be installed 2021-02-22 00:41:40 UTC

Internal Links: 1500579

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


Note You need to log in before you can comment on or make changes to this bug.