[ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheng Yang reassigned CLOUDSTACK-191: ------------------------------------- Assignee: Alex Huang (was: Sheng Yang) Alex, please cherry-pick following commit from master to 4.0 to fix this issue: commit a82ee7715e9e9a33c6924359fef9060cee002151 Author: Sheng Yang <sheng.y...@citrix.com> Date: Mon Sep 24 16:39:01 2012 -0700 CLOUDSTACK-191: Update checking for updateCustomerGateway Reviewed-by: Anthony Xu Conflicts: server/src/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java Thanks! > s2svpn:fail to update the VpnCustomerGateway details > ---------------------------------------------------- > > Key: CLOUDSTACK-191 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-191 > Project: CloudStack > Issue Type: Bug > Components: Network Controller > Affects Versions: 4.0.0 > Reporter: sadhu suresh > Assignee: Alex Huang > Fix For: pre-4.0.0 > > Attachments: management-server.rar, management-server.rar > > > UpdateVpnCustomerGatewayCmd is failing with error code 431.it says "The > customer gateway with ip 10.147.52.3 already existed in the system!" when we > try to update the details after removing the s2s vpn connection > Steps: > Steps to Reproduce: > ============== > 1.Bring up CS in advanced zone. > 2.Create vpc, cs vpn gateway, customer vpn gateway > 3.Create site to site vpn connection from cs vpn gateway to customer vpn > gateway > 4.remove vpn connection > 5.Try to update customer vpn gateway with different policies > Actual result: > =========== > updating customer vpn gateway details is failing and the command failed with > error code 431. > 2012-09-24 14:27:53,719 DEBUG [cloud.async.AsyncJobManagerImpl] > (catalina-exec-24:null) submit async job-15, details: AsyncJobVO {id:15, > userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: > null, cmd: com.cloud.api.commands.UpdateVpnCustomerGatewayCmd, cmdOriginator: > null, cmdInfo: > {"sessionkey":"WD6VCF9vDtD/0HDLyxPvM/i0K5c\u003d","ctxUserId":"2","gateway":"10.147.52.3","ikepolicy":"aes128-md5;modp1536","esppolicy":"3des-md5;modp1536","esplifetime":"3600","ipsecpsk":"s2svpnwithsrx","id":"96e01f33-646c-4d01-b0d4-0b5353ece0fe","response":"json","name":"tests2s","cidrlist":"192.168.1.0/24","_":"1348477223869","ctxAccountId":"2","ikelifetime":"86400","ctxStartEventId":"279","dpd":"true"}, > cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, > processStatus: 0, resultCode: 0, result: null, initMsid: 345052566032, > completeMsid: null, lastUpdated: null, lastPolled: null, created: null} > 2012-09-24 14:27:53,721 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-15:job-15) Executing > com.cloud.api.commands.UpdateVpnCustomerGatewayCmd for job-15 > 2012-09-24 14:27:53,729 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-15:job-15) Complete async job-15, jobStatus: 2, resultCode: > 530, result: Error Code: 431 Error text: The customer gateway with ip > 10.147.52.3 already existed in the system! > [root@rhel63 hh]# > Environment: > 10.147.29.102(root/password) > Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745 > Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira