Bug 2020716

Summary: Setting the default maximum container root partition size for Overlay with CRI-O stop working
Product: OpenShift Container Platform Reporter: Qi Wang <qiwan>
Component: NodeAssignee: Qi Wang <qiwan>
Node sub component: CRI-O QA Contact: MinLi <minmli>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: alosingh, aos-bugs, dwalsh, fgrosjea, lcolagio, minmli, nagrawal, palonsor, pehunt, qiwan, schoudha, scuppett, tmicheli, tsweeney
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2012838 Environment:
Last Closed: 2022-02-03 05:18:57 UTC Type: ---
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: 2012838, 2020724, 2020729    
Bug Blocks:    

Comment 3 MinLi 2022-01-17 09:27:40 UTC
verified!

$ oc get clusterversion 
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.7.0-0.nightly-2022-01-17-032357   True        False         71m     Cluster version is 4.7.0-0.nightly-2022-01-17-032357

$ oc get containerruntimeconfig  overlay-size -o yaml
...
spec:
  containerRuntimeConfig:
    logLevel: debug
    overlaySize: 9G
  machineConfigPoolSelector:
    matchLabels:
      custom-crio-overlay: overlay-size
...

$ oc get pod
NAME                                                             READY   STATUS    RESTARTS   AGE
hello-pod-1                                                      1/1     Running   0          12m

$ oc rsh hello-pod-1
# df -h 
Filesystem      Size  Used Avail Use% Mounted on
overlay         9.0G   12K  9.0G   1% /
tmpfs            64M     0   64M   0% /dev
tmpfs           7.4G     0  7.4G   0% /sys/fs/cgroup
shm              64M     0   64M   0% /dev/shm
tmpfs           7.4G   48M  7.3G   1% /etc/hostname
/dev/sda4       128G  8.2G  120G   7% /etc/hosts
tmpfs           7.4G   28K  7.4G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs           7.4G     0  7.4G   0% /proc/acpi
tmpfs           7.4G     0  7.4G   0% /proc/scsi
tmpfs           7.4G     0  7.4G   0% /sys/firmware
# exit

Comment 6 errata-xmlrpc 2022-02-03 05:18:57 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: OpenShift Container Platform 4.7.42 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-2022:0283