Skip to content
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

sdk/client/resourcemanager: databricks LROs contain an empty string payload #351

Closed
1 task done
tombuildsstuff opened this issue Mar 7, 2023 · 1 comment
Closed
1 task done

Comments

@tombuildsstuff
Copy link
Contributor

tombuildsstuff commented Mar 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Service Used

databricks

API Versions Used

2023-02-01

Description

The Delete LRO for a DataBricks Workspace returns an empty string response rather than encoded JSON, whilst we ignore this response body today we should ensure this is supported:

DELETE /subscriptions/{subscription}/resourceGroups/{group1}/providers/Microsoft.Databricks/workspaces/{workspace1}/virtualNetworkPeerings/databricks-vnet-peer?api-version=2023-02-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.19.6 (amd64-linux) go-autorest/v14.2.1 hashicorp/go-azure-sdk/vnetpeering/2023-02-01 HashiCorp Terraform/1.3.9 (+https://www.terraform.io/) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
Content-Type: application/json; charset=utf-8
X-Ms-Correlation-Request-Id: 5aa7981b-127c-16f5-0304-25946d291574
Accept-Encoding: gzip
[DEBUG] provider.terraform-provider-azurerm: AzureRM Response for https://management.azure.com/subscriptions/{subscription}/resourceGroups/{group1}/providers/Microsoft.Databricks/workspaces/{workspace1}/virtualNetworkPeerings/databricks-vnet-peer?api-version=2023-02-01:
HTTP/2.0 202 Accepted
Content-Length: 3
Cache-Control: no-cache
Content-Type: application/json
Date: Mon, 06 Mar 2023 21:21:23 GMT
Expires: -1
Location: https://management.azure.com/subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operationResults/d6e4b8b8-51d2-4e98-aaf2-0e38a7fce24a?api-version=2018-08-01
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Ms-Correlation-Request-Id: 5aa7981b-127c-16f5-0304-25946d291574
X-Ms-Ratelimit-Remaining-Subscription-Deletes: 14999
X-Ms-Request-Id:
X-Ms-Routing-Request-Id: WESTUS2:20230306T212124Z:672eae63-5d76-44cc-a756-56717e92ec7b
X-Xss-Protection: 1; mode=block

""

References

No response

@tombuildsstuff tombuildsstuff changed the title sdk/client/resourcemanager: databricks LROs contain an invalid payload sdk/client/resourcemanager: databricks LROs contain an empty string payload Mar 7, 2023
@tombuildsstuff
Copy link
Contributor Author

This is now available in v0.20230317.1100159 of github.com/hashicorp/go-azure-sdk / fixed by hashicorp/pandora#2241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant