[ https://issues.apache.org/jira/browse/CLOUDSTACK-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721598#comment-13721598 ]
Saksham Srivastava commented on CLOUDSTACK-3791: ------------------------------------------------ I am seeing the same issue on a fresh developer 4.2 setup (not using devcloud) : 2013-07-27 15:42:59,418 DEBUG [agent.transport.Request] (AgentManager-Handler-2:null) Seq 2-1986199601: Processing: { Ans: , MgmtId: 29264928487123, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException: GetRootDir for null failed due to java.lang.NullPointerException\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1833)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:1587)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:180)\n\tat com.cloud.agent.Agent.processRequest(Agent.java:525)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\n\tat com.cloud.utils.nio.Task.run(Task.java:83)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)\n\tat java.lang.Thread.run(Thread.java:662)\n","wait":0}}] } > [DevCloud] Download Template Fails with NPE > ------------------------------------------- > > Key: CLOUDSTACK-3791 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3791 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller > Affects Versions: 4.2.0 > Environment: devcloud > Reporter: John Burwell > Priority: Blocker > > When registering a template, the download fails with the following NPE from > the SSVM: > 2013-07-24 17:26:31,364 DEBUG [agent.transport.Request] > (AgentManager-Handler-1:null) Seq 2-1900150803: Processing: { Ans: , MgmtId: > 1, via: 2, Ver: v1, Flags: 10, > [{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException: > GetRootDir for null failed due to java.lang.NullPointerException\n\tat > org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1806)\n\tat > > org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:1560)\n\tat > > org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:186)\n\tat > com.cloud.agent.Agent.processRequest(Agent.java:525)\n\tat > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\n\tat > com.cloud.utils.nio.Task.run(Task.java:83)\n\tat > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat > java.lang.Thread.run(Thread.java:679)\n","wait":0}}] } > Secondary storage is configured as NFS on devcloud > (nfs://192.168.56.15/opt/storage/secondary). The following is the > information for the template being registered: > Name: CentOS 5.x > Description: CentOS 5.x > URL: http://bhaisaab.org/vms/cent.vhd > Zone: All Zones > Hypervisor: XenServer > Format: VHD > Extractable: false > Password Enabled: false > Dynamically Scalable: false > Public: true > Featured: false -- 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