Bug 1497322 - Balloon service is not enabled not reported on Windows 2016
Summary: Balloon service is not enabled not reported on Windows 2016
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-guest-tools
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.2.2
: ---
Assignee: Lev Veyde
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-29 18:45 UTC by Tomáš Golembiovský
Modified: 2019-05-16 13:04 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Balloon service was previously not installed by default. This fix makes sure the service is both installed and enabled.
Clone Of: 1496458
Environment:
Last Closed: 2018-05-15 17:56:23 UTC
oVirt Team: Integration
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
Red Hat Product Errata RHEA-2018:1517 0 None None None 2018-05-15 17:57:07 UTC

Internal Links: 1500579

Description Tomáš Golembiovský 2017-09-29 18:45:05 UTC
+++ This bug was initially created as a clone of Bug #1496458 +++

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.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2017-09-27 14:51:45 CEST ---

Since this bug report was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from lijin on 2017-09-28 05:13:10 CEST ---

Did you install balloon service in guest and is the service in running status?
run cmd as administrator:
# blnsvr.exe -i
# blnsvr.exe status

--- Additional comment from Tomáš Golembiovský on 2017-09-29 20:37:11 CEST ---

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 1 Tomáš Golembiovský 2017-09-29 18:46:55 UTC
The ISO used was: RHEV-toolsSetup_4.2_1.iso

Comment 3 Sandro Bonazzola 2017-11-24 11:56:54 UTC
Lev, updates on this?

Comment 4 Lev Veyde 2017-11-26 08:34:02 UTC
(In reply to Sandro Bonazzola from comment #3)
> Lev, updates on this?

It's in the queue.

Comment 6 Sandro Bonazzola 2017-12-06 10:31:17 UTC
Moving to 4.2.2 aligning with bug #1500579

Comment 8 Petr Matyáš 2018-02-27 13:37:16 UTC
Using rhv-guest-tools-iso-4.2-2.el7ev.noarch

Balloon service is installed but not started.

Comment 9 Lev Veyde 2018-03-04 12:40:01 UTC
(In reply to Petr Matyáš from comment #8)
> Using rhv-guest-tools-iso-4.2-2.el7ev.noarch
> 
> Balloon service is installed but not started.

Please use the one on errata: rhv-guest-tools-iso-4.2-4.el7ev.noarch

The issue is fixed in rhv-guest-tools-iso-4.2-3.el7ev.noarch

Please note that the service should be running after the reboot.

Comment 10 Lev Veyde 2018-03-04 13:05:34 UTC
(In reply to Lev Veyde from comment #9)
> (In reply to Petr Matyáš from comment #8)
> > Using rhv-guest-tools-iso-4.2-2.el7ev.noarch
> > 
> > Balloon service is installed but not started.
> 
> Please use the one on errata: rhv-guest-tools-iso-4.2-4.el7ev.noarch
> 
> The issue is fixed in rhv-guest-tools-iso-4.2-3.el7ev.noarch
> 
> Please note that the service should be running after the reboot.

Re-checked the code - the service should be running right after the installation.
Also the service installation and start happens at once, so please check that the testing env. is clean.

Comment 11 Petr Matyáš 2018-03-05 16:19:52 UTC
Verified on rhv-guest-tools-iso-4.2-4.el7ev.noarch

Comment 16 errata-xmlrpc 2018-05-15 17:56:23 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, 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/RHEA-2018:1517

Comment 17 Franta Kust 2019-05-16 13:04:49 UTC
BZ<2>Jira Resync


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