Azure / deployment-stacks

Contains Deployment Stacks CLI scripts and releases
MIT License
87 stars 6 forks source link

DeploymentOperations polling failed #110

Closed slavizh closed 9 months ago

slavizh commented 1 year ago

While doing a deployment I got DeploymentOperations polling failed. It is deploying stack on MG scope and resources to a subscription with -Verbose option.

image

slavizh commented 1 year ago

Every time I run the same command I get the same error. This seems like a bug.

Xynoclafe commented 1 year ago

@slavizh Are we hitting a non-terminal state with these stack deployments? Or is it that polling itself is always failing?

slavizh commented 1 year ago

@Xynoclafe just on polling. I think this is a bug with deployment stack at management group scope with deployment of the resources happening at subscription scope as the same template works fine if the deployment stack is done on subscription scope. There is possibility that the same bug present at doing deployment stack at subscription scope but resource being deployed at resource group scope. I have not tested it but you can check out.

dantedallag commented 1 year ago

Hey @slavizh is this happening for you with this specific template or with all MG level stack deployments? I am able to deploy an MG stack with a deployment at the subscription level and am not seeing this "polling failed" message.

slavizh commented 1 year ago

@dantedallag yeah, I have tested with one template. Hadn't time to check with more. If needed I can send the template and input parameters for reproduction in private.

dantedallag commented 1 year ago

@slavizh If you could email the template and input parameters, that would be great. Also, trying some other templates would be helpful too, just to see if we can pinpoint whether this issue seems to be related to template content.

slavizh commented 1 year ago

@dantedallag I have send you e-mail.

slavizh commented 1 year ago

Send another template that reproduces this issue.

azcloudfarmer commented 12 months ago

Hi @slavizh - we were not able to repro this issue with both of the templates provided. Are you still running into this issue? We wonder if this is being caused due to replication delays rather than the service itself.

slavizh commented 11 months ago

Hi @azcloudfarmer I can still reproduce the issue every time. Is there something I can do to debug this instead of you?

image

image

slavizh commented 9 months ago

@dantedallag @azcloudfarmer I can report that I cannot reproduce the issue as well. Either it was fixed on the backend or in the latest Az PS release. Issue can be closed.