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

vnet peering det disconnected when changing a backend pool in app gw #18091

Closed
neidiom opened this issue May 21, 2018 · 2 comments
Closed

vnet peering det disconnected when changing a backend pool in app gw #18091

neidiom opened this issue May 21, 2018 · 2 comments

Comments

@neidiom
Copy link

neidiom commented May 21, 2018

I paired two vnets. One is where my Application Gateway is. Everytime I change something, like adding a new ip to the backend pool, the vnet peering breaks. Here is the error message.

* azurerm_virtual_network_peering.vnet_peer_2_ned_app_gw_vnet: 1 error(s) occurred:

* azurerm_virtual_network_peering.vnet_peer_2_xxx_app_gw_vnet: Error Creating/Updating Virtual Network Peering "peer_xxx_app_gw_vnet_to_xxx_xxx_vnet" (Network "xxxxs-vnet-12345" / Resource Group "xx-xx-west-test-xxxx-application-gateway-rg"): network.VirtualNetworkPeeringsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="RemotePeeringIsDisconnected" Message="Cannot create or update peering /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/xx-xx-west-test-xxxx-application-gateway-rg/providers/Microsoft.Network/virtualNetworks/xxxxs-vnet-12345/virtualNetworkPeerings/peer_xxx_app_gw_vnet_to_xxx_xxx_vnet because remote peering /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/xx-xx-netrg/providers/Microsoft.Network/virtualNetworks/xx-xx-vnet/virtualNetworkPeerings/peer_xxx_xxx_vnet_to_xxx_app_gw_vnet referencing parent virtual network /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/xx-xx-west-test-xxxx-application-gateway-rg/providers/Microsoft.Network/virtualNetworks/xxxxs-vnet-12345 is in Disconnected state. Update or re-create the remote peering to get it back to Initiated state. Peering gets Disconnected when remote vnet or remote peering is deleted and re-created." Details=[]
@ghost
Copy link

ghost commented May 22, 2018

This issue has been automatically migrated to hashicorp/terraform-provider-azurerm#1274 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-azurerm#1274.

@ghost
Copy link

ghost commented Apr 3, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 3, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants