Min Chen created CLOUDSTACK-4433:
------------------------------------
Summary: [VMware]Registration of template using the downloaded
template URL is failing.
Key: CLOUDSTACK-4433
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4433
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: Min Chen
Assignee: Min Chen
Priority: Critical
Fix For: 4.2.0
Steps:
1. Create a snapshot of root volume before upgrade.(after upgrade also)
2. Create template from snapshot.
3. Extract the template .
4. Now register the template with the URL popped up in step3
Observation:
Registration failed with “ Failed post download script:
com.cloud.exception.InternalErrorException: Unable to locate OVF file in
template package directory:
/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/214there
is no OVF file”
But UI shows success. Notifications shows success.
2013-08-21 20:04:02,399 DEBUG [agent.transport.Request]
(AgentManager-Handler-1:null) Seq 3-1960707392: Processing: { Ans: , MgmtId:
7067804893289, via: 3, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"5a011db0-5ae2-4aad-a62b-7363e3305ddb","downloadPct":100,"errorString":"Failed
post download script: com.cloud.exception.InternalErrorException: Unable to
locate OVF file in template package directory:
/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/214","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/214/dnld6321683521470213167tmp_","installPath":"template/tmpl/2/214/ba5a8103-58fe-3196-a3fd-440e1fe4d508.ova","templateSize":0,"templatePhySicalSize":0,"checkSum":"82cea0b543ed2c4d5047b0bb7457c53f","result":true,"details":"Failed
post download script: com.cloud.exception.InternalErrorException: Unable to
locate OVF file in template package directory:
/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/214","wait":0}}]
}
2013-08-21 20:04:10,896 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-4:null) SeqA 4-10323: Processing Seq 4-10323: { Cmd ,
MgmtId: -1, via: 4, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }
--
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