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

`output` not support for windows node for command `oc adm node-logs --role worker --unit=kubelet`

XMLWordPrintable

    • Important
    • None
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      When use `oc adm node-logs --role worker --unit=kubelet -o short` against the windows node will hit error 
      output: Invalid value: "short": output is not supported on Windows
        output: Invalid value: "short": output is not supported on Windows
      error: output: Invalid value: "short": output is not supported on Windows
        output: Invalid value: "short": output is not supported on Windows
      
      same as for other options like :cat/json/short-unix
      
      seems this not support the windows nodes , if yes, we should note this on the help information 

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

      4.14/4.15

      How reproducible:

      Always

      Steps to Reproduce:

      1. Launch a cluster with windows nodes;
      2. `oc adm node-logs --role worker --unit=kubelet -o short`
      

      Actual results:

      command failed with error and see logs :
      output: Invalid value: "short": output is not supported on Windows

      Expected results:

      If this is not support for windows node , we should note this in the help info.

      Additional info:

       

              mburke@redhat.com Michael Burke
              yinzhou@redhat.com ying zhou
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: