Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-1319

createCustomerVpnGateway response gives TypeError: json.createvpncustomergatewayresponse is undefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • ASF 4.1 latest build: commit cb83c23484c0fb9b276a1aed9087436b394a6f89

    Description

      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

      Attachments

        1. auth.log
          21 kB
          Sanjeev N
        2. vmops.rar
          1.57 MB
          Sanjeev N

        Activity

          People

            jessicawang Jessica Wang
            sanjeevn Sanjeev N
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: