Sanjeev N created CLOUDSTACK-1319:
-------------------------------------
Summary: createCustomerVpnGateway response gives TypeError:
json.createvpncustomergatewayresponse is undefined
Key: CLOUDSTACK-1319
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1319
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.1.0
Environment: ASF 4.1 latest build: commit
cb83c23484c0fb9b276a1aed9087436b394a6f89
Reporter: Sanjeev N
Assignee: Sheng Yang
Fix For: 4.1.0
createCustomerVpnGateway response gives TypeError:
json.createvpncustomergatewayresponse is undefined
Reproduction Method:
================
1. Bring up CS in advanced zone.
2.In UI navigate to network->vpn customer gateway. Add customer vpn gateway
3.Capture APIs using FireBug
Test Result:
=========
createCustomerVpnGateway results in json script error. However adding customer
vpn gateway is successful.
Observations:
===========
Issue is in the following json script at line no 4713:
var jid = json.createvpncustomergatewayresponse.jobid;
script: http://10.147.59.126:8080/client/scripts/network.js?t=1361272062801
API response: TypeError: json.createvpncustomergatewayresponse is undefined
API fired to add customer vpn gateway to CS is:
http://10.147.59.126:8080/client/api?command=createVpnCustomerGateway&response=json&sessionkey=XoIs0XvDt2tw3dGhuBxS16JiBFQ%3D&name=SRX&gateway=10.147.52.3&cidrlist=192.168.0.0%2F16&ipsecpsk=s2svpnwithsrx&ikelifetime=86400&esplifetime=3600&dpd=true&ikepolicy=aes128-md5%3Bmodp1536&esppolicy=aes128-md5%3Bmodp1536&_=1361255920268
--
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