Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1556873

Summary: [downstream clone - 4.1.11] Numa aware ksm state in file /sys/kernel/mm/ksm/merge_across_nodes always remains 1
Product: Red Hat Enterprise Virtualization Manager Reporter: RHV bug bot <rhv-bugzilla-bot>
Component: ovirt-engineAssignee: Andrej Krejcir <akrejcir>
Status: CLOSED ERRATA QA Contact: Polina <pagranat>
Severity: medium Docs Contact:
Priority: urgent    
Version: unspecifiedCC: akrejcir, bugs, danken, gveitmic, lsurette, mavital, mgoldboi, msivak, ratamir, rbalakri, Rhev-m-bugs, sigbjorn, srevivo, tjelinek, ykaul
Target Milestone: ovirt-4.1.11Keywords: Regression, ZStream
Target Release: ---Flags: lsvaty: testing_plan_complete-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: 1518509 Environment:
Last Closed: 2018-04-24 15:30:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1518509    
Bug Blocks:    

Description RHV bug bot 2018-03-15 12:05:56 UTC
+++ This bug is an upstream to downstream clone. The original bug is: +++
+++   bug 1518509 +++
======================================================================

Created attachment 1360170 [details]
engine and vdsm logs attached

Description of problem: Numa aware ksm state in file /sys/kernel/mm/ksm/merge_across_nodes is not affected by changing settings of Cluster (KSM per each NUMA nodes or KSM share NUMA nodes)

Version-Release number of selected component (if applicable):
rhvm-4.2.0-0.5.master.el7.noarch

How reproducible: 100 %


Steps to Reproduce:
1.Set cluster with with NUMA aware KSM policy = KSM share NUMA nodes
2.Put active host to maintenance
3.Set cluster with with NUMA aware KSM policy = KSM per each NUMA nodes
4.Activate host

Actual results:
On each Host of the cluster file /sys/kernel/mm/ksm/merge_across_nodes always contains 1

Expected results:
On each Host of the cluster file /sys/kernel/mm/ksm/merge_across_nodes contains 0

Additional info: it is regression from 4.1

(Originally by Polina Agranat)

Comment 1 RHV bug bot 2018-03-15 12:06:08 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.

(Originally by rule-engine)

Comment 3 RHV bug bot 2018-03-15 12:06:14 UTC
verified in rhv-release-4.2.1-1-001.noarch

compute-ge-3 environment

(Originally by Polina Agranat)

Comment 4 RHV bug bot 2018-03-15 12:06:20 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.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.

(Originally by Sandro Bonazzola)

Comment 5 RHV bug bot 2018-03-15 12:06:26 UTC
Martin, let's consider backporting to 4.1.

(Originally by Yaniv Kaul)

Comment 6 RHV bug bot 2018-04-11 16:56:56 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Tag 'ovirt-engine-4.1.11.1' doesn't contain patch 'https://gerrit.ovirt.org/85336']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.1.11.1

For more info please contact: rhv-devops

Comment 7 Andrej Krejcir 2018-04-12 08:02:02 UTC
The patch on the 4.1 branch is a combination of both patches from master.

The tag 'ovirt-engine-4.1.11.1' contains the 4.1 patch, moving to ON_QA.

Comment 8 Polina 2018-04-17 11:07:16 UTC
The bug is verified on rhv-release-4.1.11-1-001.noarch.

The steps for reproducing:

1. Choose cluster/Edit/Optimization tab. Enable KSM
2. Mode 'Share memory pages across all available memory' is set. 
   Result: on each active host cat sys/kernel/mm/ksm/merge_across_nodes = 1
3. Put active host in maintenance, change on cluster KSM mode to 'Share memory pages inside NUMA nodes'. Activate host
   Result: on each active host cat sys/kernel/mm/ksm/merge_across_nodes = 0.
4. Put active host in maintenance, change on cluster KSM mode to 'Share memory pages across all available memory'. Activate host
   Result: on each active host cat sys/kernel/mm/ksm/merge_across_nodes = 1.

Comment 14 errata-xmlrpc 2018-04-24 15:30:28 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-2018:1219

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

Comment 16 Daniel Gur 2019-08-28 13:12:04 UTC
sync2jira

Comment 17 Daniel Gur 2019-08-28 13:16:16 UTC
sync2jira