CloudStack
  1. CloudStack
  2. CLOUDSTACK-1319

createCustomerVpnGateway response gives TypeError: json.createvpncustomergatewayresponse is undefined

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      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

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

        Activity

        Hide
        Sanjeev N added a comment -

        Attached vmops.log, and auth.log files

        Show
        Sanjeev N added a comment - Attached vmops.log, and auth.log files
        Hide
        Sanjeev N added a comment -

        Please ignore my previous comment.

        Show
        Sanjeev N added a comment - Please ignore my previous comment.
        Hide
        ASF subversion and git services added a comment -

        Commit 917d6242e3a6f37224b6d93a6f80a44a552a6734 in branch refs/heads/4.1 from Jessica Wang
        [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=917d624 ]

        CLOUDSTACK-1319: cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.

        Show
        ASF subversion and git services added a comment - Commit 917d6242e3a6f37224b6d93a6f80a44a552a6734 in branch refs/heads/4.1 from Jessica Wang [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=917d624 ] CLOUDSTACK-1319 : cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.
        Hide
        ASF subversion and git services added a comment -

        Commit ff4a54ce689014c363bcc1ff45751be163dd83a7 in branch refs/heads/master from Jessica Wang
        [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=ff4a54c ]

        CLOUDSTACK-1319: cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.

        Show
        ASF subversion and git services added a comment - Commit ff4a54ce689014c363bcc1ff45751be163dd83a7 in branch refs/heads/master from Jessica Wang [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=ff4a54c ] CLOUDSTACK-1319 : cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.
        Hide
        ASF subversion and git services added a comment -

        Commit ff4a54ce689014c363bcc1ff45751be163dd83a7 in branch refs/heads/ui-multiple-nics from Jessica Wang
        [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=ff4a54c ]

        CLOUDSTACK-1319: cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.

        Show
        ASF subversion and git services added a comment - Commit ff4a54ce689014c363bcc1ff45751be163dd83a7 in branch refs/heads/ui-multiple-nics from Jessica Wang [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=ff4a54c ] CLOUDSTACK-1319 : cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.
        Hide
        ASF subversion and git services added a comment -

        Commit 530bd4d6c47cd6832079fdbc164db329a5f871e0 in branch refs/heads/4.0 from Jessica Wang
        [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=530bd4d ]

        CLOUDSTACK-1319: cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.

        Show
        ASF subversion and git services added a comment - Commit 530bd4d6c47cd6832079fdbc164db329a5f871e0 in branch refs/heads/4.0 from Jessica Wang [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=530bd4d ] CLOUDSTACK-1319 : cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side.
        Hide
        Sanjeev N added a comment -

        Verified on latest ASF 4.1 build:
        commit 903aeb9b775561763810b7de708a7997a4685509

        Test Passed.

        Show
        Sanjeev N added a comment - Verified on latest ASF 4.1 build: commit 903aeb9b775561763810b7de708a7997a4685509 Test Passed.

          People

          • Assignee:
            Jessica Wang
            Reporter:
            Sanjeev N
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development