You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Nitin Mehta (JIRA)" <ji...@apache.org> on 2014/09/11 02:44:33 UTC

[jira] [Commented] (CLOUDSTACK-7533) Wrong download URL generated when using multiple SSVMs

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

Nitin Mehta commented on CLOUDSTACK-7533:
-----------------------------------------

I have multiple SSVMs and when the they try to download a template it fails because the URL which is generated goes to the wrong SSVM. Repro steps are:
Step1.In GUI
Templates-[Select Template]-Download Template.
Step2.Popup is displayed
Status
Please click http://localhost/userdata/f1d07d2d-0756-4231-962b-c39ae9ee68b9.ova to download template
Step3.I clicked the URL,But Error.
Not Found
The requested URL /userdata/f1d07d2d-0756-4231-962b-c39ae9ee68b9.ova was not found on this server.
In the logs we can see command to s-6-VM(Public IP:210.140.175.4)
2014-08-28 10:50:09,479 DEBUG [c.c.a.t.Request] (API-Job-Executor-19:ctx-5e736e89 job-30320 ctx-3b8f0421) Seq 27-1502609496: Sending { Cmd , MgmtId: 345048705118, via: 27(s-6-VM), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.storage.CreateEntityDownloadURLCommand":{"installPath":"template/tmpl/9/296/9952142b1-11f7-3cc2-91d1-aa1a0e196453.ova","parent":"87db3e8a-360a-3ad1-bfad-ff4edc8e817c","extractLinkUUID":"5de8b2dd-be47-465f-81bc-ee809d805f7d.ova","data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/9/296/9952142b1-11f7-3cc2-91d1-aa1a0e196453.ova","uuid":"13e155cb-88f5-4ade-8a69-a60cd3e47edc","id":296,"format":"OVA","accountId":9,"hvm":true,"displayText":"10G-TemplateFromVolume","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://jxxxxx.local/je01v-xxxxxc/standard","_role":"Image"}},"name":"9952142b1-11f7-3cc2-91d1-aa1a0e196453","hypervisorType":"VMware"}},"accountId":0,"wait":0}}] }
But the Public IP address of the Template-download-URL is 210.140.175.2 (s-2-VM's Public IP)
2014-08-28 11:03:35,901 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-19:ctx-5e736e89 job-30320 ctx-3b8f0421) Complete async job-30320, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.ExtractResponse/template/
{"id":"13e155cb-88f5-4ade-8a69-a60cd3e47edc","name":"10G-TemplateFromVolume","accountid":"5124ddac-553c-4287-b87b-594bbeed6cc5","state":"DOWNLOAD_URL_CREATED","zoneid":"af9c6a06-b56c-4853-9332-588f8a91d35c","zonename":"je01v","extractMode":"HTTP_DOWNLOAD","url":"http://localhost/userdata/5de8b2dd-be47-465f-81bc-ee809d805f7d.ova"}

> Wrong download URL generated when using multiple SSVMs
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-7533
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7533
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Template
>    Affects Versions: 4.5.0
>            Reporter: Nitin Mehta
>            Assignee: Nitin Mehta
>            Priority: Critical
>             Fix For: 4.5.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)