You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by ��������� <ji...@gmail.com> on 2020/05/09 09:25:23 UTC

Failed to fetch system vm template

I have downloaded vm template from `http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.2-kvm.qcow2.bz2`.

I executed the command according to the quick installation guide: `/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /export/secondary -u /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2 -h kvm -F`

But error messages occured:
```
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
/root/systemvmtemplate-4.11.2-kvm.qcow2.bz2: Scheme missing.
Failed to fetch system vm template from /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2
Installation failed
```
What does `Scheme missing` mean? What should I do to resolve the error?
My CloudStack version is 4.13.1.0 and the OS is Ubuntu 18.04.4.
Any help will be appreciated!

Re: Failed to fetch system vm template

Posted by jl0x61 <ji...@gmail.com>.

On 2020/05/09 10:56:55, Rahul Yadav <ra...@indiqus.com> wrote: 
> Hi,
> I think you need to mention full URL of system VM template-
> 
> You may try below one -
> 
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m rahultest/  -u
> http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2
>  -h kvm -F
> 
> On Sat, May 9, 2020 at 4:21 PM 敬林晓 <ji...@gmail.com> wrote:
> 
> > I have downloaded vm template from `
> > http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.2-kvm.qcow2.bz2`
> > <http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.2-kvm.qcow2.bz2>
> > .
> >
> > I executed the command according to the quick installation guide:
> > `/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> > -m /export/secondary -u /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2 -h kvm
> > -F`
> >
> > But error messages occured:
> > ```
> > mysql: [Warning] Using a password on the command line interface can be
> > insecure.
> > mysql: [Warning] Using a password on the command line interface can be
> > insecure.
> > /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2: Scheme missing.
> > Failed to fetch system vm template from
> > /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2
> > Installation failed
> > ```
> > What does `Scheme missing` mean? What should I do to resolve the error?
> > My CloudStack version is 4.13.1.0 and the OS is Ubuntu 18.04.4.
> > Any help will be appreciated!
> >
> 
> 
> -- 
> 
> 
> 
> 
> 
> 
> 
> Regards,
> 
> Rahul Yadav
> 
> Consultant - Cloud
> *IndiQus Technologies*
> *O*   +91 11 4055 1411 <//+91%2011%204055%201411>  |   *M* +91 8826699409
> www.indiqus.com
> 
Thanks.
I use a workaround by starting an http server at localhost: `python3 -m http.server` and execute `/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /export/secondary/  -u http://localhost:8000/systemvmtemplate-4.11.2-kvm.qcow2.bz2 -h kvm -F`. 
The system VM template is successfully installed.

Re: Failed to fetch system vm template

Posted by Rahul Yadav <ra...@indiqus.com>.
Hi,
I think you need to mention full URL of system VM template-

You may try below one -

/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
-m rahultest/  -u
http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2
 -h kvm -F

On Sat, May 9, 2020 at 4:21 PM 敬林晓 <ji...@gmail.com> wrote:

> I have downloaded vm template from `
> http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.2-kvm.qcow2.bz2`
> <http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.2-kvm.qcow2.bz2>
> .
>
> I executed the command according to the quick installation guide:
> `/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /export/secondary -u /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2 -h kvm
> -F`
>
> But error messages occured:
> ```
> mysql: [Warning] Using a password on the command line interface can be
> insecure.
> mysql: [Warning] Using a password on the command line interface can be
> insecure.
> /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2: Scheme missing.
> Failed to fetch system vm template from
> /root/systemvmtemplate-4.11.2-kvm.qcow2.bz2
> Installation failed
> ```
> What does `Scheme missing` mean? What should I do to resolve the error?
> My CloudStack version is 4.13.1.0 and the OS is Ubuntu 18.04.4.
> Any help will be appreciated!
>


-- 







Regards,

Rahul Yadav

Consultant - Cloud
*IndiQus Technologies*
*O*   +91 11 4055 1411 <//+91%2011%204055%201411>  |   *M* +91 8826699409
www.indiqus.com