You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "sadhu suresh (JIRA)" <ji...@apache.org> on 2012/09/24 11:23:07 UTC

[jira] [Created] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

sadhu suresh created CLOUDSTACK-191:
---------------------------------------

             Summary: 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


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

[jira] [Resolved] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "Sheng Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sheng Yang resolved CLOUDSTACK-191.
-----------------------------------

    Resolution: Fixed

Fixed at:

commit a82ee7715e9e9a33c6924359fef9060cee002151
Author: Sheng Yang <sh...@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

                
> 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: Sheng Yang
>             Fix For: pre-4.0.0
>
>         Attachments: 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

[jira] [Updated] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "Sudha Ponnaganti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sudha Ponnaganti updated CLOUDSTACK-191:
----------------------------------------

    Assignee: Sheng Yang
    
> 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: Sheng Yang
>         Attachments: 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

[jira] [Reopened] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "sadhu suresh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sadhu suresh reopened CLOUDSTACK-191:
-------------------------------------


Still see the problem so reopening issue.

2012-10-04 15:56:32,676 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) submit async job-17, details: AsyncJobVO {id:17, userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: null, cmd: com.cloud.api.commands.UpdateVpnCustomerGatewayCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"+/WDK7FOPr+kOZ8r7/MYxcG+ph0\u003d","ctxUserId":"2","gateway":"10.147.52.3","ikepolicy":"3des-md5;modp1536","esppolicy":"3des-md5;modp1536","esplifetime":"3600","ipsecpsk":"s2svpnwithsrx","id":"50c7d229-12f5-42f6-b9b3-74326831b784","response":"json","name":"juniper-srx","cidrlist":"192.168.1.0/24","_":"1349346464395","ctxAccountId":"2","ikelifetime":"86400","ctxStartEventId":"74","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-10-04 15:56:32,680 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-17:job-17) Executing com.cloud.api.commands.UpdateVpnCustomerGatewayCmd for job-17
2012-10-04 15:56:32,689 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-17:job-17) Complete async job-17, jobStatus: 2, resultCode: 530, result: Error Code: 431 Error text: The customer gateway with ip 10.147.52.3 already existed in the system!

 cloud-sccs
Git Revision: 7f95ec70688b7dd899f6081d7df90da1b140188d
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git


                
> 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: Sheng Yang
>             Fix For: pre-4.0.0
>
>         Attachments: 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

[jira] [Updated] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "sadhu suresh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sadhu suresh updated CLOUDSTACK-191:
------------------------------------

    Attachment: management-server.rar

management log
                
> 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: Sheng Yang
>             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

[jira] [Updated] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Huang updated CLOUDSTACK-191:
----------------------------------

    Fix Version/s: pre-4.0.0
    
> 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: Sheng Yang
>             Fix For: pre-4.0.0
>
>         Attachments: 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

[jira] [Resolved] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Huang resolved CLOUDSTACK-191.
-----------------------------------

    Resolution: Fixed
      Assignee:     (was: Alex Huang)
    
> 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
>             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

[jira] [Assigned] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "Sheng Yang (JIRA)" <ji...@apache.org>.
     [ 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 <sh...@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

[jira] [Updated] (CLOUDSTACK-191) s2svpn:fail to update the VpnCustomerGateway details

Posted by "sadhu suresh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sadhu suresh updated CLOUDSTACK-191:
------------------------------------

    Attachment: management-server.rar

cloud-management log
                
> 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
>         Attachments: 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