You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Pankaj Singh <pa...@gmail.com> on 2015/01/27 15:36:07 UTC

Registering Template Issue

Hi,

I have created a Centos 6.5 VM template via VirtualBox in VHD format so
that it can support xenserver 6.2 hypervisor. While registering template it
throws following error.

Failed post download script: failed to uncompress
/mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/208/dnld9006295490757894375tmp_

I am trying to install a Centos 6.5 VM template without LVM support.
Is it possible to install VM template without lvm support?

My cloudstack setup have following configuration

Cloudstack Management server 4.4.2
Hypervisor = Xenserver 6.2
Primary/Secondary storage = Centos 6.4 NFS shared.

Would anybody please help me to figure out this issue.


Thanks and Regards
PankaJ Singh

Re: Registering Template Issue

Posted by Pankaj Singh <pa...@gmail.com>.
Thanks Abhi,

Its a great help
I realized that I had created VM template in wrong way.


Thanks & Regards
PankaJ Singh

On Wed, Jan 28, 2015 at 7:38 PM, Abhinandan Prateek <
abhinandan.prateek@shapeblue.com> wrote:

> Hi Pankaj,
>
>    Look at point 22 of this document
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
> Do this check on vhd before uploading. It seems it fails this test.
>
>
> > On 28-Jan-2015, at 6:25 pm, Pankaj Singh <pa...@gmail.com> wrote:
> >
> > Hi Abhi,
> >
> > When I am registering any template I am keep getting this type of error.
> >
> > Failed post download script: vhd check of
> >
> /mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/212/dnld1460237361560632551tmp_.tmp
> > failed
> >
> > I think I am missing something while creating template or doing it in
> wrong
> > way.
> > Here I have created Centos 6.3 x86_64 vhd formatted VM in VirtualBox and
> > then upload this vhd formatted VM file to Cloudstack for registration..
> >
> > Our requirement is to install Centos 6.5 VM in cloudstack without LVM
> > support.
> >
> > My Cloudstack setup having following configuration:
> >
> > Cloudstack MS = 4.4.2 on Centos 6.4 x86_64 machine
> > Hypervisor = 6.2
> > Storage (primary/secondary) = Centos 6.4 x86_64 (NFS shared) machine
> >
> > Would you please tell me how to create compatible template for
> cloudstack.
> > I have already followed official cloudtstack doc for "working with
> > template". But still stuck with this kind of errors.
> >
> >
> > Thanks & Regards
> > PankaJ Singh
> >
> > On Wed, Jan 28, 2015 at 8:48 AM, Abhinandan Prateek <
> > abhinandan.prateek@shapeblue.com> wrote:
> >
> >> Is you VHD file compressed, like vhd.bz2 ? It appears cloudstack is
> >> expecting a compressed file.
> >> It should be possible to install VM without LVM support but you may not
> be
> >> able to use some functionality like disk resize.
> >>
> >> -abhi
> >>
> >>> On 27-Jan-2015, at 8:06 pm, Pankaj Singh <pa...@gmail.com>
> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I have created a Centos 6.5 VM template via VirtualBox in VHD format so
> >>> that it can support xenserver 6.2 hypervisor. While registering
> template
> >> it
> >>> throws following error.
> >>>
> >>> Failed post download script: failed to uncompress
> >>>
> >>
> /mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/208/dnld9006295490757894375tmp_
> >>>
> >>> I am trying to install a Centos 6.5 VM template without LVM support.
> >>> Is it possible to install VM template without lvm support?
> >>>
> >>> My cloudstack setup have following configuration
> >>>
> >>> Cloudstack Management server 4.4.2
> >>> Hypervisor = Xenserver 6.2
> >>> Primary/Secondary storage = Centos 6.4 NFS shared.
> >>>
> >>> Would anybody please help me to figure out this issue.
> >>>
> >>>
> >>> Thanks and Regards
> >>> PankaJ Singh
> >>
> >> Find out more about ShapeBlue and our range of CloudStack related
> services
> >>
> >> IaaS Cloud Design & Build<
> >> http://shapeblue.com/iaas-cloud-design-and-build//>
> >> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/
> >
> >> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> >> CloudStack Software Engineering<
> >> http://shapeblue.com/cloudstack-software-engineering/>
> >> CloudStack Infrastructure Support<
> >> http://shapeblue.com/cloudstack-infrastructure-support/>
> >> CloudStack Bootcamp Training Courses<
> >> http://shapeblue.com/cloudstack-training/>
> >>
> >> This email and any attachments to it may be confidential and are
> intended
> >> solely for the use of the individual to whom it is addressed. Any views
> or
> >> opinions expressed are solely those of the author and do not necessarily
> >> represent those of Shape Blue Ltd or related companies. If you are not
> the
> >> intended recipient of this email, you must neither take any action based
> >> upon its contents, nor copy or show it to anyone. Please contact the
> sender
> >> if you believe you have received this email in error. Shape Blue Ltd is
> a
> >> company incorporated in England & Wales. ShapeBlue Services India LLP
> is a
> >> company incorporated in India and is operated under license from Shape
> Blue
> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil
> >> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd
> is
> >> a company registered by The Republic of South Africa and is traded under
> >> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> >>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<
> http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Re: Registering Template Issue

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
Hi Pankaj,

   Look at point 22 of this document https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
Do this check on vhd before uploading. It seems it fails this test.


> On 28-Jan-2015, at 6:25 pm, Pankaj Singh <pa...@gmail.com> wrote:
>
> Hi Abhi,
>
> When I am registering any template I am keep getting this type of error.
>
> Failed post download script: vhd check of
> /mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/212/dnld1460237361560632551tmp_.tmp
> failed
>
> I think I am missing something while creating template or doing it in wrong
> way.
> Here I have created Centos 6.3 x86_64 vhd formatted VM in VirtualBox and
> then upload this vhd formatted VM file to Cloudstack for registration..
>
> Our requirement is to install Centos 6.5 VM in cloudstack without LVM
> support.
>
> My Cloudstack setup having following configuration:
>
> Cloudstack MS = 4.4.2 on Centos 6.4 x86_64 machine
> Hypervisor = 6.2
> Storage (primary/secondary) = Centos 6.4 x86_64 (NFS shared) machine
>
> Would you please tell me how to create compatible template for cloudstack.
> I have already followed official cloudtstack doc for "working with
> template". But still stuck with this kind of errors.
>
>
> Thanks & Regards
> PankaJ Singh
>
> On Wed, Jan 28, 2015 at 8:48 AM, Abhinandan Prateek <
> abhinandan.prateek@shapeblue.com> wrote:
>
>> Is you VHD file compressed, like vhd.bz2 ? It appears cloudstack is
>> expecting a compressed file.
>> It should be possible to install VM without LVM support but you may not be
>> able to use some functionality like disk resize.
>>
>> -abhi
>>
>>> On 27-Jan-2015, at 8:06 pm, Pankaj Singh <pa...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I have created a Centos 6.5 VM template via VirtualBox in VHD format so
>>> that it can support xenserver 6.2 hypervisor. While registering template
>> it
>>> throws following error.
>>>
>>> Failed post download script: failed to uncompress
>>>
>> /mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/208/dnld9006295490757894375tmp_
>>>
>>> I am trying to install a Centos 6.5 VM template without LVM support.
>>> Is it possible to install VM template without lvm support?
>>>
>>> My cloudstack setup have following configuration
>>>
>>> Cloudstack Management server 4.4.2
>>> Hypervisor = Xenserver 6.2
>>> Primary/Secondary storage = Centos 6.4 NFS shared.
>>>
>>> Would anybody please help me to figure out this issue.
>>>
>>>
>>> Thanks and Regards
>>> PankaJ Singh
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software Engineering<
>> http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: Registering Template Issue

Posted by Pankaj Singh <pa...@gmail.com>.
Hi Abhi,

When I am registering any template I am keep getting this type of error.

Failed post download script: vhd check of
/mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/212/dnld1460237361560632551tmp_.tmp
failed

I think I am missing something while creating template or doing it in wrong
way.
Here I have created Centos 6.3 x86_64 vhd formatted VM in VirtualBox and
then upload this vhd formatted VM file to Cloudstack for registration..

Our requirement is to install Centos 6.5 VM in cloudstack without LVM
support.

My Cloudstack setup having following configuration:

Cloudstack MS = 4.4.2 on Centos 6.4 x86_64 machine
Hypervisor = 6.2
Storage (primary/secondary) = Centos 6.4 x86_64 (NFS shared) machine

Would you please tell me how to create compatible template for cloudstack.
I have already followed official cloudtstack doc for "working with
template". But still stuck with this kind of errors.


Thanks & Regards
PankaJ Singh

On Wed, Jan 28, 2015 at 8:48 AM, Abhinandan Prateek <
abhinandan.prateek@shapeblue.com> wrote:

> Is you VHD file compressed, like vhd.bz2 ? It appears cloudstack is
> expecting a compressed file.
> It should be possible to install VM without LVM support but you may not be
> able to use some functionality like disk resize.
>
> -abhi
>
> > On 27-Jan-2015, at 8:06 pm, Pankaj Singh <pa...@gmail.com> wrote:
> >
> > Hi,
> >
> > I have created a Centos 6.5 VM template via VirtualBox in VHD format so
> > that it can support xenserver 6.2 hypervisor. While registering template
> it
> > throws following error.
> >
> > Failed post download script: failed to uncompress
> >
> /mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/208/dnld9006295490757894375tmp_
> >
> > I am trying to install a Centos 6.5 VM template without LVM support.
> > Is it possible to install VM template without lvm support?
> >
> > My cloudstack setup have following configuration
> >
> > Cloudstack Management server 4.4.2
> > Hypervisor = Xenserver 6.2
> > Primary/Secondary storage = Centos 6.4 NFS shared.
> >
> > Would anybody please help me to figure out this issue.
> >
> >
> > Thanks and Regards
> > PankaJ Singh
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<
> http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

Re: Registering Template Issue

Posted by Abhinandan Prateek <ab...@shapeblue.com>.
Is you VHD file compressed, like vhd.bz2 ? It appears cloudstack is expecting a compressed file.
It should be possible to install VM without LVM support but you may not be able to use some functionality like disk resize.

-abhi

> On 27-Jan-2015, at 8:06 pm, Pankaj Singh <pa...@gmail.com> wrote:
>
> Hi,
>
> I have created a Centos 6.5 VM template via VirtualBox in VHD format so
> that it can support xenserver 6.2 hypervisor. While registering template it
> throws following error.
>
> Failed post download script: failed to uncompress
> /mnt/SecStorage/16f29732-e68b-399b-b340-ca83f99384a6/template/tmpl/2/208/dnld9006295490757894375tmp_
>
> I am trying to install a Centos 6.5 VM template without LVM support.
> Is it possible to install VM template without lvm support?
>
> My cloudstack setup have following configuration
>
> Cloudstack Management server 4.4.2
> Hypervisor = Xenserver 6.2
> Primary/Secondary storage = Centos 6.4 NFS shared.
>
> Would anybody please help me to figure out this issue.
>
>
> Thanks and Regards
> PankaJ Singh

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.