-
Notifications
You must be signed in to change notification settings - Fork 199
Migrate AppInsights Azure resources from classic to work book based #1291
Conversation
The PR title doesn't match what is going on. Can you rename the PR to summarize the changes you are making? |
…source mode for Application Insights resources." microsoft#1273
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this came about because deployments in westus3 failed? This fails to deploy in westus3
.
I let the deployment run for an hour before stopping it. From the script, users will see:
INFO:deploy:app password created
INFO:deploy:deploying arm template: azuredeploy.json
Then no further progress.
Looking into portal, I see the "Update hosting plan" fails many times with the statement "This subscription is not allowed for the region. Please try deploying to a different region."
Digging into the exception, it looks like there are other issues than just work book application insights. This was deploying Microsoft.Web/serverFarms, which got the error: {
"Code": "Forbidden",
"Message": "This subscription is not allowed for the region. Please try deploying to a different region.",
"Target": null,
"Details": [
{
"Message": "This subscription is not allowed for the region. Please try deploying to a different region."
},
{
"Code": "Forbidden"
},
{
"ErrorEntity": {
"ExtendedCode": "52032",
"MessageTemplate": "This subscription is not allowed for the region. Please try deploying to a different region.",
"Parameters": [],
"Code": "Forbidden",
"Message": "This subscription is not allowed for the region. Please try deploying to a different region."
}
}
],
"Innererror": null
} |
This error is specific to that one subscription and it is a failure to deploy ServerFarms resource to West US 3. It is not related to AppInsights Classic issue that this PR is fixing. I am following up on this error internally. |
Summary of the Pull Request
What is this about?
PR Checklist
Info on Pull Request
What does this include?
Updated
azuredeploy.json
ARM template to deploy newer version of app insightsValidation Steps Performed
How does someone test & validate?
Run
deploy.py
script to deploy fresh instance of OneFuzz or deploy on existing deployment to upgrade App Insights. Deploying on existing OneFuzz instance preserved app insights data.