microsoft / windows-container-tools

Collection of tools to improve the Windows Containers experience
MIT License
240 stars 68 forks source link

Fix to unblock Event Log failure in runtime:4.8-windowsservercore-ltsc2019 #158

Closed bobsira closed 1 year ago

bobsira commented 1 year ago

The error error_2019

The current fix fix_2019

This is a quick fix for this bug : https://github.com/microsoft/windows-container-tools/issues/150

All the steps to repro this are in the link above (the image affected, Dockerfile and LogMonitorConfig.json.

The choice to have a 50 seconds sleep before retrying might raise a few eyebrows. I am not 100% sure when the EventLog service gets started, I did try with 30 seconds and found it still fails. The closest value that it was always started was 50 seconds. Might require more investigation.

bobsira commented 1 year ago

Abandoning this PR in favor of #159