pulumi-azure: Cannot register providers: Microsoft.TimeSeriesInsights
Describe what happened
Since yesterday we have been having issues with all of our pipelines throwing the error
Cannot register providers: Microsoft.TimeSeriesInsights
Seems its been deprecated and removed by Azure, Similar issue can be viewed over on the Terraform issues https://github.com/hashicorp/terraform-provider-azurerm/issues/27466
We have tried upgrading Pulumi Azure to the latest version which should use mirror the fix seen on the Terraform issue by using the Azure Resource provider >= v3.90, however it does not fix the problem for us, it still attempts to register Microsoft.TimeSeriesInsights
Sample program
Any kind of pulumi preview/refresh/update against a pulumi stack using azurerm resource provider <= v3.89 will throw the error
Log output
Original Error: Cannot register providers: Microsoft.TimeSeriesInsights. Errors were: Cannot register provider Microsoft.TimeSeriesInsights with Azure Resource Manager: unexpected status 400 with error: DisallowedProvider: The operation is not permitted for namespace ‘Microsoft.TimeSeriesInsights’. List of permitted provider namespaces is xxxxxxx
Affected Resource(s)
Provider Microsoft.TimeSeriesInsights
Output of pulumi about
CLI Version 3.76.0 Go Version go1.20.6 Go Compiler gc
Plugins NAME VERSION azure 6.0.0 azuread 5.53.4 kubernetes 4.18.1 nodejs unknown random 4.16.5
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you’ve opened one already).
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 16 (8 by maintainers)
Here’s a complete sequence of commands that I just tried out. To start with, since it’s not possible anymore to create a new project on 5.64, I created a minimal project with one resource group on 5.65. Then, I hand-edited the stack, replacing all occurrences of 5.65 and 5_65 with 5.64/5_64.
Then:
@amsreinhardt Your Redis error looks incomplete? What is the command that you are running? We are fairly sure that this error comes only from old provider versions - what you see is likely that the old provider version is still executed from resources that are in your state file. You either need to upgrade them with a
pulumi upcommand without refresh or delete operations, or edit your state file as explained above.