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 1402496 - Balloon: Stats don't work if balloon driver is disabled when blnsvr service starts
Summary: Balloon: Stats don't work if balloon driver is disabled when blnsvr service s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virtio-win
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Ladi Prosek
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1401400
TreeView+ depends on / blocked
 
Reported: 2016-12-07 16:33 UTC by Ladi Prosek
Modified: 2017-08-01 12:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: CDevice::Start does not wait for the thread to initialize Consequence: The balloon service does not correctly handle the case where the driver is not present or is disabled when the service starts. The start command succeeds, but stats won't start coming after the driver is enabled. Fix: Make Start wait for the thread to get to the point where it won't return unless explicitly told so.This way "m_hThread != NULL" is always in sync with "thread is running". Start() and Stop() being serialized guarantee the correctness here. Result: balloon stat come back normally after driver is enabled
Clone Of:
Environment:
Last Closed: 2017-08-01 12:55:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2341 0 normal SHIPPED_LIVE virtio-win bug fix and enhancement update 2017-08-01 16:52:38 UTC

Description Ladi Prosek 2016-12-07 16:33:18 UTC
Description of problem:
The balloon service does not correctly handle the case where the driver is not present or is disabled when the service starts. The start command succeeds, but stats won't start coming after the driver is enabled.

Version-Release number of selected component (if applicable):
virtio-win-1.9.0-3.el7

How reproducible:
100%

Steps to Reproduce:
1. blnsvr.exe -s
2. disable VirtIO Balloon Driver
3. blnsvr.exe -r
4. enable VirtIO Balloon Driver

Actual results:
Stats are not coming.

Expected results:
Stats start coming as soon as the driver is enabled.

Additional info:

Comment 2 lijin 2017-02-03 05:25:20 UTC
Reproduce this issue with virtio-win-1.9.0-3.el7;
Verify this issue with virtio-win-prewhql-0.1-131;

Steps same as comment#0.

with virtio-win-1.9.0-3.el7, balloon stats does NOT return values after step4:
{"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": 1486098878}};

with virtio-win-prewhql-0.1-131,balloon stats comes back after step4:
{"return": {"stats": {"stat-swap-out": 45428736, "stat-available-memory": -1, "stat-free-memory": 2094915584, "stat-minor-faults": 12228586, "stat-major-faults": 115429, "stat-total-memory": 3220688896, "stat-swap-in": 2984939520}, "last-update": 1486098842}}

So this issue has been fixed,thanks.

Comment 5 errata-xmlrpc 2017-08-01 12:55:38 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/RHBA-2017:2341


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