Hi, Recently i have upgraded my cloudstack from 4.4 to 4.5.1. After upgrade, I am trying to download new OS template but getting this error,
Failed post download script: /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh: line 211: /bin/vhd-util: No such file or directoryvhd check of /mnt/SecStorage/aae91593-21b0-3d86-8ead-7e9cfe9698d5/template/tmpl/2/240/dnld388715870744203495 SSVM log shows this, 2015-07-21 12:30:47,065 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Seq 10-3037959423638136072: { Ans: , MgmtId: 59778234354585, via: 10, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"a038bb13-ab5e-4bf0-b136-0a414d9a61f0","downloadPct":100,"errorString":"Download success, starting install ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/aae91593-21b0-3d86-8ead-7e9cfe9698d5/template/tmpl/2/240/dnld3887158707442034954tmp_","installPath":"template/tmpl/2/240/d6a25a37-acf4-35ca-a58b-aea65e200626.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"9e6bfe30f71cb74e975576907ebcf711","result":true,"details":"Download success, starting install ","wait":0}}] } 2015-07-21 12:30:50,393 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand 2015-07-21 12:30:50,393 INFO [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-4:null) Determined host 192.168.48.10 corresponds to IP 192.168.48.10 2015-07-21 12:31:07,112 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Request:Seq 10-3037959423638136074: { Cmd , MgmtId: 59778234354585, via: 10, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"a038bb13-ab5e-4bf0-b136-0a414d9a61f0","request":"GET_STATUS","hvm":true,"description":"CentOS 6 x86_64 Vanilla","maxDownloadSizeInBytes":53687091200,"id":240,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/240","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// 192.168.48.10/tank/secstore","_role":"Image"}},"url":" http://dl.openvm.eu/cloudstack/centos/vanilla/6/x86_64/CentOS-6-x86_64-vanilla-xen.vhd.bz2 ","format":"VHD","accountId":2,"name":"240-2-b4635fa3-6c7e-301f-ac9c-7b9925238244","secUrl":"nfs:// 192.168.48.10/tank/secstore","wait":0}}] } 2015-07-21 12:31:07,112 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: org.apache.cloudstack.storage.command.DownloadProgressCommand 2015-07-21 12:31:07,112 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Seq 10-3037959423638136074: { Ans: , MgmtId: 59778234354585, via: 10, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"a038bb13-ab5e-4bf0-b136-0a414d9a61f0","downloadPct":100,"errorString":"Download success, starting install ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/aae91593-21b0-3d86-8ead-7e9cfe9698d5/template/tmpl/2/240/dnld3887158707442034954tmp_","installPath":"template/tmpl/2/240/d6a25a37-acf4-35ca-a58b-aea65e200626.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"9e6bfe30f71cb74e975576907ebcf711","result":true,"details":"Download success, starting install ","wait":0}}] } 2015-07-21 12:31:17,496 ERROR [storage.template.DownloadManagerImpl] (pool-1-thread-2:null) Failed post download script: /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh: line 211: /bin/vhd-util: No such file or directoryvhd check of /mnt/SecStorage/aae91593-21b0-3d86-8ead-7e9cfe9698d5/template/tmpl/2/240/dnld3887158707442034954tmp_.tmp failed 2015-07 On SSVM, vhd-util doesn't work, root@s-28-VM:~# /bin/vhd-util -bash: /bin/vhd-util: No such file or directory What cold be problem here? Thanks, Ajay