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 #1274

Closed
ghost opened this issue May 22, 2018 · 3 comments
Closed

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

ghost opened this issue May 22, 2018 · 3 comments
Labels
bug service/application-gateway upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR

Comments

@ghost
Copy link

ghost commented May 22, 2018

This issue was originally opened by @neidiom as hashicorp/terraform#18091. It was migrated here as a result of the provider split. The original body of the issue is below.


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=[]
@tombuildsstuff
Copy link
Contributor

hey @neidiom

Thanks for opening this issue :)

Just to let you know that we're holding off doing any improvements to the Application Gateway resource until this bug is resolved - since it's making it extremely challenging to test fixes work as expected (since, there's about an 80% failure rate deleting Application Gateways at the moment). Once that issue's been resolved we can look into scheduling some time to investigate issues with the Appliation.

Thanks!

@tombuildsstuff tombuildsstuff added the upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR label May 22, 2018
@tombuildsstuff
Copy link
Contributor

hi @neidiom

Given this issue is blocked on an upstream issue in the Azure API rather than keeping multiple issues open and trying to ensure they all remain up to date - I'm going to close this in favour of #1576 which is the Meta-Issue tracking the Bugs and Enhancements for the Application Gateway Resource. Once the bug in the API is fixed we should be able to take a look into this, but we'll keep track of the status of this issue there for the moment.

Thanks!

@tombuildsstuff tombuildsstuff modified the milestones: Future, Being Sorted Oct 25, 2018
@ghost
Copy link
Author

ghost commented Mar 6, 2019

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug service/application-gateway upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR
Projects
None yet
Development

No branches or pull requests

1 participant