Bug 2020716 - Setting the default maximum container root partition size for Overlay with CRI-O stop working
Summary: Setting the default maximum container root partition size for Overlay with CR...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.7
Hardware: x86_64
OS: All
high
high
Target Milestone: ---
: 4.7.z
Assignee: Qi Wang
QA Contact: MinLi
URL:
Whiteboard:
Depends On: 2012838 2020724 2020729
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-05 17:35 UTC by Qi Wang
Modified: 2022-02-03 05:19 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2012838
Environment:
Last Closed: 2022-02-03 05:18:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cri-o cri-o pull 5435 0 None Merged [release-1.20] Bug 2012838: Backport the fix override storage options from storage.conf 2022-01-14 15:01:39 UTC
Red Hat Product Errata RHSA-2022:0283 0 None None None 2022-02-03 05:19:15 UTC

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


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