[
https://issues.apache.org/jira/browse/CLOUDSTACK-3513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709697#comment-13709697
]
Jayapal Reddy commented on CLOUDSTACK-3513:
-------------------------------------------
looked at the logs. The copyIsoCmd got executed and ISO copied successfully.
Due to some reason the async job not returned result.
2013-07-13 02:52:04,279 DEBUG [agent.transport.Request]
(AgentManager-Handler-9:null) Seq 10-544932010: Processing: { Ans: , MgmtId:
29066118877352, via: 10, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"cc1f16b9-abb6-4129-ab6b-0f9b816481b5","downloadPct":100,"errorString":"Install
completed successfully at 7/13/13 1:53
PM","downloadStatus":"DOWNLOADED","downloadPath":"/mnt/SecStorage/b3d8be18-cb6f-3033-bb2c-88e079d0ff31/template/tmpl/2/209/dnld2066499795727855873tmp_","installPath":"template/tmpl/2/209/209-2-f327a840-fc0b-3784-b292-b04cf483c01e.iso","templateSize":360448,"templatePhySicalSize":360448,"checkSum":"b11099d68763f87ee90eab7af1d4dd1e","result":true,"details":"Install
completed successfully at 7/13/13 1:53 PM","wait":0}}] }
> [Automation] Failed to copy iso and template between zones
> ----------------------------------------------------------
>
> Key: CLOUDSTACK-3513
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3513
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation, ISO, Template
> Affects Versions: 4.2.0
> Environment: 4.2
> Automation
> Reporter: Rayees Namathponnan
> Assignee: Jayapal Reddy
> Priority: Blocker
> Fix For: 4.2.0
>
> Attachments: CLOUDSTACK-3513.rar
>
>
> bvt test cases failed
> 1) integration.smoke.test_templates.TestTemplates.test_06_copy_template
> 2) integration.smoke.test_iso.TestISO.test_06_copy_iso
> Steps to reproduce
> 1) Register ISO
> 2) copy ISO to another zone
> 3) iso not getting copied to second zone,
> i didnt observe any error in ms log, please see the attached log.
> Job 220
> i didnt see any response (job 220) even after 5 minute
> 2013-07-13 02:52:00,982 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-108:job-220 = [ ccea3738-731d-4745-bdd0-5d81bbf126b6 ])
> Executing org.apache.cloudstack.api.command.user.iso.Cop
> yIsoCmd for job-220 = [ ccea3738-731d-4745-bdd0-5d81bbf126b6 ]
> 2013-07-13 02:52:00,985 DEBUG [cloud.async.AsyncJobManagerImpl]
> (catalina-exec-9:null) submit async job-220 = [
> ccea3738-731d-4745-bdd0-5d81bbf126b6 ], details: AsyncJobVO {id:220, userId: 2
> , accountId: 2, sessionKey: null, instanceType: Template, instanceId: 209,
> cmd: org.apache.cloudstack.api.command.user.iso.CopyIsoCmd, cmdOriginator:
> null, cmdInfo: {"id":"b1106f0c-d183-4c75
> -99ae-02993d3a91c7","response":"json","sessionkey":"blwF0jxkh/BXBlAaOW4fzjITizc\u003d","destzoneid":"cfd13d3f-38dd-4ccf-baea-dc5d859dbdea","cmdEventType":"TEMPLATE.COPY","ctxUserId":"2","htt
> pmethod":"GET","_":"1373698373159","ctxAccountId":"2","sourcezoneid":"b76325a6-71dc-486d-98cd-346ea1c3a511","ctxStartEventId":"915"},
> cmdVersion: 0, callbackType: 0, callbackAddress: null, s
> tatus: 0, processStatus: 0, resultCode: 0, result: null, initMsid:
> 29066118877352, completeMsid: null, lastUpdated: null, lastPolled: null,
> created: null}
> 2013-07-13 02:52:00,988 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null)
> ===END=== 10.216.51.171 -- GET
> command=copyIso&id=b1106f0c-d183-4c75-99ae-02993d3a91c7&sourcezoneid=b76325a6-71d
> c-486d-98cd-346ea1c3a511&destzoneid=cfd13d3f-38dd-4ccf-baea-dc5d859dbdea&response=json&sessionkey=blwF0jxkh%2FBXBlAaOW4fzjITizc%3D&_=1373698373159
> 2013-07-13 02:52:01,010 DEBUG [storage.image.TemplateDataFactoryImpl]
> (Job-Executor-108:job-220 = [ ccea3738-731d-4745-bdd0-5d81bbf126b6 ])
> template 209 is not in store:2, type:Image
> 2013-07-13 02:52:01,035 DEBUG [agent.transport.Request]
> (Job-Executor-108:job-220 = [ ccea3738-731d-4745-bdd0-5d81bbf126b6 ]) Seq
> 10-544932010: Sending { Cmd , MgmtId: 29066118877352, via: 10, Ver: v1,
> Flags: 100011,
> [{"org.apache.cloudstack.storage.command.DownloadCommand":{"hvm":true,"description":"test","checksum":"b11099d68763f87ee90eab7af1d4dd1e","maxDownloadSizeInBytes":53687091200,"id":209,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/209","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary3","_role":"Image"}},"url":"http://people.apache.org/~tsp/dummy.iso","format":"ISO","accountId":2,"name":"209-2-f327a840-fc0b-3784-b292-b04cf483c01e","secUrl":"nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary3","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