ravening opened a new pull request #4429:
URL: https://github.com/apache/cloudstack/pull/4429


   
   ## Description
   <!--- Describe your changes in detail -->
   When we try to reset the site 2 site vpn connection while
   the VR's are being restarted, the connection enters the
   PENDING state and we cant reset the connection.
   
   So change the state from PENDING to disconnected.
   
   Steps to reproduce the issue
   
   1.create a VPC with a tier (vpc-001-001 in vpc-001), create a vm
   2.create a VPC with a tier (vpc-002-001 in vpc-002) with different cidr, 
create a vm
   3.create custom gateway for both vpn
   4.enable site-to-site vpn on both vpn, and add vpn connection to each other. 
both should be "Connected"
   5.restart vpc-001 with cleanup and monitor it
   6.when the first router is destroyed, go to site-to-site vpn page and reset 
vpn connection.
   7.we will get an error "Resource [DataCenter:1] is unreachable: Unable to 
apply site 2 site VPN configuration, virtual router is not in the right state"
   and vpn connection is stuck at Pending
   8.When vpc is restarted, go to site-to-site vpn page and reset vpn 
connection.
   
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] 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)
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to