cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3791) [DevCloud] Download Template Fails with NPE
Date Mon, 29 Jul 2013 23:31:49 GMT

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

Min Chen commented on CLOUDSTACK-3791:
--------------------------------------

Thanks Saksham for confirming. John, for my devcloud experience, I cannot register template
by using a public internet URL as you mentioned in the bug: http://bhaisaab.org/vms/cent.vhd,
since devcloud does not open network access to internet, so could not reproduce your issue.
Prasanna/John, Please provide your MS log and db dump on your reproducible environment. 
                
> [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

Mime
View raw message