-
Notifications
You must be signed in to change notification settings - Fork 145
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
Workspace creation blocked due to Azure API depreciation. #4095
Comments
in fact, it's worse than that. I just tried creating a new workspace, and I get the same issue. If anyone's seen this before and knows what to do, I'd appreciate some help. |
Can you check that the provider Microsoft.TimeSeriesInsights is registered in your subscription, and which API versions are available? |
Microsoft.TimeSeriesInsights is not visible in the list of resource providers, whether registered or not. |
See: hashicorp/terraform-provider-azurerm#27466 Can you try updating the provider version please. |
Yes I've just seen this when creating a new workspace |
The error means that Terraform is trying to use a resource provider called Microsoft.TimeSeriesInsights, but it isn't registered in your Azure subscription. Terraform usually registers resource providers automatically, but sometimes this fails because of permission issues or other problems. |
Hi tony. We've also had the same issue today. We tried to deploy a new TRE and the pipeline failed with the same issue. I have raised a ticket with MS as the provider has disappeared and i can't reenable it │ Error: Error ensuring Resource Providers are registered. |
Upping the azurerm provider version in the base workspace appears to work (as evidenced by other people in hashicorp/terraform-provider-azurerm#27466). See fix here: https://github.com/nwsde/nwsde-azuretre/tree/jr/upstream-main/65-update-tf-providers |
@jonnyry the OpenAI PR requires a core update. So |
Ah yes - I've removed that from my comment as I realised I was deploying the latest base workspace against a slightly older TRE. Just re-testing now. |
Could this change be applied across all bundles with the older versions? The error is also seen on user resource and workspace service deployments. Tests done: |
there's quite a range of values specified in various places:
|
Also the PR above (#4096) is to the
|
I'm still getting an error message after bumping the provider to 3.108.0 as suggested. I can confirm that the template was rebuilt, and that I'm using the new template. Then I get this...
AFAICT, the provided value matches the expected expression, so I don't see what the problem is. |
@tim-allen-ck #4096 fixes the Terraform issue for the base workspace. But as @JaimieWi mentions above the issue exists on other templates since each pins its own version of the azurerm providier, e.g. Guacamole: |
Regarding this case. All the providers need updating and then the lock files where appropriate. |
@Danny-Cooke-CK, thanks for prioritising this. When you test the fix, will you be testing only fresh installations, or will you test upgrades to existing installations? The new error message I'm getting probably won't show up on a fresh install, but we need to upgrade. It seems from Hashicorp that the problem is linked to strict case-sensitive matching where there used to be case insensitive matching. |
@TonyWildish-BH the case issues occurs on fresh installs too, @jonnyry accounted for it in his PR to fix workspaces - https://github.com/nwsde/nwsde-azuretre/blob/e4d9a07a040079639903baeee03b7aadf9283c36/templates/workspaces/base/terraform/azure-monitor/azure-monitor.tf#L139 |
thanks @marrobi, I'd missed that line, and that does fix it for me. |
@Danny-Cooke-CK thanks. Also note the unrestricted and airlock-import-review workspace templates also have the same problem, but the fix is different - see #4095 (comment) above. |
Thanks @jonnyry i was just about to create a PR and saw this comment !! cheers i'll make that update too |
PR to fix this raised #4097 |
@Danny-Cooke-CK ,thanks for the fast work. I see the PR completely removes |
thanks tony. well spotted |
@TonyWildish-BH you seem to have linked a PR to close this issue from your fork of the project? |
@Danny-Cooke-CK, just a question since you're on it: I see that the version specs still vary: |
not intentionally, that's just a partial fix for the bits I care about right now. Updated to remove the link, thanks for calling that out. |
Describe the bug
I created a workspace for a user on September 10th. The user was unable to allocate time to use it until this week, so I disabled the workspace on the 10th, to reduce costs a bit.
Today, I tried to re-enable that workspace, and it fails. The message in the Operations tab is from Terraform, about being unable to register a Resource Provider:
Steps to reproduce
Azure TRE release version (e.g. v0.14.0 or main):
main, as of August 12th.
Deployed Azure TRE components - click the (i) in the UI:
UI Version: 0.5.27
API Version: 0.18.11
The text was updated successfully, but these errors were encountered: