You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "John Burwell (JIRA)" <ji...@apache.org> on 2013/07/24 23:33:48 UTC
[jira] [Created] (CLOUDSTACK-3791) Download Template Fails with NPE
John Burwell created CLOUDSTACK-3791:
----------------------------------------
Summary: 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
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