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

Bug 1600112

Summary: Change default memory assignment for mon to 3G and for osd to 5G
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: ceph-ansibleAssignee: John Fulton <johfulto>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: ceph-eng-bugs, evelu, gabrioux, gamado, gfidente, gmeno, hnallurv, joflynn, jschluet, shan, vumrao
Target Milestone: z2Keywords: Rebase, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-ansible-3.1.0-0.1.rc10.el7cp Doc Type: Bug Fix
Doc Text:
Ceph OSD containers started with a 3 GB memory limit. When a Ceph cluster is in recovery, it is possible for additional OSD memory to be consumed beyond 3 GB that can result in the OSD crashing. This results in additional recoveries that might have the same problem and created a cascading failure in the entire Ceph cluster. ceph-ansible v3.1.0rc10 now starts Ceph OSDs with a default of 5 GB of memory. To override the default ceph_osd_docker_memory_limit, clear the value of the CephAnsibleExtraConfig parameter, and set the ceph_osd_docker_memory_limit paramter to 5g in a Heat environment file.
Story Points: ---
Clone Of: 1591876 Environment:
Last Closed: 2018-08-29 16:21:44 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:
Embargoed:
Bug Depends On: 1591876    
Bug Blocks:    

Comment 12 Gal Amado 2018-08-09 18:22:36 UTC
deployed on sealusa18 using IR,

core_puddle=2018-08-07.5

(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep ceph-ansible-
ceph-ansible-3.1.0-0.1.rc10.el7cp.noarch

on ceph node :
verified that we have a value of "--memory=5g" at cat /usr/share/ceph-osd-run.sh
verified that we have a value of 5368709120 in "docker inspect"

on controller node:

verified that Mem Limit value is 3GiB
  
[heat-admin@controller-0 ~]$ sudo docker stats c7c145dbf630
CONTAINER           CPU %               MEM USAGE / LIMIT   MEM %               NET I/O             BLOCK I/O           PIDS
c7c145dbf630        0.07%               40.67 MiB / 3 GiB   1.32%               0 B / 0 B           594 kB / 1.17 GB    24
^

Comment 14 errata-xmlrpc 2018-08-29 16:21:44 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/RHEA-2018:2586