-
Notifications
You must be signed in to change notification settings - Fork 37
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
WebAppSiteExtension : Extension Install Failed #558
Comments
Thank you for such a detailed issue and investigation! Indeed, we are not sending any body because the API spec defines no body parameters. It seems like we behave similarly to the Azure SDK here, which is always our first comparison. We could send an empty body for such cases. However, a quick check shows that there are several dozens of resources without a body parameter - we would need to test how they behave for empty body vs. nil body. |
@mikhailshilkov hi, for information, i have tested with azure-native, i have the same issue. |
I'm having the same problem with the same site extension. Would it be possible to add a property to the auto-generated code that would allow us to either add the body or not and thus avoid possibly breaking other extensions? |
FYI I've opened up an issue on the Azure SDK project for this as well since it is also broken. |
Hey guys, This realistically is a server / documentation issue, probably not an Azure SDK issue (which is probably why it's being ignored by MS?). I can confirm that sending @mikhailshilkov the complexities and risks of going against the documentation understandable. If only MS's API's had a little more resilience we wouldn't be in this situation where there's no movement from any side, and everyone suffers. |
hi,
With Azure nextGen, I build a windows App Service Plan. and webapp, I want to activate an extension (here dynatrace, same problem with others).
All resources are created correctly unless extension
I've got this error
I test with an ARM template and it worked. I based my pulumi code on the ARM template.
Steps to Reproduce
Pulumi code
Just
WebAppSiteExtension
doesn't workTemplate ARM that work
In this ARM, i create only extension on previously resource created
{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "sites_demo_webapp_w_java_dev_name": { "defaultValue": "demo-webapp-w-java-dev", "type": "String" }, "serverfarms_asp_webbapp_w_java_dev_externalid": { "defaultValue": "/subscriptions/<sub-id>/resourceGroups/rg-demo-webapp-java-dev/providers/Microsoft.Web/serverfarms/asp-webbapp-w-java-dev", "type": "String" } }, "variables": {}, "resources": [{ "type": "Microsoft.Web/sites/siteextensions", "apiVersion": "2018-11-01", "name": "[concat(parameters('sites_demo_webapp_w_java_dev_name'), '/Dynatrace')]", "location": "France Central" }] }
AZURE API REST
We see this issues Azure/azure-rest-api-specs#2819
so we test it and voila, if you leave your body empty, it doesn't work,
but if you put {}, it's work !
if this can help you to solved it ;)
Context (Environment)
Azure France Central
@pulumi/[email protected]
@pulumi/[email protected]
@pulumi/[email protected]
@types/[email protected]
The text was updated successfully, but these errors were encountered: