Description of problem: Running wmcb.exe copies the files specified in the wmcb command to C:/k folder on windows VM. Example running following command is copying cni.conf and cni folder to C:/K on windows VM: configureCNICmd := C:\\Temp\\wmcb.exe configure-cni --cni-dir=C:\\Temp\\cni\\ --cni-config=C:\\Temp\\cni\\cni.conf Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Run the opeartor 2. RDP into windows VM 3. check the contents of C:/K folder on windows VM Actual results: C:/K folder contains cni folder and cni.conf file Expected results: C:/K folder should not contain cni folder and cni.conf file or any other additional files associated with running wmcb command. Additional info:
This bug is being tracked by https://issues.redhat.com/browse/WINC-411
We should not be using C:\Temp for anything that we want preserved.
This bug has been verified and passed on OCP 4.6.0-0.nightly-2020-08-24-110601, thanks. Steps: 1. Run WMCO operator and bootstrap Windows node 2. SSH into Windows node 3. Check copied files location as expected PS C:\k\cni> ls Directory: C:\k\cni Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 8/25/2020 1:56 PM config -a---- 8/25/2020 1:56 PM 7533056 flannel.exe -a---- 8/25/2020 1:56 PM 3330048 host-local.exe -a---- 8/25/2020 1:56 PM 7989248 win-bridge.exe -a---- 8/25/2020 1:56 PM 7886848 win-overlay.exe PS C:\k\cni> ls .\config\ Directory: C:\k\cni\config Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 8/25/2020 1:56 PM 394 cni.conf PS C:\k> ls Directory: C:\k Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 8/25/2020 1:53 PM cni d----- 8/25/2020 1:53 PM etc d----- 8/25/2020 1:53 PM usr -a---- 8/25/2020 1:53 PM 10865 bootstrap-kubeconfig -a---- 8/25/2020 1:53 PM 47306752 hybrid-overlay-node.exe -a---- 8/25/2020 1:53 PM 44950016 kube-proxy.exe -a---- 8/25/2020 1:53 PM 10089 kubeconfig -a---- 8/25/2020 1:53 PM 5875 kubelet-ca.crt -a---- 8/25/2020 1:53 PM 739 kubelet.conf -a---- 8/25/2020 1:53 PM 111417856 kubelet.exe -a---- 8/25/2020 1:53 PM 14966272 wmcb.exe PS C:\> ls .\Temp\ Directory: C:\Temp Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 8/25/2020 1:53 PM 5741 hns.psm1 -a---- 8/25/2020 1:53 PM 1173 wget-ignore-cert.ps1
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. https://access.redhat.com/errata/RHBA-2020:4196