You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by WXR <47...@qq.com> on 2013/07/01 07:46:12 UTC

404 error when downloading template.

cloudstack version: 4.1

When I download a template and click the URL generated by cloudstack,it will return a 404 error:

Not Found
 
The requested URL /userdata/1f52a1bd-2fae-459f-8b6e-1ab2d1556bf5.qcow2 was not found on this server.
I just created the template serveral minutes ago.

Re: 404 error when downloading template.

Posted by Alex Yang <al...@gmail.com>.
Hi, Prasanna
Maybe you should set the *secstorage.allowed.internal.sites *in global
configurations.

在 2013年7月1日星期一,Prasanna Santhanam 写道:

> On Mon, Jul 01, 2013 at 01:46:12PM +0800, WXR wrote:
> > cloudstack version: 4.1
> >
> > When I download a template and click the URL generated by
> > cloudstack,it will return a 404 error:
> >
> > Not Found
> >
> > The requested URL /userdata/1f52a1bd-2fae-459f-8b6e-1ab2d1556bf5.qcow2
> was not found on this server.
> > I just created the template serveral minutes ago.
>
> Can you login to the systemVM and check the location under
> /var/www/html? Do you see a symlink there pointing to the path you've
> pasted above? Is the path mapping to a valid target on your secondary
> storage?
>
> See here for how to login to the SSVM:
> https://cwiki.apache.org/confluence/x/5wLMAQ
>
> --
> Prasanna.,
>
> ------------------------
> Powered by BigRock.com
>
>

-- 
  杨雨
  Email:       alex890714@gmail.com
GitHub:       https://github.com/AlexYangYu
    Blog:        http://alexyang.sinaapp.com
 Weibo:       http://www.weibo.com/alexyangyu

Re: 404 error when downloading template.

Posted by Prasanna Santhanam <ts...@apache.org>.
On Mon, Jul 01, 2013 at 01:46:12PM +0800, WXR wrote:
> cloudstack version: 4.1
> 
> When I download a template and click the URL generated by
> cloudstack,it will return a 404 error:
> 
> Not Found
>  
> The requested URL /userdata/1f52a1bd-2fae-459f-8b6e-1ab2d1556bf5.qcow2 was not found on this server.
> I just created the template serveral minutes ago.

Can you login to the systemVM and check the location under
/var/www/html? Do you see a symlink there pointing to the path you've
pasted above? Is the path mapping to a valid target on your secondary
storage?

See here for how to login to the SSVM:
https://cwiki.apache.org/confluence/x/5wLMAQ

-- 
Prasanna.,

------------------------
Powered by BigRock.com