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

`oc adm node-image create` command fails with the error messaging giving no feedback information even in the report.json.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.17
    • oc / node-image
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • Agent Sprint 273
    • 1
    • In Progress
    • Bug Fix
    • Previously, no useful error messages were generated when the`oc adm node-image create` command failed. With this release, the `oc adm node-image create` command provides error messages when the command fails.
    • None
    • None
    • None
    • None

      Description of problem:

      `oc adm node-image create` command fails with the error messaging giving no feedback information even in the report.json as shown:
      ~~~
      
      [eschille-adm@ansible-cmd utility-configs]$ oc adm node-image create
      2025-03-30T22:57:36Z [node-image create] Launching command
      2025-03-30T22:57:43Z [node-image create] command execution failed. Reason:
      2025-03-30T22:57:43Z [node-image create] Saving report file
      
      [eschille-adm@ansible-cmd utility-configs]$ ls
      baremetal-machine-add.yaml  nodes-config.yaml  report.json
      
      [eschille-adm@ansible-cmd utility-configs]$ cat report.json
      {
       "id": "",
       "start_time": "0001-01-01T00:00:00Z",
       "end_time": "0001-01-01T00:00:00Z",
       "result": {
        "exit_code": 1
       }
      }
      ~~~

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

      oc version is as follows:
      Client Version: 4.18.5
      Kustomize Version: v5.4.2
      Server Version: 4.17.20
      Kubernetes Version: v1.30.10

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              ppinjark@redhat.com pawan pinjarkar
              rhn-support-shupadhy Shivam Upadhyay
              None
              None
              zhenying niu zhenying niu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: