[ https://issues.apache.org/jira/browse/CLOUDSTACK-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohit Yadav closed CLOUDSTACK-3791. ----------------------------------- Resolution: Invalid Invalid for present case with DevCloud4 that uses XenServer, the old image is deprecated and users should avoid to use it with current ACS releases. > [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: DevCloud, Storage Controller > Affects Versions: 4.2.0 > Environment: devcloud > Reporter: John Burwell > Assignee: Prasanna Santhanam > Priority: Critical > > 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 was sent by Atlassian JIRA (v6.3.4#6332)