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 not done correctly in 'Deploys virtual network peering to hub' policy #728

Closed
pagyP opened this issue Aug 4, 2021 · 1 comment · Fixed by #772
Closed

vnet peering not done correctly in 'Deploys virtual network peering to hub' policy #728

pagyP opened this issue Aug 4, 2021 · 1 comment · Fixed by #772
Assignees
Labels
bug Something isn't working

Comments

@pagyP
Copy link

pagyP commented Aug 4, 2021

Describe the bug
When assigning this policy the vnet peering is configured to enable gateway transit at each end of the peering. Spoke side of the peering also has 'use remote gateway' set to false. Result is the spoke vnet cannot use the vnet gateway in the hub virtual network

Steps to reproduce

1.Assign policy to relevant scope
2.Vnets are peered but each vnet has 'gateway transit' enabled.
3. Spoke vnet does not have 'use remote gateway enabled'

Screenshots

spoke vnet without 'use remote gateway' enabled
image

spoke to hub vnet peering
image

hub to spoke peering
image

Use remote gateway set to false
image

image

I think the policy should look like this this instead:

Set use remote gateway param to true (or make param such that you have the choice of true or false at assignment time)
image

set enable gateway transit to false at the spoke side of the peering
image

@pagyP pagyP added the bug Something isn't working label Aug 4, 2021
@daltondhcp
Copy link
Contributor

Thank you for reporting, we will make sure to fix this in one of our coming releases!

@daltondhcp daltondhcp removed the triage label Aug 23, 2021
@daltondhcp daltondhcp linked a pull request Aug 31, 2021 that will close this issue
6 tasks
@ghost ghost locked as resolved and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants