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 1402509 - virtio-balloon stats virtqueue does not migrate properly
Summary: virtio-balloon stats virtqueue does not migrate properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Ladi Prosek
QA Contact: Yumei Huang
URL:
Whiteboard:
Depends On: 1373600
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 17:25 UTC by Marcel Kolaja
Modified: 2017-01-17 20:10 UTC (History)
13 users (show)

Fixed In Version: qemu-kvm-rhev-2.6.0-28.el7_3.2
Doc Type: Bug Fix
Doc Text:
Prior to this update, migrated guest virtual machines in some cases entered an inconsistent state and terminated unexpectedly after the migration finished due to incorrect handling of the virtqueue. With this update, virtqueue handling on migration is fixed, and no longer causes problems after guest migration.
Clone Of: 1373600
Environment:
Last Closed: 2017-01-17 20:10:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0115 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix update 2017-01-24 13:04:27 UTC

Description Marcel Kolaja 2016-12-07 17:25:41 UTC
This bug has been copied from bug #1373600 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 5 Miroslav Rezanina 2016-12-09 10:30:36 UTC
Fix included in qemu-kvm-rhev-2.6.0-28.el7_3.2

Comment 7 Yumei Huang 2016-12-22 06:23:53 UTC
Reproduce:
qemu-kvm-rhev-2.6.0-28.el7
kernel-3.10.0-534.el7.x86_64

Steps:
1. boot guest with virtio balloon device
# /usr/libexec/qemu-kvm -m 4G -smp 4 \

-drive file=rhel73-64-virtio.qcow2,format=qcow2,if=none,cache=none,id=drive0 -device virtio-blk-pci,drive=drive0,id=blk-pci0 \

-device virtio-balloon-pci,id=balloon0,guest-stats-polling-interval=2 \

-vnc :1  -monitor stdio -qmp tcp:0:4444,server,nowait

2. check guest stats from qmp
{"execute":"qmp_capabilities"}
{"return": {}}

{ "execute":"qom-get", "arguments":{"path":'/machine/peripheral/balloon0', "property": "guest-stats" } }
{"return": {"stats": {"stat-swap-out": 0, "stat-available-memory": 3279396864, "stat-free-memory": 3034173440, "stat-minor-faults": 1140989, "stat-major-faults": 1113, "stat-total-memory": 3974823936, "stat-swap-in": 0}, "last-update": 1482386437}}

3. migrate guest to dst host 

4. check guest stats again after migration 
{"execute":"qmp_capabilities"}
{"return": {}}

{ "execute":"qom-get", "arguments":{"path":'/machine/peripheral/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": 0}}

The stats statistics return -1, so the bug is reproduced. 

Verify:
qemu-kvm-rhev-2.6.0-28.el7_3.2
kernel-3.10.0-534.el7.x86_64

With same steps as above, after step 4, the stats collection works well:

{"execute":"qmp_capabilities"}
{"return": {}}
{ "execute":"qom-get", "arguments":{"path":'/machine/peripheral/balloon0', "property": "guest-stats" } }
{"return": {"stats": {"stat-swap-out": 0, "stat-available-memory": 3266523136, "stat-free-memory": 3149885440, "stat-minor-faults": 1104492, "stat-major-faults": 1084, "stat-total-memory": 3974823936, "stat-swap-in": 0}, "last-update": 1482387680}}

So the bug is fixed.

Comment 9 errata-xmlrpc 2017-01-17 20:10:41 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://rhn.redhat.com/errata/RHBA-2017-0115.html


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