Bug 1666357
| Summary: | systemd-cgtop doesn't return io stats or allow sort by them | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Clayton Coleman <ccoleman> |
| Component: | RHCOS | Assignee: | Steve Milner <smilner> |
| Status: | CLOSED WONTFIX | QA Contact: | Micah Abbott <miabbott> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | bbreard, ccoleman, dustymabe, imcleod, jligon, nstielau |
| Target Milestone: | --- | ||
| Target Release: | 4.1.0 | ||
| 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: | 2019-03-26 15:44:24 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: | |||
We are currently using the defaults from RHEL for accounting which looks to be off. After some investigation it looks like the `atomic-openshift` package has traditionally tweaked systemd auditing via a configuration drop in at /etc/systemd/system.d.conf/origin-accounting.conf (https://github.com/openshift/origin/blob/master/origin.spec#L327) adding: [Manager] DefaultCPUAccounting=yes DefaultMemoryAccounting=yes # systemd v230 or newer DefaultIOAccounting=yes # Deprecated, remove in future DefaultBlockIOAccounting=yes (reference: https://github.com/openshift/origin/blob/master/contrib/systemd/origin-accounting.conf) Clayton, Are you not able to get the proper accounting AFTER Openshift is installed (IE: the origin-accounting.conf file has been dropped and systemd is expected to already be honoring it) or are you looking at this from an RHCOS without Openshift perspective? Alternatively, we can add origin-accounting.conf into the image so it's always on if that's desired. Similarly, is this a 4.0.0 Target, or can we kick it out further? Closing in favor of 1692131 |
Description of problem: `systemd-cgtop -i` as root shows no io output for a heavily IO bound node Version-Release number of selected component (if applicable): pivot://registry.svc.ci.openshift.org/rhcos/maipo@sha256:93a56b9cf9e234c281ec1ac3fed9450347a4d0b6ac2848489fdc8f25c69ad401 CustomOrigin: Provisioned from oscontainer Version: 47.265 (2019-01-14T23:51:43Z) How reproducible: Always Additional info: