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

`oc adm node-image create` command exit with code 1 but the output log said :current phase is Succeeded

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Rejected
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The `oc adm node-image create -o=my-node.iso  --mac-address=xxx` exit with code 1 , but the output log describe : current phase is Succeeded

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

          oc version 
      Client Version: 4.18/4.19

      How reproducible:

          always

      Steps to Reproduce:

          1.oc adm node-image create -o=my-node.iso  --mac-address=0a:58:0a:82:00:02     

      Actual results:

      oc adm node-image create -o=my-node.iso  --mac-address=0a:58:0a:82:00:02
      2025-03-05T07:05:36Z [node-image create] Launching command
      2025-03-05T07:05:47Z [node-image create] Gathering additional information from the target cluster
      2025-03-05T07:05:47Z [node-image create] Creating internal configuration manifests
      2025-03-05T07:05:47Z [node-image create] Rendering ISO ignition
      2025-03-05T07:05:47Z [node-image create] Retrieving the base ISO image
      2025-03-05T07:05:47Z [node-image create]   Extracting base image from release payload
      2025-03-05T07:05:57Z [node-image create]   Verifying base image version
      2025-03-05T07:06:12Z [node-image create] Creating agent artifacts for the final image
      2025-03-05T07:06:12Z [node-image create]   Extracting required artifacts from release payload
      2025-03-05T07:06:27Z [node-image create]   Preparing artifacts
      2025-03-05T07:06:33Z [node-image create] Assembling ISO image
      2025-03-05T07:06:33Z [node-image create] Saving ISO image to /home/yinzhouerror: cannot exec into a container in a completed pod; current phase is Succeeded
      
      echo $?
      1
      

      Expected results:

         show correct log for command.

      Additional info:

          

              afasano@redhat.com Andrea Fasano
              yinzhou@redhat.com Ying Zhou
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: