Closed ChristianVerhoeven closed 1 year ago
Some additional information While writing this issue and running the Get-AzImageBuilderTemplate again gives a result back again (still LastRunStatusRunState = Running) so it seems to be a sort of inaccessibility issue for a short while (5 tot 10 minutes).
@danielsollondon I saw that this is the wrong GitHub project, issue can be closed
Hi,
I'm automating the Azure Image Build process using Azure DevOps pipelines, this takes a couple of steps.
At first I thought that a 30 second wait was giving connection timeouts due to to many calls or something, and a run takes a while so increasing it to 5 minutes was a logical step.
But it seems that after about 25 minutes (so 5 calls with Get-AzImageBuilderTemplate) it only keeps returning Internal error occurred. This is a generic error. The build is still running and will complete successfully, but I am unable to get the status and checking the LastRunStatusRunState.
The while loop is doing a Get-AzImageBuilderTemplate every 5 minutes, stores it in a variable while LastRunStatusRunState -eq "Running".
Can someone help me figure out what is going here, Doing a simple get should not only 'suddenly' return a error.
Thanks in advance.