Bug 1826316 - Memory Balloon optimization is not enable by default on new created clusters.
Summary: Memory Balloon optimization is not enable by default on new created clusters.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.1
: 4.4.1.5
Assignee: Shmuel Melamud
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-21 12:33 UTC by Nisim Simsolo
Modified: 2020-08-05 06:24 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.4.1.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-05 06:24:42 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 109709 0 master MERGED engine: Enable memory ballooning for new clusters 2020-07-06 11:52:17 UTC

Description Nisim Simsolo 2020-04-21 12:33:04 UTC
Description of problem:
According to https://bugzilla.redhat.com/show_bug.cgi?id=1824472#c1
Ballooning should be enabled by default on Default cluster.

Currently, Ballooning is enabled by default on Default cluster but not on new clusters created:
 engine=# select enable_balloon,bios_type from cluster where name='Default';
   enable_balloon | bios_type 
   ----------------+-----------
    t              |         2

 engine=# select enable_balloon,bios_type from cluster where name='new_cluster';
   enable_balloon | bios_type 
   ----------------+-----------
    f              |         2


Version-Release number of selected component (if applicable):
ovirt-engine-4.4.0-0.33.master.el8ev
vdsm-4.40.13-1.el8ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create new cluster and add host to cluster.
2. 
3.

Actual results:
Ballooning is disabled.

Expected results:
Ballooning behavior should be the same as in Default cluster (enabled).

Additional info:

Comment 1 Shmuel Melamud 2020-04-22 00:46:53 UTC
Is there any reason why ballooning is not enabled in new clusters?

Comment 2 Michal Skrivanek 2020-05-28 10:47:26 UTC
other than it being a bug? no

Comment 3 Polina 2020-07-08 19:55:37 UTC
Verification on ovirt-engine-4.4.1.7-0.3.el8ev.noarch.

The new cluster is created now with 'Enable Memory Balloon Optimization' = true, 'Enable KSM' = false.
While the Default cluster is set with both these options true.

Please confirm if this result is what we wanted to get

engine=# select name, enable_ksm from cluster_view;
           name            | enable_ksm 
---------------------------+------------
 Default                   | t
 new_cluster               | f


engine=# select name, enable_balloon from cluster;
           name            | enable_balloon 
---------------------------+----------------
 Default                   | t
 new_cluster               | t

Comment 4 Shmuel Melamud 2020-07-09 11:31:48 UTC
I didn't change the behaviour for enable_ksm. I'm not sure it is in the scope of this bug. Arik, should it be changed also?

Comment 5 Arik 2020-07-09 12:04:14 UTC
(In reply to Shmuel Melamud from comment #4)
> I didn't change the behaviour for enable_ksm. I'm not sure it is in the
> scope of this bug. Arik, should it be changed also?

Yes, new clusters should be set as the Default cluster
But that's a separate issue that deserves its own bz

Comment 6 Polina 2020-07-09 12:33:18 UTC
after discussion with Arik this one I verify. for ksm I create a separate bug

Comment 7 Sandro Bonazzola 2020-08-05 06:24:42 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

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


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