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

Issue with Databricks / Databricks Virtual Network Peerings / API Version 2023-02-01 #381

Closed
1 task done
WodansSon opened this issue Mar 20, 2023 · 0 comments · Fixed by #383
Closed
1 task done
Assignees
Labels
base-layer bug Something isn't working

Comments

@WodansSon
Copy link

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

Request/Response Chain:

DELETE /subscriptions/{subscription}/resourceGroups/XXXXX-databricks-vnet-peering/providers/Microsoft.Network/virtualNetworks/remote-vnet/virtualNetworkPeerings/peer-to-databricks?api-version=2022-07-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.19.6 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230307.1105329 network/2022-07-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
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
Accept-Encoding: gzip: timestamp=2023-03-20T14:31:41.959-0600
2023-03-20T14:31:48.894-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Response for https://management.azure.com/subscriptions/{subscription}/resourceGroups/XXXXX-databricks-vnet-peering/providers/Microsoft.Network/virtualNetworks/remote-vnet/virtualNetworkPeerings/peer-to-databricks?api-version=2022-07-01:
HTTP/2.0 202 Accepted
Azure-Asyncnotification: Enabled
Azure-Asyncoperation: https://management.azure.com/subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operations/fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a?api-version=2022-07-01
Cache-Control: no-cache
Date: Mon, 20 Mar 2023 20:31:49 GMT
Expires: -1
Location: https://management.azure.com/subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operationResults/fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a?api-version=2022-07-01
Pragma: no-cache
Retry-After: 10
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Ms-Arm-Service-Request-Id: 41cf166d-9ab2-4d1f-948b-3291fb01e161
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
X-Ms-Ratelimit-Remaining-Subscription-Deletes: 14999
X-Ms-Request-Id: fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a
X-Ms-Routing-Request-Id: WESTCENTRALUS:20230320T203150Z:4711ba50-7cba-4b7d-81fc-29c761ded454
Content-Length: 0: timestamp=2023-03-20T14:31:48.894-0600

2023-03-20T14:31:58.904-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Request:
GET /subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operations/fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a?api-version=2022-07-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.19.6 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230307.1105329 network/2022-07-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
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
Accept-Encoding: gzip: timestamp=2023-03-20T14:31:58.904-0600
2023-03-20T14:31:59.493-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Response for https://management.azure.com/subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operations/fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a?api-version=2022-07-01:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Mon, 20 Mar 2023 20:32:00 GMT
Expires: -1
Pragma: no-cache
Retry-After: 10
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Arm-Service-Request-Id: dde9e8ec-f0c7-495b-b26b-c79342b659bb
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11997
X-Ms-Request-Id: a7601715-ba3e-45e6-aef7-0602c996bced
X-Ms-Routing-Request-Id: WESTCENTRALUS:20230320T203201Z:cb24fe89-cc60-4dd4-9dea-30a295ad5762

{
  "status": "InProgress"
}: timestamp=2023-03-20T14:31:59.492-0600

2023-03-20T14:32:09.503-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Request:
GET /subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operations/fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a?api-version=2022-07-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.19.6 (amd64-linux) go-autorest/v14.2.1 tombuildsstuff/kermit/v0.20230307.1105329 network/2022-07-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
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
Accept-Encoding: gzip: timestamp=2023-03-20T14:32:09.502-0600
2023-03-20T14:32:09.711-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Response for https://management.azure.com/subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operations/fdcb4e39-d6ab-46ae-b6c0-b9886ba88b4a?api-version=2022-07-01:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Mon, 20 Mar 2023 20:32:10 GMT
Expires: -1
Pragma: no-cache
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Arm-Service-Request-Id: 2a707d8c-c866-4916-a405-334e6dfa8e03
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11996
X-Ms-Request-Id: 05738c40-b991-42eb-9095-8cf0c4e5219c
X-Ms-Routing-Request-Id: WESTCENTRALUS:20230320T203211Z:e822a5b7-6c8b-4875-9ad1-91590547cba8

{
  "status": "Succeeded"
}: timestamp=2023-03-20T14:32:09.711-0600

2023-03-20T14:32:09.711-0600 [DEBUG] provider.terraform-provider-azurerm: Unlocking "azurerm_virtual_network_peering": timestamp=2023-03-20T14:32:09.711-0600
2023-03-20T14:32:09.712-0600 [DEBUG] provider.terraform-provider-azurerm: Unlocked "azurerm_virtual_network_peering": timestamp=2023-03-20T14:32:09.711-0600
2023-03-20T14:32:09.720-0600 [INFO]  Starting apply for azurerm_databricks_virtual_network_peering.test
2023-03-20T14:32:09.720-0600 [DEBUG] azurerm_databricks_virtual_network_peering.test: applying the planned Delete change
2023-03-20T14:32:09.722-0600 [DEBUG] provider.terraform-provider-azurerm: Locking "azurerm_databricks_virtual_network_peering": timestamp=2023-03-20T14:32:09.722-0600
2023-03-20T14:32:09.722-0600 [DEBUG] provider.terraform-provider-azurerm: Locked "azurerm_databricks_virtual_network_peering": timestamp=2023-03-20T14:32:09.722-0600
2023-03-20T14:32:09.723-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Request:

DELETE /subscriptions/{subscription}/resourceGroups/XXXXX-databricks-vnet-peering/providers/Microsoft.Databricks/workspaces/XXXXX-workspace/virtualNetworkPeerings/databricks-vnet-peer?api-version=2023-02-01 HTTP/1.1
Host: management.azure.com
User-Agent: HashiCorp/go-azure-sdk (Go-http-Client/1.1 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
X-Ms-Correlation-Request-Id: c60b7c62-6771-97a5-d3a2-544fce6fc059
Accept-Encoding: gzip: timestamp=2023-03-20T14:32:09.722-0600
2023-03-20T14:32:11.668-0600 [DEBUG] provider.terraform-provider-azurerm: AzureRM Response for https://management.azure.com/subscriptions/{subscription}/resourceGroups/XXXXX-databricks-vnet-peering/providers/Microsoft.Databricks/workspaces/XXXXX-workspace/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, 20 Mar 2023 20:32:13 GMT
Expires: -1
Location: https://management.azure.com/subscriptions/{subscription}/providers/Microsoft.Network/locations/westeurope/operationResults/0784c2bf-7280-4204-904d-0fc33cf88388?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: c60b7c62-6771-97a5-d3a2-544fce6fc059
X-Ms-Ratelimit-Remaining-Subscription-Deletes: 14999
X-Ms-Request-Id:
X-Ms-Routing-Request-Id: WESTCENTRALUS:20230320T203213Z:e1d8186e-a2e0-49c8-ac12-2793d2499331
X-Xss-Protection: 1; mode=block
"": timestamp=2023-03-20T14:32:11.668-0600

2023-03-20T14:32:11.668-0600 [DEBUG] provider.terraform-provider-azurerm: Unlocking "azurerm_databricks_virtual_network_peering": timestamp=2023-03-20T14:32:11.668-0600
2023-03-20T14:32:11.668-0600 [DEBUG] provider.terraform-provider-azurerm: Unlocked "azurerm_databricks_virtual_network_peering": timestamp=2023-03-20T14:32:11.668-0600
2023-03-20T14:32:11.668-0600 [ERROR] provider.terraform-provider-azurerm: Response contains error diagnostic: diagnostic_detail= tf_provider_addr=provider diagnostic_summary="deleting Databricks Virtual Network Peering (Subscription: "{subscription}"
Resource Group Name: "XXXXX-databricks-vnet-peering"
Workspace Name: "XXXXX-workspace"
Virtual Network Peering Name: "databricks-vnet-peer"): json: cannot unmarshal string into Go value of type odata.odata" tf_proto_version=5.3 tf_req_id=397ff269-0712-fc91-8601-f0c34f638ea3 tf_resource_type=azurerm_databricks_virtual_network_peering @caller=/mnt/c/linux/src/github.com/hashicorp/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto diagnostic_severity=ERROR tf_rpc=ApplyResourceChange timestamp=2023-03-20T14:32:11.668-0600

2023-03-20T14:32:11.674-0600 [ERROR] vertex "azurerm_databricks_virtual_network_peering.test (destroy)" error: deleting Databricks Virtual Network Peering (Subscription: "{subscription}"
Resource Group Name: "XXXXX-databricks-vnet-peering"
Workspace Name: "XXXXX-workspace"
Virtual Network Peering Name: "databricks-vnet-peer"): json: cannot unmarshal string into Go value of type odata.odata
╷
│ Error: deleting Databricks Virtual Network Peering (Subscription: "{subscription}"
│ Resource Group Name: "XXXXX-databricks-vnet-peering"
│ Workspace Name: "XXXXX-workspace"
│ Virtual Network Peering Name: "databricks-vnet-peer"): json: cannot unmarshal string into Go value of type odata.odata

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base-layer bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants