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

oc adm node-image create does not show node-joiner container logs when there is an error

XMLWordPrintable

    • Important
    • None
    • Installer Sprint 262, Installer (PB) Sprint 263
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: The oc adm node-image create command uses a container to generate the image. If the image generation step fails, it reports a simple error and does not show the container’s log.

      Consequence: The simple error does not show the underlying issue that caused the image generation step to fail.

      Fix: The oc adm node-image create command now shows the container’s log.

      Result: The underlying issue can be seen from the container’s log and can aid in troubleshooting.
      Show
      Cause: The oc adm node-image create command uses a container to generate the image. If the image generation step fails, it reports a simple error and does not show the container’s log. Consequence: The simple error does not show the underlying issue that caused the image generation step to fail. Fix: The oc adm node-image create command now shows the container’s log. Result: The underlying issue can be seen from the container’s log and can aid in troubleshooting.
    • Bug Fix
    • In Progress

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

      Description of problem:

          If the node-joiner container encounters an error, the "oc adm node-image create" command does not show it. It currently returns an error but should also display the node-joiner container's logs so that we can see the underlying issue.

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

          4.17

      How reproducible:

          always

      Steps to Reproduce:

          1. 
          2.
          3.
          

      Actual results:

          The node-image create command returns container error.

      Expected results:

          The node-image create command returns container error and displays the container's log to aid in diagnosing the issue.

      Additional info:

          

              rwsu1@redhat.com Richard Su
              openshift-crt-jira-prow OpenShift Prow Bot
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: