@samitouri / QOSAMI-WSL / commits / 944ba3d1

Add WTI logic to triage issues where the hyper-V firmware expired (#12072)

Blue committed Oct 1, 2024 at 16:21 UTC 944ba3d195abe833cebae2b198abef78e9e86c40
1 file changed +18 -1
triage/config.yml
+18 -1
@@ -240,6 +240,15 @@ rules:
240 field1: error
241 field2: vhdpath
242
243 + - logline:
244 + provider: Microsoft.Windows.HyperV.Worker
245 + task: FallbackError
246 + field2: {regex: ".*vmchipset\\.dll.*80090006.*"} #0x80090006 = NTE_BAD_SIGNATURE
247 + set:
248 + name: hyper-v-firmare-expired
249 + capture:
250 + field2: signature-error
251 +
252 actions:
253 - foreach:
254 var: user-visible-error
@@ -377,4 +386,12 @@ actions:
386 defaultVhdSize = <size> # (example: 1500GB)
387 ```
388
380 - Otherwise if you need to increase the size of an existing distribution, you can follow [these instructions](https://learn.microsoft.com/en-us/windows/wsl/disk-space#how-to-expand-the-size-of-your-wsl-2-virtual-hard-disk).
\ No newline at end of file
389 + Otherwise if you need to increase the size of an existing distribution, you can follow [these instructions](https://learn.microsoft.com/en-us/windows/wsl/disk-space#how-to-expand-the-size-of-your-wsl-2-virtual-hard-disk).
390 +
391 + - when:
392 + condition:
393 + and: ['hyper-v-firmare-expired', 'vm-failed-to-start']
394 + tag: 'needs-author-feedback'
395 + debug_message: 'Found evidence of hyper-v firmware expiration: $signature-error'
396 + user_message: |
397 + It looks like the Hyper-V firmware on your Windows build has expired. Please try to update Windows to a more recent build and see if that solves the issue.
\ No newline at end of file