-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes Policy Assignments Fail During Deployment As Part Of Portal Experience Deployment #902
Comments
Had this error happen on deployment circa 22nd June with deployment delay 30. It was just one single policy assignment "'Deny-Subnet-Without-Nsg" on the "aaa-landingzones" management group scope. The deployment Status reported "Conflict" in the portal (conflicting with what?). I remediated manually. Happy to provide some more info if I have any |
Hey @mikewo-dc, thanks for letting us know, if you can provide the correlation ID I can take a look further into this Thanks Jack. |
I think this is what you need? Let me know |
Hey @mikewo-dc, I couldnt find that ID in our logs. You can get the correlation ID from https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history?tabs=azure-portal#management-group-deployments |
@jtracey93 hope this is what you need, "correlationId": "c35fac21-69e6-4cf3-b861-da1aea74a1da", that's for the entire deployment? My engagement is finished and access removed so I can't look at the Management Groups at the moment, but could ask if needed. |
Hi, the AdventureWorks deployment keeps failing for me. My correlation id is 6b27f884-c0c2-4b39-907c-b66c240759fc. The policies would not deploy like above, so I ran it again. It got past policies and now the private dns entries are failing to deploy. { |
Have seen you raised a separate issue for this which we will investigate this morning #1041 |
Trigger ADO Sync 1 |
Trigger ADO Sync 2 |
Hi JT, having issues with the same policy assignments using terraform but getting the same error as above. Error: creating Scoped Policy Assignment (Scope: "/providers/Microsoft.Management/managementGroups/Legacy_MG" |
As discussed offline this was due to an incorrect MG ID being provided in the TF code, not related to this issue 👍 |
Describe the bug
Occasionally and randomly some policy assignments will fail to deploy as part of the portal deployment/accelerator experience due to the below error:
Workaround
A simple re-run of the portal deployment/accelerator experience, with exactly the same input parameters specified, as per our guidance in Known Issues will resolve the issue normally on the 2nd attempt when this occurs.
This happens as the underlying platform replication has caught up and the node processing the deployment request is able to find
Repro Steps
Hard to replicate but occurs more often in region that have pairs.
Related Issues
Update 11/04/2022 (11th April)
We have increased the portal deployment replication delay called
preparingToLaunch
from 20 to 30 deployments in an effort to improve the success rate, whilst we work with engineering teams on the root cause of this issue.The text was updated successfully, but these errors were encountered: