cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5353) [Automation] listVpnUsers API returns null
Date Tue, 03 Dec 2013 20:15:36 GMT
Rayees Namathponnan created CLOUDSTACK-5353:
-----------------------------------------------

             Summary: [Automation] listVpnUsers API returns null 
                 Key: CLOUDSTACK-5353
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5353
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, Management Server
    Affects Versions: 4.3.0
         Environment: Branch ; 4.3
            Reporter: Rayees Namathponnan
            Priority: Blocker
             Fix For: 4.3.0


Steps: 
*********** 
1.deploy the advance zone with hypervisor as KVM
2.deployvm on new network 
3. Acquire new IP 
4.enable vpn on Ip 
5.create Vpn users

Expected result

Newly created user should be displayed same page

Actual Result 

New added user not displayed

also below API call does not return anything 

http://10.223.49.195:8096/?command=listVpnUsers&listall=true


Firebug 
1) 
http://10.223.49.195:8080/client/api?command=addVpnUser&response=json&sessionkey=RfqSp9FX7ZZhKDOc6CWZLEekFO4%3D&account=admin&domainid=8c62b19a-5bbb-11e3-a447-1a6f7bb0d0a8&password=dsds&username=sddsds

{ "addvpnuserresponse" : {"id":"8cedbb84-e4fa-4508-9465-6ad993377e72","jobid":"d3377654-ad52-4b61-b746-525e788224de"}
}

 
2) 
http://10.223.49.195:8080/client/api?command=queryAsyncJobResult&jobId=d3377654-ad52-4b61-b746-525e788224de&response=json&sessionkey=RfqSp9FX7ZZhKDOc6CWZLEekFO4%3D&_=1386100530785


{ "queryasyncjobresultresponse" : {"accountid":"d644a994-5bbb-11e3-a447-1a6f7bb0d0a8","userid":"d644e0b2-5bbb-11e3-a447-1a6f7bb0d0a8","cmd":"org.apache.cloudstack.api.command.user.vpn.AddVpnUserCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"vpnuser":{"id":"8cedbb84-e4fa-4508-9465-6ad993377e72","username":"sddsds","account":"admin","domainid":"8c62b19a-5bbb-11e3-a447-1a6f7bb0d0a8","domain":"ROOT"}},"created":"2013-12-03T11:55:27-0800","jobid":"d3377654-ad52-4b61-b746-525e788224de"}


3) 
http://10.223.49.195:8080/client/api?command=listVpnUsers&response=json&sessionkey=RfqSp9FX7ZZhKDOc6CWZLEekFO4%3D&domainid=8c62b19a-5bbb-11e3-a447-1a6f7bb0d0a8&account=admin&_=1386100530852

_	1386100530852
account	admin
command	listVpnUsers
domainid	8c62b19a-5bbb-11e3-a447-1a6f7bb0d0a8
response	json
sessionkey	RfqSp9FX7ZZhKDOc6CWZLEekFO4=





--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message