Bug 1308924

Summary: Director doesn't set readahead and mongo is not launched using numactl
Product: Red Hat OpenStack Reporter: Eduard Barrera <ebarrera>
Component: mongodbAssignee: Flavio Percoco <fpercoco>
Status: CLOSED WONTFIX QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: augol, dbecker, fdinitto, fpercoco, jcoufal, mburns, morazi, pkilambi, rhel-osp-director-maint, srevivo
Target Milestone: ---Keywords: Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-14 15:12:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eduard Barrera 2016-02-16 13:24:27 UTC
Description of problem:

During the installation process Director doesn't set readahead and numa properly for mongodb

# mongo 192.x.x.x

Server has startup warnings:
2015-12-16T10:38:38.020-0500 [initandlisten]
2015-12-16T10:38:38.020-0500 [initandlisten] ** WARNING: You are running on a NUMA machine.
2015-12-16T10:38:38.020-0500 [initandlisten] **          We suggest launching mongod like this to avoid performance problems:
2015-12-16T10:38:38.020-0500 [initandlisten] **              numactl --interleave=all mongod [other options]
2015-12-16T10:38:38.020-0500 [initandlisten]

2015-12-16T10:38:38.026-0500 [initandlisten]
2015-12-16T10:38:38.026-0500 [initandlisten] ** WARNING: Readahead for /var/lib/mongodb is set to 4096KB
2015-12-16T10:38:38.026-0500 [initandlisten] **          We suggest setting it to 256KB (512 sectors) or less
2015-12-16T10:38:38.026-0500 [initandlisten] **          http://dochub.mongodb.org/core/readahead

How reproducible:
unsure


Steps to Reproduce:
1. Deploy an controller node with director
2. use mongo client to connect to the database #mongo 192.x.x.x
3.

Actual results:
Warnings, readahead not configured


Expected results:

no warning and read ahead configured properly 


Additional info:
I will add the versions of the director as soon I have it

How to adjust read ahead
https://access.redhat.com/solutions/1212773

Comment 2 Mike Burns 2016-04-07 21:11:06 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.