-
Notifications
You must be signed in to change notification settings - Fork 848
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
Cannot find Web space when creating app service plan #667
Comments
Howdy @lstolyarov, We're happy to take a look, but are going to need a bunch more information to get started on this. First: It looks like you're using the Azure SDK for Go via HashiCorp's Terraform. Do you have any existing open issues in their repository with more context on what you're experiencing? Second: Have you stripped out your subscription ID for the sake of anonymity? If not, you may look into that first, it looks like your client is being initialized with an empty UUID. Third: Is this a broader problem, where you always receive 404s when you try to create an App Service Plan, or is it scoped down? Sorry that I have so many follow up questions! Just trying to play detective. -Martin |
Hi @marstr, Sure! To give you more context, I am writing a terraform provider to provision some azure resources. This issue relates specifically to the App Service Plan. You can see the App Service Plan pull request here (hashicorp/terraform-provider-azurerm#1). The subscription is stripped out for anonymity. I am not quite sure what you mean by a scoped down problem. I see this error always when calling the CreateOrUpdate method of the AppServicePlansClient. Hope this helps. Thanks, |
Thanks! This definitely helps get the ball rolling. We'll get this triaged at our next team meeting. |
Hey @mcardosos! @salameer and I just finished triaging this. Mind making this the first bug you look at today? |
Hi @marstr, Do you know if there is an update on this issue? After doing a bit more investigation it seems to be a problem with app service plan of size S0 only. Other app service plans, (S1, S2) are being provisioned ok. There is, however, another issue. After the service plan has been created, I am not able to delete it for around the next 5 minutes. The ProvisioningState returns 'Succeeded' and the error I get is
Are you able to help with this? Thanks, |
Hey @lstolyarov, sorry that this fell off the table while I was away on vacation. I'm going to pick up this bug personally and make sure it gets handled. I'm building a repro now to make sure that this issue isn't something to do with your environment. I'll report back shortly. In terms of the timing error, I suspect there's not much I can do about that directly. However, I'll pass it on to the right people even if I can't fix it. |
@marstr I am just getting up to speed (having seen the links from the terraform issues), any news? |
Howdy @georgeedwards and @istolyarov, sorry for the delay. Digging a little bit into the Swagger for this service I see that the Tier is just a string. That led me to look for some documenation of what valid tier names would be. So far, this is the best page that I've found: App Service Pricing. On that page, I see a bunch of options including S1 through S3. Are you sure that S0 is a valid tier? If not, it would explain why it can't be provisioned. Feel free to tell me I'm crazy and there's something I'm missing. |
@marstr Thanks for looking at this! That certainly looks to get the case (I thought in my head that S0 was a valid tier, but it certainly doesn't seem to appear in any documentation - possibly discontinued?). Anyway, I believe the biggest issue blocking the Terraform PR is the issue about deleting the resource after the ProvisioningState has returned. |
I spent some real time this morning diving into this, and validated that the Swagger is correctly deeming this a long running operation(LRO), and that we generate the expected code: appserviceplan.go#L53@0b09de Digging into the PR from above it looks like you're using our SDK correctly. I also see that there is another MSFT contact looking into this from the service side. For now, I'm going to close this issue and reach out to @echuvyrov internally to understand more about what has been done for this problem internally. If there is anything that can be updated to help in our SDK, I'll be happy to spin up a new issue to track that work. |
Can I change the webspace if I want to change the app service plan to another app service |
Hello,
I am trying to create an app service plan using the go sdk. The request is:
gets the following response:
I am using the
v10.0.2-beta
version of the sdk.The text was updated successfully, but these errors were encountered: