Bug 1600112 - Change default memory assignment for mon to 3G and for osd to 5G
Summary: Change default memory assignment for mon to 3G and for osd to 5G
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ceph-ansible
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z2
: 13.0 (Queens)
Assignee: John Fulton
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On: 1591876
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-11 12:46 UTC by John Fulton
Modified: 2018-08-29 16:22 UTC (History)
11 users (show)

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.
Clone Of: 1591876
Environment:
Last Closed: 2018-08-29 16:21:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 2775 0 None None None 2018-07-11 12:46:20 UTC
Red Hat Product Errata RHEA-2018:2586 0 None None None 2018-08-29 16:22:17 UTC

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


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