Bug 1497517

Summary: host can't retrieve balloon info on vms
Product: [oVirt] vdsm Reporter: Liran Rotenberg <lrotenbe>
Component: CoreAssignee: Andrej Krejcir <akrejcir>
Status: CLOSED CURRENTRELEASE QA Contact: Liran Rotenberg <lrotenbe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.20.3CC: akrejcir, bugs, lrotenbe, tgolembi
Target Milestone: ovirt-4.2.0Keywords: Automation, Regression
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:40:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Liran Rotenberg 2017-10-01 10:19:32 UTC
Description of problem:
Using vdsm-client to get balloon info, the host doesn't get any balloon info on the vms.

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170929123516.git007c392.el7.centos
vdsm-4.20.3-121.git77235c7.el7.centos.x86_64
mom-0.5.11-0.0.master.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Connect to a host with a running VM.
2. Run vdsm-client VM getInfo vmID="vmid"
-you might use 
vdsm-client VM getInfo vmID="vmid" | grep balloonInfo

Actual results:
balloonInfo is not found.

Expected results:
balloon information, for example:

"balloonInfo": {
            "balloon_max": "1048576", 
            "balloon_cur": "1048576", 
            "balloon_target": "1048576", 
            "balloon_min": "1048576"
        }, 

Additional info:

Comment 1 Tomáš Golembiovský 2017-10-12 13:37:32 UTC
(In reply to Liran Rotenberg from comment #0)
> 2. Run vdsm-client VM getInfo vmID="vmid"
> -you might use 
> vdsm-client VM getInfo vmID="vmid" | grep balloonInfo

The correct verb is 'getStats', i.e.:
vdsm-client VM getStats vmID="vmid" | grep balloon

Can you please re-cecheck?

Comment 2 Liran Rotenberg 2017-10-17 07:07:56 UTC
Hi Tomas, my bad. You were right.
The correct command is:

vdsm-client VM getStats vmID="vmid" | grep balloon

The result is the same as above.

Comment 3 Red Hat Bugzilla Rules Engine 2017-10-25 09:16:48 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 4 Liran Rotenberg 2017-11-16 14:37:12 UTC
Verified on:
vdsm-4.20.7-1.gitc9cf1ee.el7.centos.x86_64
4.2.0-0.0.master.20171114111003.git7aa1b91.el7.centos

Steps of verification:
1. Start a VM.
2. Connect to the VM host.
3. Run the command: 
vdsm-client VM getStats vmID="vmid" | grep balloon

Result:
The VDSM returns balloon information on the VM.

Comment 5 Sandro Bonazzola 2017-12-20 11:40:11 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.