Bug 1666357 - systemd-cgtop doesn't return io stats or allow sort by them
Summary: systemd-cgtop doesn't return io stats or allow sort by them
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.1.0
Assignee: Steve Milner
QA Contact: Micah Abbott
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-15 15:50 UTC by Clayton Coleman
Modified: 2019-03-26 15:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-26 15:44:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Clayton Coleman 2019-01-15 15:50:59 UTC
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:

Comment 3 Steve Milner 2019-01-17 14:53:52 UTC
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.

Comment 6 Nick Stielau 2019-01-22 20:27:54 UTC
Similarly, is this a 4.0.0 Target, or can we kick it out further?

Comment 8 Steve Milner 2019-03-26 15:44:24 UTC
Closing in favor of 1692131


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