Min Chen created CLOUDSTACK-4480:
------------------------------------
Summary: Hitting NPE in storage DestroyCommand for vmware
Key: CLOUDSTACK-4480
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4480
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Storage Controller
Affects Versions: 4.2.1
Reporter: Min Chen
Assignee: Min Chen
Fix For: 4.2.1
Did an upgrade from 3.0.4 to 4.2
with two advance zone. One for Xen and one for vmware 4.1
when StorageManager-Scavenger sends destroy volume command can see java NPE
Ms log snippet :
2013-08-22 01:43:17,345 DEBUG [agent.transport.Request]
(StorageManager-Scavenger-1:null) Seq 5-791740422: Sending { Cmd , MgmtId:
6755849339011, via: 5, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.storage.DestroyCommand":{"volume":{"id":6,"mountPoint":"/export/home/shweta/304patch1.vmware.primary","path":"72448f46005d3333805dcdd36d1237ff","size":0,"storagePoolType":"NetworkFilesystem","storagePoolUuid":"d9a91dba-343e-38dc-bbe1-69a3f57fd335","deviceId":0},"wait":0}}]
}
2013-08-22 01:43:17,713 DEBUG [agent.transport.Request]
(StorageManager-Scavenger-1:null) Seq 5-791740422: Executing: { Cmd , MgmtId:
6755849339011, via: 5, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.storage.DestroyCommand":{"volume":{"id":6,"mountPoint":"/export/home/shweta/304patch1.vmware.primary","path":"72448f46005d3333805dcdd36d1237ff","size":0,"storagePoolType":"NetworkFilesystem","storagePoolUuid":"d9a91dba-343e-38dc-bbe1-69a3f57fd335","deviceId":0},"wait":0}}]
}
2013-08-22 01:43:17,713 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-3:null) Seq 5-791740422: Executing request
2013-08-22 01:43:17,715 WARN [agent.manager.DirectAgentAttache]
(DirectAgent-3:null) Seq 5-791740422: Exception caught
java.lang.NullPointerException
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:195)
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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
2013-08-22 01:43:17,718 DEBUG [agent.manager.ClusteredAgentManagerImpl]
(ClusteredAgentManager Timer:null) Loading directly connected host
11(200-JuniperSRXFirewall-10.147.40.3)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira