question

pickmylight-7189 avatar image
0 Votes"
pickmylight-7189 asked srbhatta-msft commented

acr task not starting build container after 2fa

since enabling 2fa for our business, its to possible to run any heavy build task in acr.

A small hello:world container does indeed start with an acr task:

acr task create -r $registry -n $mytask --cmd hello-world:latest -c /dev/null

However our big fat build container for applications does not spin up:

acr task create -r $registry -n $mytask --cmd $registry.azurecr.io/buildcontainer:latest -c /dev/null

Starting this task deploys an agent, pulls the image and then stalls without errors or anything with timeout after 60mins.

Does anyone know a solution to this problem?

azure-container-registry
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

srbhatta-msft avatar image
0 Votes"
srbhatta-msft answered srbhatta-msft commented

Hello @pickmylight-7189 ,
Thanks for reaching out on Microsoft QnA.
Firstly, apologies for the delay in response.
How many agents are there in the agent pool?
If agent pool has 1 agent, then it can only run 1 job at a time.
You can view the current pending build count for an agent pool using the following command Use dedicated pool to run task - Tasks - Azure Container Registry | Microsoft Docs.

Let me know if this information helps? If you are still facing the issue, then let me know and I will reach out to you directly and help you resolve it.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @srbhatta-msft,

The information Provided is indeed valuable, but also known at this state.
This has nothing to do with agents, because we do not rely on dedicated compute power.

Any agents picks the Job, pulls the image and then stalls somehow, until the timeout of 60 minutes kicks in. Is there any size limit regarding the build-container?

0 Votes 0 ·

@pickmylight-7189 , Sorry for the delay in response. This issue would need deeper investigation. I would recommend opening a support case for the same. Please let me know if you have a support plan enabled for your subscription. if not, I can help you in creating a one-time free support request, Thanks.

0 Votes 0 ·