[jira] [Commented] (CLOUDSTACK-4028) [Automation] Null Pointer Exception observed while creating template

2013-08-05 Thread Nitin Mehta (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13729297#comment-13729297
 ] 

Nitin Mehta commented on CLOUDSTACK-4028:
-

I tried this for my setup on latest 4.2 and its working fine for me creating 
template from volume. Closing this as not reproducible. Please feel free to 
reopen this if you see it happening again.

 [Automation] Null Pointer Exception observed while creating template
 

 Key: CLOUDSTACK-4028
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4028
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Assignee: Nitin Mehta
Priority: Critical
 Fix For: 4.2.0

 Attachments: management-server.rar


  This issue observed during regression test resource_limits 
 Below null pointer exception observed in MS log
 9b-483c-902f-167fb01cd2f1,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:fff90cb5-06dd-33b3-8815-d78c08ca01d9,id:1,poolTy
 pe:NetworkFilesystem,host:10.223.110.232,path:/export/home/rayees/SC_QA_AUTO4/primary,port:2049}},name:ROOT-453,size:147456,path:d57149f0-9932-49dd-b4f0-
 4dc286c95283,volumeId:509,vmName:i-251-453-QA,accountId:251,format:QCOW2,id:509,hypervisorType:KVM}},destTO:{org.apache.cloudstack.storage.to.TemplateObj
 ectTO:{path:template/tmpl/251/226,uuid:b884ddac-ba48-4946-8266-ce10fe40ab7d,id:226,format:RAW,accountId:251,hvm:true,displayText:Cent
  OS Template,image
 DataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary,_role:Image}},name:2ac0ba622-e789-354d-b69b-d3b40de4
 5701,hypervisorType:KVM}},executeInSequence:false,wait:10800}}] }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-6:null) Seq 4-297077579: Processing:  { Ans: , MgmtId: 
 29066118877352, via: 4, Ver: v1, Flags: 10
 , 
 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,details:java.lang.NullPointerException,wait:0}}]
  }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Seq 
 4-297077579: Received:  { Ans: , MgmtId: 2906
 6118877352, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2013-07-05 03:29:45,464 DEBUG [cloud.template.TemplateManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Failed 
 to create templatejava.lang.NullPointerException
 2013-07-05 03:29:45,560 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to create 
 templatejava.lang.NullPointerException
 at 
 com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1372)
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 2013-07-05 03:29:45,561 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Complete async job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ], 
 jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to 
 create templatejava.lang.NullPointerException
 2013-07-05 03:29:46,044 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  10.223.240.194 -- GET  
 signature=d5oNqmtHPLw0QTpehRKp0O0OhPo%3DapiKey=p4VwLP4mhd90QBeBxwJ39YurvbLtOuGc-qgcm4pN2B58bSZJZgGJezD5V1GR6vx38YPDGF4-h7_R0WqxvUkGEAcommand=queryAsyncJobResultresponse=jsonjobid=f7075411-b89e-4fd0-804d-e9af80b856ce
 2013-07-05 03:29:46,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  10.223.240.194 -- GET  
 

[jira] [Commented] (CLOUDSTACK-4028) [Automation] Null Pointer Exception observed while creating template

2013-08-05 Thread Nitin Mehta (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13729308#comment-13729308
 ] 

Nitin Mehta commented on CLOUDSTACK-4028:
-

Please do also note that my setup was XS. In case you see it only for 
kvm...please reopen accordingly with that information.

 [Automation] Null Pointer Exception observed while creating template
 

 Key: CLOUDSTACK-4028
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4028
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Assignee: Nitin Mehta
Priority: Critical
 Fix For: 4.2.0

 Attachments: management-server.rar


  This issue observed during regression test resource_limits 
 Below null pointer exception observed in MS log
 9b-483c-902f-167fb01cd2f1,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:fff90cb5-06dd-33b3-8815-d78c08ca01d9,id:1,poolTy
 pe:NetworkFilesystem,host:10.223.110.232,path:/export/home/rayees/SC_QA_AUTO4/primary,port:2049}},name:ROOT-453,size:147456,path:d57149f0-9932-49dd-b4f0-
 4dc286c95283,volumeId:509,vmName:i-251-453-QA,accountId:251,format:QCOW2,id:509,hypervisorType:KVM}},destTO:{org.apache.cloudstack.storage.to.TemplateObj
 ectTO:{path:template/tmpl/251/226,uuid:b884ddac-ba48-4946-8266-ce10fe40ab7d,id:226,format:RAW,accountId:251,hvm:true,displayText:Cent
  OS Template,image
 DataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary,_role:Image}},name:2ac0ba622-e789-354d-b69b-d3b40de4
 5701,hypervisorType:KVM}},executeInSequence:false,wait:10800}}] }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-6:null) Seq 4-297077579: Processing:  { Ans: , MgmtId: 
 29066118877352, via: 4, Ver: v1, Flags: 10
 , 
 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,details:java.lang.NullPointerException,wait:0}}]
  }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Seq 
 4-297077579: Received:  { Ans: , MgmtId: 2906
 6118877352, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2013-07-05 03:29:45,464 DEBUG [cloud.template.TemplateManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Failed 
 to create templatejava.lang.NullPointerException
 2013-07-05 03:29:45,560 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to create 
 templatejava.lang.NullPointerException
 at 
 com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1372)
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 2013-07-05 03:29:45,561 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Complete async job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ], 
 jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to 
 create templatejava.lang.NullPointerException
 2013-07-05 03:29:46,044 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  10.223.240.194 -- GET  
 signature=d5oNqmtHPLw0QTpehRKp0O0OhPo%3DapiKey=p4VwLP4mhd90QBeBxwJ39YurvbLtOuGc-qgcm4pN2B58bSZJZgGJezD5V1GR6vx38YPDGF4-h7_R0WqxvUkGEAcommand=queryAsyncJobResultresponse=jsonjobid=f7075411-b89e-4fd0-804d-e9af80b856ce
 2013-07-05 03:29:46,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  10.223.240.194 -- GET  
 

[jira] [Commented] (CLOUDSTACK-4028) [Automation] Null Pointer Exception observed while creating template

2013-08-05 Thread Rayees Namathponnan (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13729690#comment-13729690
 ] 

Rayees Namathponnan commented on CLOUDSTACK-4028:
-

Nithin - Did you get a chance to run the test mentioned in this ticket  ? test 
resource_limits.py 

 [Automation] Null Pointer Exception observed while creating template
 

 Key: CLOUDSTACK-4028
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4028
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Assignee: Nitin Mehta
Priority: Critical
 Fix For: 4.2.0

 Attachments: management-server.rar


  This issue observed during regression test resource_limits 
 Below null pointer exception observed in MS log
 9b-483c-902f-167fb01cd2f1,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:fff90cb5-06dd-33b3-8815-d78c08ca01d9,id:1,poolTy
 pe:NetworkFilesystem,host:10.223.110.232,path:/export/home/rayees/SC_QA_AUTO4/primary,port:2049}},name:ROOT-453,size:147456,path:d57149f0-9932-49dd-b4f0-
 4dc286c95283,volumeId:509,vmName:i-251-453-QA,accountId:251,format:QCOW2,id:509,hypervisorType:KVM}},destTO:{org.apache.cloudstack.storage.to.TemplateObj
 ectTO:{path:template/tmpl/251/226,uuid:b884ddac-ba48-4946-8266-ce10fe40ab7d,id:226,format:RAW,accountId:251,hvm:true,displayText:Cent
  OS Template,image
 DataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary,_role:Image}},name:2ac0ba622-e789-354d-b69b-d3b40de4
 5701,hypervisorType:KVM}},executeInSequence:false,wait:10800}}] }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-6:null) Seq 4-297077579: Processing:  { Ans: , MgmtId: 
 29066118877352, via: 4, Ver: v1, Flags: 10
 , 
 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,details:java.lang.NullPointerException,wait:0}}]
  }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Seq 
 4-297077579: Received:  { Ans: , MgmtId: 2906
 6118877352, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2013-07-05 03:29:45,464 DEBUG [cloud.template.TemplateManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Failed 
 to create templatejava.lang.NullPointerException
 2013-07-05 03:29:45,560 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to create 
 templatejava.lang.NullPointerException
 at 
 com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1372)
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 2013-07-05 03:29:45,561 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Complete async job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ], 
 jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to 
 create templatejava.lang.NullPointerException
 2013-07-05 03:29:46,044 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  10.223.240.194 -- GET  
 signature=d5oNqmtHPLw0QTpehRKp0O0OhPo%3DapiKey=p4VwLP4mhd90QBeBxwJ39YurvbLtOuGc-qgcm4pN2B58bSZJZgGJezD5V1GR6vx38YPDGF4-h7_R0WqxvUkGEAcommand=queryAsyncJobResultresponse=jsonjobid=f7075411-b89e-4fd0-804d-e9af80b856ce
 2013-07-05 03:29:46,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  10.223.240.194 -- GET  
 

[jira] [Commented] (CLOUDSTACK-4028) [Automation] Null Pointer Exception observed while creating template

2013-08-02 Thread Gaurav Aradhye (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727642#comment-13727642
 ] 

Gaurav Aradhye commented on CLOUDSTACK-4028:


[~nitinme] Are you working on this?

 [Automation] Null Pointer Exception observed while creating template
 

 Key: CLOUDSTACK-4028
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4028
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Assignee: Nitin Mehta
Priority: Critical
 Fix For: 4.2.0

 Attachments: management-server.rar


  This issue observed during regression test resource_limits 
 Below null pointer exception observed in MS log
 9b-483c-902f-167fb01cd2f1,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:fff90cb5-06dd-33b3-8815-d78c08ca01d9,id:1,poolTy
 pe:NetworkFilesystem,host:10.223.110.232,path:/export/home/rayees/SC_QA_AUTO4/primary,port:2049}},name:ROOT-453,size:147456,path:d57149f0-9932-49dd-b4f0-
 4dc286c95283,volumeId:509,vmName:i-251-453-QA,accountId:251,format:QCOW2,id:509,hypervisorType:KVM}},destTO:{org.apache.cloudstack.storage.to.TemplateObj
 ectTO:{path:template/tmpl/251/226,uuid:b884ddac-ba48-4946-8266-ce10fe40ab7d,id:226,format:RAW,accountId:251,hvm:true,displayText:Cent
  OS Template,image
 DataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary,_role:Image}},name:2ac0ba622-e789-354d-b69b-d3b40de4
 5701,hypervisorType:KVM}},executeInSequence:false,wait:10800}}] }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-6:null) Seq 4-297077579: Processing:  { Ans: , MgmtId: 
 29066118877352, via: 4, Ver: v1, Flags: 10
 , 
 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,details:java.lang.NullPointerException,wait:0}}]
  }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Seq 
 4-297077579: Received:  { Ans: , MgmtId: 2906
 6118877352, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2013-07-05 03:29:45,464 DEBUG [cloud.template.TemplateManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Failed 
 to create templatejava.lang.NullPointerException
 2013-07-05 03:29:45,560 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to create 
 templatejava.lang.NullPointerException
 at 
 com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1372)
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 2013-07-05 03:29:45,561 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Complete async job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ], 
 jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to 
 create templatejava.lang.NullPointerException
 2013-07-05 03:29:46,044 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  10.223.240.194 -- GET  
 signature=d5oNqmtHPLw0QTpehRKp0O0OhPo%3DapiKey=p4VwLP4mhd90QBeBxwJ39YurvbLtOuGc-qgcm4pN2B58bSZJZgGJezD5V1GR6vx38YPDGF4-h7_R0WqxvUkGEAcommand=queryAsyncJobResultresponse=jsonjobid=f7075411-b89e-4fd0-804d-e9af80b856ce
 2013-07-05 03:29:46,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  10.223.240.194 -- GET  
 

[jira] [Commented] (CLOUDSTACK-4028) [Automation] Null Pointer Exception observed while creating template

2013-08-02 Thread Nitin Mehta (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727647#comment-13727647
 ] 

Nitin Mehta commented on CLOUDSTACK-4028:
-

4.2 setup is not coming up so I am not able to make any progress on this. Why 
do you ask ?

 [Automation] Null Pointer Exception observed while creating template
 

 Key: CLOUDSTACK-4028
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4028
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Assignee: Nitin Mehta
Priority: Critical
 Fix For: 4.2.0

 Attachments: management-server.rar


  This issue observed during regression test resource_limits 
 Below null pointer exception observed in MS log
 9b-483c-902f-167fb01cd2f1,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:fff90cb5-06dd-33b3-8815-d78c08ca01d9,id:1,poolTy
 pe:NetworkFilesystem,host:10.223.110.232,path:/export/home/rayees/SC_QA_AUTO4/primary,port:2049}},name:ROOT-453,size:147456,path:d57149f0-9932-49dd-b4f0-
 4dc286c95283,volumeId:509,vmName:i-251-453-QA,accountId:251,format:QCOW2,id:509,hypervisorType:KVM}},destTO:{org.apache.cloudstack.storage.to.TemplateObj
 ectTO:{path:template/tmpl/251/226,uuid:b884ddac-ba48-4946-8266-ce10fe40ab7d,id:226,format:RAW,accountId:251,hvm:true,displayText:Cent
  OS Template,image
 DataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary,_role:Image}},name:2ac0ba622-e789-354d-b69b-d3b40de4
 5701,hypervisorType:KVM}},executeInSequence:false,wait:10800}}] }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-6:null) Seq 4-297077579: Processing:  { Ans: , MgmtId: 
 29066118877352, via: 4, Ver: v1, Flags: 10
 , 
 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,details:java.lang.NullPointerException,wait:0}}]
  }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Seq 
 4-297077579: Received:  { Ans: , MgmtId: 2906
 6118877352, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2013-07-05 03:29:45,464 DEBUG [cloud.template.TemplateManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Failed 
 to create templatejava.lang.NullPointerException
 2013-07-05 03:29:45,560 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to create 
 templatejava.lang.NullPointerException
 at 
 com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1372)
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 2013-07-05 03:29:45,561 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Complete async job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ], 
 jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to 
 create templatejava.lang.NullPointerException
 2013-07-05 03:29:46,044 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  10.223.240.194 -- GET  
 signature=d5oNqmtHPLw0QTpehRKp0O0OhPo%3DapiKey=p4VwLP4mhd90QBeBxwJ39YurvbLtOuGc-qgcm4pN2B58bSZJZgGJezD5V1GR6vx38YPDGF4-h7_R0WqxvUkGEAcommand=queryAsyncJobResultresponse=jsonjobid=f7075411-b89e-4fd0-804d-e9af80b856ce
 2013-07-05 03:29:46,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  10.223.240.194 -- GET  
 

[jira] [Commented] (CLOUDSTACK-4028) [Automation] Null Pointer Exception observed while creating template

2013-08-02 Thread Gaurav Aradhye (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727653#comment-13727653
 ] 

Gaurav Aradhye commented on CLOUDSTACK-4028:


Just to confirm, there was some confusion who is working on this.
No problem.

 [Automation] Null Pointer Exception observed while creating template
 

 Key: CLOUDSTACK-4028
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4028
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Assignee: Nitin Mehta
Priority: Critical
 Fix For: 4.2.0

 Attachments: management-server.rar


  This issue observed during regression test resource_limits 
 Below null pointer exception observed in MS log
 9b-483c-902f-167fb01cd2f1,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:fff90cb5-06dd-33b3-8815-d78c08ca01d9,id:1,poolTy
 pe:NetworkFilesystem,host:10.223.110.232,path:/export/home/rayees/SC_QA_AUTO4/primary,port:2049}},name:ROOT-453,size:147456,path:d57149f0-9932-49dd-b4f0-
 4dc286c95283,volumeId:509,vmName:i-251-453-QA,accountId:251,format:QCOW2,id:509,hypervisorType:KVM}},destTO:{org.apache.cloudstack.storage.to.TemplateObj
 ectTO:{path:template/tmpl/251/226,uuid:b884ddac-ba48-4946-8266-ce10fe40ab7d,id:226,format:RAW,accountId:251,hvm:true,displayText:Cent
  OS Template,image
 DataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary,_role:Image}},name:2ac0ba622-e789-354d-b69b-d3b40de4
 5701,hypervisorType:KVM}},executeInSequence:false,wait:10800}}] }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-6:null) Seq 4-297077579: Processing:  { Ans: , MgmtId: 
 29066118877352, via: 4, Ver: v1, Flags: 10
 , 
 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,details:java.lang.NullPointerException,wait:0}}]
  }
 2013-07-05 03:29:45,456 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Seq 
 4-297077579: Received:  { Ans: , MgmtId: 2906
 6118877352, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2013-07-05 03:29:45,464 DEBUG [cloud.template.TemplateManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) Failed 
 to create templatejava.lang.NullPointerException
 2013-07-05 03:29:45,560 ERROR [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Unexpected exception while executing 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
 com.cloud.utils.exception.CloudRuntimeException: Failed to create 
 templatejava.lang.NullPointerException
 at 
 com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1372)
 at 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at 
 org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
 at 
 com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
 2013-07-05 03:29:45,561 DEBUG [cloud.async.AsyncJobManagerImpl] 
 (Job-Executor-14:job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ]) 
 Complete async job-1314 = [ bad71aec-8f24-4964-b510-e30b4ef1a999 ], 
 jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to 
 create templatejava.lang.NullPointerException
 2013-07-05 03:29:46,044 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===START===  10.223.240.194 -- GET  
 signature=d5oNqmtHPLw0QTpehRKp0O0OhPo%3DapiKey=p4VwLP4mhd90QBeBxwJ39YurvbLtOuGc-qgcm4pN2B58bSZJZgGJezD5V1GR6vx38YPDGF4-h7_R0WqxvUkGEAcommand=queryAsyncJobResultresponse=jsonjobid=f7075411-b89e-4fd0-804d-e9af80b856ce
 2013-07-05 03:29:46,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
 ===END===  10.223.240.194 -- GET