Description of problem:
oc adm must-gather is creating a pod which is getting scheduled on Windows nodes
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add a Windows node to a cluster
2. Run oc adm must-gather
[sebsoto@localhost must-gather]$ oc adm must-gather --image=quay.io/ssoto/test:mg --dest-dir=/tmp/must-gather
[must-gather ] OUT Using must-gather plugin-in image: quay.io/ssoto/test:mg
[must-gather ] OUT namespace/openshift-must-gather-22bcp created
[must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-n7qm8 created
[must-gather ] OUT pod for plug-in image quay.io/ssoto/test:mg created
[must-gather-gwqpx] OUT gather did not start: unable to pull image: ErrImagePull: rpc error: code = Unknown desc = image operating system "linux" cannot be used on this platform
[must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-n7qm8 deleted
[must-gather ] OUT namespace/openshift-must-gather-22bcp deleted
error: gather did not start for pod must-gather-gwqpx: unable to pull image: ErrImagePull: rpc error: code = Unknown desc = image operating system "linux" cannot be used on this platform
The must-gather is only scheduled on linux nodes.
Verified bug with the payload below and must-gather ran fine. Verified it on AWS with ocp cluster having one node as windows node.
[ramakasturinarra@dhcp35-60 ~]$ oc version -o yaml
[ramakasturinarra@dhcp35-60 ~]$ oc get node -l kubernetes.io/os=windows
NAME STATUS ROLES AGE VERSION
ip-10-0-144-252.us-east-2.compute.internal Ready worker 20h v1.19.0-rc.2
stdout here: http://pastebin.test.redhat.com/890178
However i see a error as below when must-gather runs, will raise a separate bug for it. Based on the above results moving it to verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.