-
Bug
-
Resolution: Done
-
Normal
-
4.13.0
-
None
-
No
-
0
-
WINC - Sprint 232, WINC - Sprint 233
-
2
-
False
-
This is a clone of issue OCPBUGS-5887. The following is the description of the original issue:
—
Description of problem:
When a program has an active handle on a file, directory deletion will fail, but WMCO will ignore the error.
Version-Release number of selected component (if applicable):
How reproducible:
Unknown, this is being seen in CI but not from manual testing.
Steps to Reproduce:
1. On a BYOH node a running program is using a file within c:\k 2. Remove the instance from the cluster to trigger deconfiguration
Actual results:
An error is printed in the logs, but WMCO ignores it: 2023-01-12T16:25:27Z DEBUG wc 10.0.228.20 run {"cmd": "cmd /c if exist C:\\k\\ rmdir C:\\k\\ /s /q", "out": "C:\\k\\hybrid-overlay-node.exe - Access is denied.\r\n"}
Expected results:
WMCO handles the error and retries the deletion.
Additional info:
- clones
-
OCPBUGS-5887 Directory deletion errors are being ignored when deconfiguring Windows instances
- Closed
- is blocked by
-
OCPBUGS-5887 Directory deletion errors are being ignored when deconfiguring Windows instances
- Closed
- links to
- mentioned on