Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-75933

SCC part of OCP 4.20 enforce readOnlyRootFilesystem to true which is only supported in 4.21 and later

    • None
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • None
    • None
    • Metal Platform 283, Metal Platform 284
    • 2
    • Done
    • Bug Fix
    • Hide
      Before this update, the Security Context Constraints (SCC) additionally set `readOnlyRootFilesystem: true`. As a consequence, read-only file system errors occurred. With this release, by default, SSC sets the `readOnlyRootFilesystem` value to false. As a result, read-only file system errors do not occur.
      Show
      Before this update, the Security Context Constraints (SCC) additionally set `readOnlyRootFilesystem: true`. As a consequence, read-only file system errors occurred. With this release, by default, SSC sets the `readOnlyRootFilesystem` value to false. As a result, read-only file system errors do not occur.
    • None
    • None
    • None
    • None

      Description of problem:

      Security context constrains ( SCC ) part of OCP 4.20.11 enforces readOnlyRootFilesystem: true, which is only supported in OCP 4.21 and later. This causes Read-only file system errors. Refer the discussion in  https://issues.redhat.com/browse/OCPBUGS-65971 for more details.
      
          

      Version-Release number of selected component (if applicable): 4.20.11

      
          

      How reproducible:
      If there is a SCC that enforces the above mentioned behavior, then we will always hit this issue.

      
          

      Steps to Reproduce:
      1. Deploy a cluster with above mentioned SCC present

      
          

      Actual results:
      Deployment fails as the machine-os-images init container part of metal3-image-customization fails with below error :
      /bin/copy-metal: line 43: /coreos/coreos-aarch64.iso.sha256: Read-only file system

      
          

      Expected results:
      Deployment should succeed

      
      

              hroy@redhat.com Himanshu Roy
              hroy@redhat.com Himanshu Roy
              Jad Haj Yahya Jad Haj Yahya
              None
              Votes:
              4 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: