Description of problem: When file system usage is below 80%, I am not seeing an info level log per hour. Similarly, when file system usage is above 80%, I am not seeing a warning level log every 5 minutes. How reproducible: 100% Steps to Reproduce: 1. On an assisted operator cluster, create ClusterDeployment, AgentClusterInstall, and InfraEnv 2. Check the frequency of filesystem usage logs coming from assisted-service Actual results: File system logs are generated in unpredictable intervals, for example: [root@sealusa55 ~]# oc logs assisted-service-9f7979b45-bbv4c -c assisted-service -n assisted-installer | grep usage time="2021-05-12T19:36:35Z" level=info msg="Filesystem '/data/' usage is 68.6%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-12T21:04:09Z" level=info msg="Filesystem '/data/' usage is 70.5%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-12T22:04:09Z" level=info msg="Filesystem '/data/' usage is 70.6%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-12T23:34:09Z" level=info msg="Filesystem '/data/' usage is 70.7%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-13T01:04:09Z" level=info msg="Filesystem '/data/' usage is 70.8%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-13T04:04:09Z" level=info msg="Filesystem '/data/' usage is 70.9%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-13T07:34:09Z" level=info msg="Filesystem '/data/' usage is 71.0%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" time="2021-05-13T11:04:09Z" level=info msg="Filesystem '/data/' usage is 71.1%" func="github.com/openshift/assisted-service/pkg/s3wrapper.(*FSClientDecorator).conditionalLog" file="/go/src/github.com/openshift/origin/pkg/s3wrapper/filesystem.go:448" Expected results: Less than 80% utilized filesystem outputs logs every hour and 80% or above utilized filesystem outputs logs every 5 minutes
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: OpenShift Container Platform 4.9.0 bug fix and security 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-2021:3759