Bug 1946637

Summary: [RFE] [cephadm] : Need support to customize <daemon>-container memory and cpu limit
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: CephadmAssignee: Juan Miguel Olmo <jolmomar>
Status: CLOSED DUPLICATE QA Contact: Vasishta <vashastr>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.0CC: dparkes, sewagner, tpetr, vereddy
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-31 10:08:17 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 Vasishta 2021-04-06 14:40:50 UTC
Description of problem:
ceph-ansible provides an option to customize container memory and cpu limits
It is nice to have it from cephadm also

(This is a regression from product install and management component offerings POV)

Example - 
User can specify 
>>ceph_osd_docker_memory_limit and ceph_osd_docker_cpu_limit as in [1]
and ceph-ansible adds it to service file as in [2]

[1] https://github.com/ceph/ceph-ansible/blob/stable-4.0/group_vars/osds.yml.sample#L172-L173
[2] https://github.com/ceph/ceph-ansible/blob/stable-4.0/roles/ceph-osd/templates/ceph-osd.service.j2#L35-L37

Comment 1 Sebastian Wagner 2021-05-31 10:08:17 UTC

*** This bug has been marked as a duplicate of bug 1939354 ***

Comment 3 Sebastian Wagner 2021-06-28 10:33:53 UTC
Transitioning to Jira will make ti possible to change the subject and description on an issue. I hope Aileen is finishing the transition to Jira ASAP. In the meantime, can you create a new BZ for this?