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

metal3 pod fails due to unable to create directory in /shared/tmp

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • 3
    • Important
    • Yes
    • None
    • Proposed
    • Metal Platform 281
    • 1
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-70157. The following is the description of the original issue:

      Description of problem:

      Unable to provision Baremetal deployment using ipi. metal3 pod is crashing with error:
      metal3-67576c7b44-chqcf                               0/3     Init:CrashLoopBackOff   253 (4m44s ago)   21h
      metal3-baremetal-operator-7b56f58478-hp4dx            0/1     ContainerCreating       0                 21h
      
      

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

      4.21.0-rc.0
          

      How reproducible:

      everytime
          

      Steps to Reproduce:

          1. start ipi installation
          2.  metal3 pods goes in to crashloopback
          3.
          

      Actual results:

      Metal3 pods crash 
          

      Expected results:

      metal3 pods should be in running state
          

      Additional info:

      [root@registry ~]# oc get pods
      NAME                                                  READY   STATUS                  RESTARTS          AGE
      cluster-autoscaler-operator-64bccb9568-l7b66          2/2     Running                 0                 21h
      cluster-baremetal-operator-fc596444f-2z9cb            2/2     Running                 0                 21h
      control-plane-machine-set-operator-7f69d785b7-5v56l   1/1     Running                 0                 21h
      machine-api-controllers-6884f7d6-tr2n8                7/7     Running                 0                 21h
      machine-api-operator-55cf6965-tkrml                   2/2     Running                 0                 21h
      metal3-67576c7b44-chqcf                               0/3     Init:CrashLoopBackOff   253 (4m44s ago)   21h
      metal3-baremetal-operator-7b56f58478-hp4dx            0/1     ContainerCreating       0                 21h
          

      metal3 pod status

      [root@registry ~]# oc logs pods/metal3-67576c7b44-chqcf
      Defaulted container "metal3-httpd" out of: metal3-httpd, metal3-ironic, metal3-ramdisk-logs, machine-os-images (init), metal3-machine-os-downloader (init)
      Error from server (BadRequest): container "metal3-httpd" in pod "metal3-67576c7b44-chqcf" is waiting to start: PodInitializing
      
      

      metal3 pod container status

          lastState:
            terminated:
              containerID: cri-o://8729c67345963dc7c61972e363e29a2b83535f11fa77c7a1b36d7318907f2255
              exitCode: 1
              finishedAt: "2025-12-23T08:54:48Z"
              message: |
                p://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz?sha256=8919caf54ddb023cc59f9ae1eb546d76a001cc406ebe2fb71a0e5fb6206d765f'
                + RHCOS_IMAGE_URL='http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz?sha256=8919caf54ddb023cc59f9ae1eb546d76a001cc406ebe2fb71a0e5fb6206d765f'
                + '[' -z 'http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz?sha256=8919caf54ddb023cc59f9ae1eb546d76a001cc406ebe2fb71a0e5fb6206d765f' ']'
                ++ echo 'http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz?sha256=8919caf54ddb023cc59f9ae1eb546d76a001cc406ebe2fb71a0e5fb6206d765f'
                ++ cut -f 1 -d '?'
                + RHCOS_IMAGE_URL_STRIPPED=http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz
                + [[ http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz =~ qcow2(\.[gx]z)?$ ]]
                ++ basename http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz
                + RHCOS_IMAGE_FILENAME_RAW=rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz
                + RHCOS_IMAGE_FILENAME_QCOW=rhcos-9.6.20251023-0-openstack.x86_64.qcow2
                + IMAGE_FILENAME_EXTENSION=.gz
                ++ dirname http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2.gz
                + IMAGE_URL=http://registry.hlxcl9.lab.eng.tlv2.redhat.com:8080/images
                + RHCOS_IMAGE_FILENAME_COMPRESSED=rhcos-9.6.20251023-0-compressed.x86_64.qcow2
                + RHCOS_IMAGE_FILENAME_CACHED=cached-rhcos-9.6.20251023-0-openstack.x86_64.qcow2
                + FFILENAME=rhcos-ootpa-latest.qcow2
                + mkdir -p /shared/html/images
                + [[ rhcos-9.6.20251023-0-openstack.x86_64.qcow2 == *\-\o\p\e\n\s\t\a\c\k* ]]
                + [[ -s /shared/html/images/rhcos-9.6.20251023-0-openstack.x86_64.qcow2/rhcos-9.6.20251023-0-compressed.x86_64.qcow2.md5sum ]]
                + mkdir -p /shared/tmp
                mkdir: cannot create directory '/shared/tmp': Read-only file system
              reason: Error
              startedAt: "2025-12-23T08:54:48Z"
          name: metal3-machine-os-downloader
      
      

              rpittau@redhat.com Riccardo Pittau
              mniranja Mallapadi Niranjan
              None
              None
              Jad Haj Yahya Jad Haj Yahya
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: