Bug 1505502
| Summary: | TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES environment variable not passed to OSDs in case of Containerized Ceph | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Deepthi Dharwar <ddharwar> |
| Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> |
| Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.0 | CC: | adeza, aschoen, bancinco, bengland, ceph-eng-bugs, ceph-qe-bugs, ddharwar, edonnell, flucifre, gmeno, hnallurv, kdreyer, nthomas, sankarshan, shan |
| Target Milestone: | rc | ||
| Target Release: | 3.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-ansible-3.0.6-1.el7cp Ubuntu: ceph-ansible_3.0.6-2redhat1 | Doc Type: | No Doc Update |
| Doc Text: |
.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-05 23:49:04 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: | |||
|
Description
Deepthi Dharwar
2017-10-23 17:40:23 UTC
Release-notes please. The variable is "TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES" not TCMalloc In https://github.com/ceph/ceph-ansible/releases/tag/v3.0.5 Ken, could you please build a new package? Thanks. You can unlock the situation by manually applying this commit https://github.com/ceph/ceph-ansible/pull/2128/commits/ab7eb79212f90edbfe29faf40dac5d209c7a70a9 to your current code and get going verifying this bug. $ sudo docker exec ceph-osd-magna005-sdc env |grep TCMALLOC TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=102400 $ sudo docker exec ceph-osd-magna005-sdc cat /proc/10986/environ HOSTNAME=magna005OSD_DEVICE=/dev/sdcOLDPWD=/var/lib/ceph/tmp/tmp.S4SjQnk1ohLC_ALL=CPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binPWD=/rootOSD_JOURNAL=SHLVL=0HOME=/rootTCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728CLUSTER=ceph_3OSD_DMCRYPT=1CEPH_DAEMON=osd_ceph_disk_activatecontainer=dockerOSD_FILESTORE=1 $ ps aux |grep TCMALLOC root 10061 0.0 0.0 811796 14980 ? Sl 06:14 0:00 /usr/bin/docker-current run --rm --net=host --privileged=true --pid=host --memory=1g --cpu-quota=100000 -v /dev:/dev -v /etc/localtime:/etc/localtime:ro -v /var/lib/ceph:/var/lib/ceph -v /etc/ceph:/etc/ceph -e OSD_JOURNAL= -e OSD_FILESTORE=1 -e OSD_DMCRYPT=1 -e CLUSTER=ceph_3 -e OSD_DEVICE=/dev/sdb -e TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=102400 -e CEPH_DAEMON=OSD_CEPH_DISK_ACTIVATE --name=ceph-osd-magna005-sdb brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/rhceph:ceph-3.0-rhel-7-docker-candidate-61072-20171104225422 Looks good to me with ceph-ansible-3.0.9-1.el7cp.noarch, moving to VERIFIED state. Regards, Vasishta 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-2017:3387 |