cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Mehta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3791) Download Template Fails with NPE
Date Thu, 25 Jul 2013 15:09:48 GMT

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

Nitin Mehta commented on CLOUDSTACK-3791:
-----------------------------------------

This has been fixed with commit e659328ff5e61dd503daf35452d65e91451d0905. I recommend you
to build systemvm iso and clear the tags on XS so that they get propagated to the XS. Finally
stop start the ssvm to get the new code with the fix.
BTW I was seeing this issue with GetStorageStatsCommand and not with download template. Download
template works for me. 
In future please also attach the MS logs, DB and ssvm logs or any series of events you followed
which could be helpful especially when filing a blocker :)
                
> 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
>            Assignee: Nitin Mehta
>            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