Bug 1976920 - [cee/sd][RFE][cephadm] Add support to customize <daemon>-container cpu limit in cephadm
Summary: [cee/sd][RFE][cephadm] Add support to customize <daemon>-container cpu limit ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1
Assignee: Adam King
QA Contact: Manasa
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 2031073
TreeView+ depends on / blocked
 
Reported: 2021-06-28 14:42 UTC by Tomas Petr
Modified: 2022-04-04 10:21 UTC (History)
14 users (show)

Fixed In Version: ceph-16.2.7-92.el8cp
Doc Type: Enhancement
Doc Text:
.Users can now specify CPU limits for the daemons by service With this release, you can customize the CPU limits for all daemons within any given service by adding the CPU limit to the service specification file via the extra_container_args field. .Example ---- service_type: mon service_name: mon placement: hosts: - host01 - host02 - host03 extra_container_args: - "--cpus=2" service_type: osd service_id: osd_example placement: hosts: - host01 extra_container_args: - "--cpus=2" spec: data_devices: paths: - /dev/sdb ----
Clone Of:
Environment:
Last Closed: 2022-04-04 10:21:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 51566 0 None None None 2021-07-07 13:08:05 UTC
Github ceph ceph pull 42671 0 None open cephadm: add --container-cli-args parameter 2021-10-13 05:44:08 UTC
Github ceph ceph pull 44459 0 None open mgr/cephadm: allow miscellaneous container args at service level 2022-01-06 21:53:23 UTC
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:21:28 UTC

Description Tomas Petr 2021-06-28 14:42:55 UTC
Description of problem:
ceph-ansible allowed customization of CPU limits for containerized daemons per each type (so you could have different setting for MON, OSD, MGR, etc)

cephadm should offer same option.

Version-Release number of selected component (if applicable):
RHCS 5

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2021-06-28 14:43:04 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 4 Sebastian Wagner 2021-09-02 15:32:11 UTC
Maybe combining those might be a feasible workaround:

* https://docs.podman.io/en/latest/markdown/podman-run.1.html#cpu-quota-limit
* https://github.com/ceph/ceph/pull/42671

Comment 6 Federico Lucifredi 2021-12-02 14:55:10 UTC
This should be assigned to target = 5.3 when created.

Comment 36 errata-xmlrpc 2022-04-04 10:21:14 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 (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), 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/RHSA-2022:1174


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