[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814888#comment-13814888
 ] 

ASF subversion and git services commented on CLOUDSTACK-5051:
-------------------------------------------------------------

Commit f03dcdab19afbb358467e1e42dfb3a225ef6b446 in branch refs/heads/master 
from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f03dcda ]

[CLOUDSTACK-5051] Revert "CLOUDSTACK-3715. Socket timeout error is observed in 
VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more 
than 10 minutes. Making this value configurable to allow admins to modify the 
timeout if required. It defaults to the current value i.e. 10 minutes."

This reverts commit 3a9150017339fa9447e7e30b854ccd3351695dcc.

Conflicts:

        
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareSecondaryStorageContextFactory.java


> [Automation] vmware - Copy template to  primary storage failed with NPE, and 
> vm deployment failed 
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5051
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5051
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Template, VMware
>    Affects Versions: 4.3.0
>         Environment: vmware 5.0
> build : master 4.3.0
>            Reporter: Rayees Namathponnan
>            Assignee: Likitha Shetty
>             Fix For: 4.3.0
>
>         Attachments: CLOUDSTACK-5051.rar
>
>
> steps to reproduce 
> create build from master branch, create advance zone, then deploy VM
> Actual result
> During router deployment, failed to copy template from primary storage and 
> router deployment failed
> observed below NPE in ms log
> 2013-11-05 17:55:32,867 DEBUG [c.c.a.t.Request] 
> (AgentManager-Handler-14:null) Seq 5-1852899341: Processing:  { Ans: , 
> MgmtId: 90928106758026, via: 5, Ver: v1, Flag
> s: 10, 
> [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Unable
>  to copy template to primary storage due to exception:Exception: jav
> a.lang.NullPointerException\nMessage: null\n","wait":0}}] }
> 2013-11-05 17:55:32,867 DEBUG [c.c.a.t.Request] (Job-Executor-2:ctx-7de85510 
> ctx-e51fa7a1) Seq 5-1852899341: Received:  { Ans: , MgmtId: 90928106758026, 
> via: 5, Ver
> : v1, Flags: 10, { CopyCmdAnswer } }
> 2013-11-05 17:55:32,878 INFO  [o.a.c.s.v.VolumeServiceImpl] 
> (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) releasing lock for 
> VMTemplateStoragePool 4
> 2013-11-05 17:55:32,878 WARN  [c.c.u.d.Merovingian2] 
> (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Was unable to find lock for the 
> key template_spool_ref4 and thread i
> d 2009240553
> 2013-11-05 17:55:32,879 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
> (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Unable to create 
> Vol[5|vm=6|ROOT]:Unable to copy template to
>  primary storage due to exception:Exception: java.lang.NullPointerException
> Message: null
> 2013-11-05 17:55:32,879 INFO  [c.c.v.VirtualMachineManagerImpl] 
> (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Unable to contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] is 
> unreachable: Unable to create Vol[5|vm=6|ROOT]:Unable to copy template to 
> primary stora
> ge due to exception:Exception: java.lang.NullPointerException
> Message: null
>         at 
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1069)
>         at 
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1111)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:828)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:510)
>         at 
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:227)
>         at 
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
>         at 
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3409)
>         at 
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2990)
>         at 
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2976)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> :



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

Reply via email to