Sent from Samsung Galaxy S5 -------- Original message -------- From: taufique shaikh <tauf_...@hotmail.com> Date: 04/07/2014 15:19 (GMT+05:30) To: Vihar <vih1...@gmail.com> Subject: RE: CloudStack 4.3 error while addin device Please check attach log file as required, look forward to hear from you soon..! Thank you. Date: Fri, 4 Jul 2014 02:39:25 +0530 Subject: Re: CloudStack 4.3 error while addin device From: vih1...@gmail.com To: tauf_...@hotmail.com HI You can see the log files under /var/log/cloudstack/management/management-server.log. The logs can be copied to your desktop by using WinSCP. Once you have collected the log files you can attach the same in email. Regards Vihar K On Fri, Jul 4, 2014 at 2:28 AM, taufique shaikh <tauf_...@hotmail.com> wrote: Hii, Attach is the error messae I am havin while addin Netscaler device..! Can you confirm how and where I can collect log... My Cloustack IP is : 10.0.0.10/24 Netscaler VM Installed with SSL OFFLoadin License : Accessible on 10.0.0.158/24 While addin am followin below process Infrastructure --> Zone --> ZoneName --> Physical Network --> Network Service Provider --> Netscaler --> Add Device IP : 10.0.0.158 user: nsroot pass : nsroot Type : Netscaler VPX LoadBalancer Interface Public : 1/1 Interface Private : 1/1 When I say create after few secs I have attach error every time..! Thank you. > Date: Fri, 4 Jul 2014 01:57:44 +0530 > Subject: Re: CloudStack 4.3 error while addin device > From: vih1...@gmail.com > To: users@cloudstack.apache.org > > Hi Taufique, > > Could you able to provide us the log files and the screenshot of the error > message that your are receiving > > Regards > Vihar Parameswaran > > > On Fri, Jul 4, 2014 at 12:10 AM, taufique shaikh <tauf_...@hotmail.com> > wrote: > > > > > Hi there, > > > > I have just started testin with cloudstack, install version 4.3 and able > > to create zone, pod, clusted , host and vm successfully. > > I am usin XEN Server Hypervision, I have intall Netscaler VM and tryin to > > add the same in Cloudstack > > > > For addin I am usin below path > > Infrastructure --> Zone --> ZoneName --> Physical Network --> Network > > Service Provider. > > > > When I am addin Netscaler IP with username and pass am havin attach error. > > > > "Java.Lan.nullpointremoteexception" > > > > Both cloudstack VM and Netscaler VM are on same subnet of 10.0.0.x/24. > > > > *Can you please confirm what this error is and how do I resolve the > > same..!* > > *Your support is hihly appreciated..!* > > > > Thank you. > > > >
2014-07-04 16:05:57,784 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-15:null) SeqA 16-21730: Sending Seq 16-21730: { Ans: , MgmtId: 52230216006, via: 16, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-07-04 16:05:58,567 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-1dc26e2b) StorageCollector is running... 2014-07-04 16:05:58,645 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-1dc26e2b) Seq 15-1738671110: Received: { Ans: , MgmtId: 52230216006, via: 15, Ver: v1, Flags: 10, { GetStorageStatsAnswer } } 2014-07-04 16:05:58,647 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-298:ctx-b84dc920) Seq 1-496372222: Executing request 2014-07-04 16:05:59,178 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-298:ctx-b84dc920) Seq 1-496372222: Response Received: 2014-07-04 16:05:59,178 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-1dc26e2b) Seq 1-496372222: Received: { Ans: , MgmtId: 52230216006, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } } 2014-07-04 16:06:01,337 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-8f746343) Zone 1 is ready to launch secondary storage VM 2014-07-04 16:06:01,377 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-1d8f0015) Zone 1 is ready to launch console proxy 2014-07-04 16:06:07,780 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 16-21731: Processing Seq 16-21731: { Cmd , MgmtId: -1, via: 16, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":88,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2014-07-04 16:06:07,784 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 16-21731: Sending Seq 16-21731: { Ans: , MgmtId: 52230216006, via: 16, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-07-04 16:06:10,187 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-0035d5f2) ===START=== 10.10.10.210 -- GET command=addNetworkServiceProvider&name=Netscaler&physicalnetworkid=ec385101-2487-4855-982b-a6856cc544ef&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D&_=1404450432290 2014-07-04 16:06:10,212 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-21:ctx-0035d5f2 ctx-96b30ca9) submit async job-1084, details: AsyncJobVO {id:1084, userId: 2, accountId: 2, instanceType: PhysicalNetworkServiceProvider, instanceId: 17, cmd: org.apache.cloudstack.api.command.admin.network.AddNetworkServiceProviderCmd, cmdInfo: {"id":"17","response":"json","physicalnetworkid":"ec385101-2487-4855-982b-a6856cc544ef","sessionkey":"QkQ9hH6q0UMv/rcyhG9ApVMSvAo\u003d","cmdEventType":"SERVICE.PROVIDER.CREATE","ctxUserId":"2","name":"Netscaler","httpmethod":"GET","_":"1404450432290","ctxAccountId":"2","ctxStartEventId":"13964"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52230216006, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-07-04 16:06:10,212 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-37:ctx-8a474b6c) Add job-1084 into job monitoring 2014-07-04 16:06:10,212 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-37:ctx-8a474b6c) Executing AsyncJobVO {id:1084, userId: 2, accountId: 2, instanceType: PhysicalNetworkServiceProvider, instanceId: 17, cmd: org.apache.cloudstack.api.command.admin.network.AddNetworkServiceProviderCmd, cmdInfo: {"id":"17","response":"json","physicalnetworkid":"ec385101-2487-4855-982b-a6856cc544ef","sessionkey":"QkQ9hH6q0UMv/rcyhG9ApVMSvAo\u003d","cmdEventType":"SERVICE.PROVIDER.CREATE","ctxUserId":"2","name":"Netscaler","httpmethod":"GET","_":"1404450432290","ctxAccountId":"2","ctxStartEventId":"13964"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52230216006, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-07-04 16:06:10,212 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-0035d5f2 ctx-96b30ca9) ===END=== 10.10.10.210 -- GET command=addNetworkServiceProvider&name=Netscaler&physicalnetworkid=ec385101-2487-4855-982b-a6856cc544ef&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D&_=1404450432290 2014-07-04 16:06:10,255 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-37:ctx-8a474b6c ctx-96b30ca9) Complete async job-1084, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.ProviderResponse/networkserviceprovider/{"name":"Netscaler","physicalnetworkid":"ec385101-2487-4855-982b-a6856cc544ef","state":"Disabled","id":"9c4f8e6d-f4a8-43fe-b0fa-6b2450b6832d","servicelist":["Firewall","Lb","StaticNat"]} 2014-07-04 16:06:10,262 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-37:ctx-8a474b6c) Done executing org.apache.cloudstack.api.command.admin.network.AddNetworkServiceProviderCmd for job-1084 2014-07-04 16:06:10,265 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-37:ctx-8a474b6c) Remove job-1084 from job monitoring 2014-07-04 16:06:10,812 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-1c846a02) Found 4 routers to update status. 2014-07-04 16:06:10,813 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-1c846a02) Found 0 networks to update RvR status. 2014-07-04 16:06:12,781 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 16-21732: Processing Seq 16-21732: { Cmd , MgmtId: -1, via: 16, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":88,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2014-07-04 16:06:12,804 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 16-21732: Sending Seq 16-21732: { Ans: , MgmtId: 52230216006, via: 16, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-07-04 16:06:13,338 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-dcc13e2b) ===START=== 10.10.10.210 -- GET command=queryAsyncJobResult&jobId=40b619d0-bd91-4ab8-b586-909fb51e2885&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D&_=1404450435461 2014-07-04 16:06:13,359 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-dcc13e2b ctx-851256e0) ===END=== 10.10.10.210 -- GET command=queryAsyncJobResult&jobId=40b619d0-bd91-4ab8-b586-909fb51e2885&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D&_=1404450435461 2014-07-04 16:06:13,367 DEBUG [c.c.a.ApiServlet] (catalina-exec-24:ctx-1e0ecf1d) ===START=== 10.10.10.210 -- POST command=addNetscalerLoadBalancer&physicalnetworkid=ec385101-2487-4855-982b-a6856cc544ef&username=nsroot&networkdevicetype=NetscalerVPXLoadBalancer&gslbprovider=false&gslbproviderpublicip=&gslbproviderprivateip=&url=https%3A%2F%2F10.0.0.158%3Fpublicinterface%3D1%2F1%26privateinterface%3D1%2F2%26numretries%3D2%26lbdevicededicated%3Dfalse&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D 2014-07-04 16:06:13,383 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-24:ctx-1e0ecf1d ctx-7865b698) submit async job-1085, details: AsyncJobVO {id:1085, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: com.cloud.api.commands.AddNetscalerLoadBalancerCmd, cmdInfo: {"physicalnetworkid":"ec385101-2487-4855-982b-a6856cc544ef","sessionkey":"QkQ9hH6q0UMv/rcyhG9ApVMSvAo\u003d","cmdEventType":"PHYSICAL.LOADBALANCER.ADD","gslbprovider":"false","ctxUserId":"2","httpmethod":"POST","gslbproviderpublicip":"","password":"nsroot","url":"https://10.0.0.158?publicinterface\u003d1/1\u0026privateinterface\u003d1/2\u0026numretries\u003d2\u0026lbdevicededicated\u003dfalse","response":"json","username":"nsroot","networkdevicetype":"NetscalerVPXLoadBalancer","gslbproviderprivateip":"","ctxAccountId":"2","ctxStartEventId":"13968"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52230216006, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-07-04 16:06:13,383 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-38:ctx-29680cd2) Add job-1085 into job monitoring 2014-07-04 16:06:13,383 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-38:ctx-29680cd2) Executing AsyncJobVO {id:1085, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: com.cloud.api.commands.AddNetscalerLoadBalancerCmd, cmdInfo: {"physicalnetworkid":"ec385101-2487-4855-982b-a6856cc544ef","sessionkey":"QkQ9hH6q0UMv/rcyhG9ApVMSvAo\u003d","cmdEventType":"PHYSICAL.LOADBALANCER.ADD","gslbprovider":"false","ctxUserId":"2","httpmethod":"POST","gslbproviderpublicip":"","password":"nsroot","url":"https://10.0.0.158?publicinterface\u003d1/1\u0026privateinterface\u003d1/2\u0026numretries\u003d2\u0026lbdevicededicated\u003dfalse","response":"json","username":"nsroot","networkdevicetype":"NetscalerVPXLoadBalancer","gslbproviderprivateip":"","ctxAccountId":"2","ctxStartEventId":"13968"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52230216006, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-07-04 16:06:13,383 DEBUG [c.c.a.ApiServlet] (catalina-exec-24:ctx-1e0ecf1d ctx-7865b698) ===END=== 10.10.10.210 -- POST command=addNetscalerLoadBalancer&physicalnetworkid=ec385101-2487-4855-982b-a6856cc544ef&username=nsroot&networkdevicetype=NetscalerVPXLoadBalancer&gslbprovider=false&gslbproviderpublicip=&gslbproviderprivateip=&url=https%3A%2F%2F10.0.0.158%3Fpublicinterface%3D1%2F1%26privateinterface%3D1%2F2%26numretries%3D2%26lbdevicededicated%3Dfalse&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D 2014-07-04 16:06:13,412 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-38:ctx-29680cd2) Complete async job-1085, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to log in to Netscaler device at 10.0.0.158 due to java.lang.NullPointerException"} 2014-07-04 16:06:13,418 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-38:ctx-29680cd2) Done executing com.cloud.api.commands.AddNetscalerLoadBalancerCmd for job-1085 2014-07-04 16:06:13,420 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-38:ctx-29680cd2) Remove job-1085 from job monitoring 2014-07-04 16:06:14,700 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-49fdb7e1) VmStatsCollector is running... 2014-07-04 16:06:14,714 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-66:ctx-a7603b29) Seq 1-496372223: Executing request 2014-07-04 16:06:14,835 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-66:ctx-a7603b29) Vm cpu utilization 1.2325000000000002 2014-07-04 16:06:14,835 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-66:ctx-a7603b29) Vm cpu utilization 7.9575000000000005 2014-07-04 16:06:14,835 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-66:ctx-a7603b29) Vm cpu utilization 1.68 2014-07-04 16:06:14,873 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-66:ctx-a7603b29) Seq 1-496372223: Response Received: 2014-07-04 16:06:14,873 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-49fdb7e1) Seq 1-496372223: Received: { Ans: , MgmtId: 52230216006, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer } } 2014-07-04 16:06:14,880 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-191:ctx-ee3fdf26) Seq 7-2034174750: Executing request 2014-07-04 16:06:15,063 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-191:ctx-ee3fdf26) Vm cpu utilization 0.8975000000000001 2014-07-04 16:06:15,063 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-191:ctx-ee3fdf26) Vm cpu utilization 2.0324999999999998 2014-07-04 16:06:15,063 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-191:ctx-ee3fdf26) Vm cpu utilization 0.9125000000000001 2014-07-04 16:06:15,094 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-191:ctx-ee3fdf26) Seq 7-2034174750: Response Received: 2014-07-04 16:06:15,094 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-49fdb7e1) Seq 7-2034174750: Received: { Ans: , MgmtId: 52230216006, via: 7, Ver: v1, Flags: 10, { GetVmStatsAnswer } } 2014-07-04 16:06:16,395 DEBUG [c.c.a.ApiServlet] (catalina-exec-23:ctx-3ce5c217) ===START=== 10.10.10.210 -- GET command=queryAsyncJobResult&jobId=07cea998-7dee-4252-98ec-00693e51c293&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D&_=1404450438516 2014-07-04 16:06:16,414 DEBUG [c.c.a.ApiServlet] (catalina-exec-23:ctx-3ce5c217 ctx-0f6f4d7e) ===END=== 10.10.10.210 -- GET command=queryAsyncJobResult&jobId=07cea998-7dee-4252-98ec-00693e51c293&response=json&sessionkey=QkQ9hH6q0UMv%2FrcyhG9ApVMSvAo%3D&_=1404450438516