Bug 1976920
Summary: | [cee/sd][RFE][cephadm] Add support to customize <daemon>-container cpu limit in cephadm | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Tomas Petr <tpetr> |
Component: | Cephadm | Assignee: | Adam King <adking> |
Status: | CLOSED ERRATA | QA Contact: | Manasa <mgowri> |
Severity: | high | Docs Contact: | Ranjini M N <rmandyam> |
Priority: | high | ||
Version: | 5.0 | CC: | adking, ddomingu, dparkes, dsavinea, flucifre, gjose, gsitlani, mgowri, mmuench, nravinas, rmandyam, tserlin, vereddy, vumrao |
Target Milestone: | --- | Keywords: | FutureFeature, Regression |
Target Release: | 5.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
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
----
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-04-04 10:21:14 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: | |||
Bug Blocks: | 2031073 |
Description
Tomas Petr
2021-06-28 14:42:55 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. 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 This should be assigned to target = 5.3 when created. 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 |