Skip to content

Start all (instead of Disconnected) Site-to-Site VPN connections when VPC VR starts#3863

Merged
yadvr merged 1 commit into
apache:masterfrom
ravening:start_s2s_vpn
Feb 5, 2020
Merged

Start all (instead of Disconnected) Site-to-Site VPN connections when VPC VR starts#3863
yadvr merged 1 commit into
apache:masterfrom
ravening:start_s2s_vpn

Conversation

@ravening
Copy link
Copy Markdown
Member

@ravening ravening commented Feb 4, 2020

Description

When we restart the VPC after destroying the master VR, the backup VR
becomes the master and the site to site connections are not in
the connected state. The passive VPN connection will be in the connected
state but the active VPN connection will be in a disconnected state

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

Steps to reproduce the issue

1 . Create two VPC's. Configure VPN customer gateway and VPN connection. The steps are clearly explained in here
2 . Once everything is setup properly make sure that the VPN state is "Connected" in both VPC.
3 . Now navigate to "Infrastructure" → "Virtual Routers"
4 . Search for the routers which belong to one of the VPC created above
5 . Now stop the Backup router and eventually destroy it. It is important that you stop/destroy the Backup router and not the Master router
6 . Now navigate to "Networks" → Select "VPC" in the select view drop down menu and select the VPC for which the virtual router has been destroyed.
7 . Now restart the VPC without cleanup. This will create a new backup VR.
8 . Once the backup vr is created, stop/destroy the master router. The steps are similar to destroying the backup router
9 . Again navigate to Networks → vpc and restart the VPC without cleanup. The initial backup router will become the master and a new backup router will be created
10 . Now check the status of the VPN connection

Expected result:

Both the active and passive VPN connections should be in "Connected" state.

Actual result:

Passive VPN was in Connected state and the active VPN was in Disconnected state

… VPC VR starts

When we restart the VPC after destroying the master VR, the backup VR
becomes the master and the site to site connections are not in
connected state. The passive VPN connection will be in connected
state but the active VPN connection will be in disconnected state
@yadvr yadvr closed this Feb 4, 2020
@yadvr yadvr reopened this Feb 4, 2020
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Feb 4, 2020

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-744

Copy link
Copy Markdown
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested manually

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Feb 4, 2020

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-888)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39403 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3863-t888-kvm-centos7.zip
Smoke tests completed. 79 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@yadvr yadvr added this to the 4.14.0.0 milestone Feb 5, 2020
@yadvr yadvr merged commit 107bba3 into apache:master Feb 5, 2020
ustcweizhou pushed a commit to ustcweizhou/cloudstack that referenced this pull request Feb 28, 2020
…ache#3863)

When we restart the VPC after destroying the master VR, the backup VR
becomes the master and the site to site connections are not in
the connected state. The passive VPN connection will be in the connected
state but the active VPN connection will be in a disconnected state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants