You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Todd Hebert <th...@digiweb.ie> on 2015/07/03 14:54:57 UTC

Fairly serious system VM template issue.

Hello all,

One of my co-workers and I just installed a Cloudstack 4.5 system.   All seemed well until we started trying to import templates from another system we manage.

The SSVM downloads the image, then check it using the "vhd-util" utility from XenServer.

The error generated is "/bin/vhd-util no such file" or something along those lines.   This failure to check the VHD files causes the template imports to fail.

This is apparently is caused by vhd-util being a 32-bit binary, linked to 32-bit libs, and there being no 32-bit libs present on the SSVM image.

Using advice from this article: https://github.com/apache/cloudstack/commit/9d8a62d0ee379bf8b67405944c86f68587245db6

we were able to get the system importing templates alright, but this isn't a permanent fix of the system VM template.. if we ever change our SSVM, we lose the modifications.  

I'm loathe to modify the SSVM template in the system myself, as I don't have the facilities to test if this change would break other functions such as VR's etc..

If whomever deals with such things could create a new system VM template that contains the libs, or uses a statically-linked vhd-util executable, and let the list know where to get it & how to replace the existing system VM, that would be grand.

Thanks!   :)


Todd Hebert
Hosting engineer

E: thebert@digiweb.ie
A: College Business & Technology Park, Blanchardstown, Dublin 15, Ireland 
W: http://www.digiweb.ie/
 




Re: Fairly serious system VM template issue.

Posted by Rohit Yadav <ro...@shapeblue.com>.
Todd,

You may use the new systemvm templates from here:
http://packages.shapeblue.com/systemvmtemplate/4.5/new/

They include the 32bit binaries and libraries to run vhd-util.

> On 03-Jul-2015, at 6:24 pm, Todd Hebert <th...@digiweb.ie> wrote:
>
> Hello all,
>
> One of my co-workers and I just installed a Cloudstack 4.5 system.   All seemed well until we started trying to import templates from another system we manage.
>
> The SSVM downloads the image, then check it using the "vhd-util" utility from XenServer.
>
> The error generated is "/bin/vhd-util no such file" or something along those lines.   This failure to check the VHD files causes the template imports to fail.
>
> This is apparently is caused by vhd-util being a 32-bit binary, linked to 32-bit libs, and there being no 32-bit libs present on the SSVM image.
>
> Using advice from this article: https://github.com/apache/cloudstack/commit/9d8a62d0ee379bf8b67405944c86f68587245db6
>
> we were able to get the system importing templates alright, but this isn't a permanent fix of the system VM template.. if we ever change our SSVM, we lose the modifications.
>
> I'm loathe to modify the SSVM template in the system myself, as I don't have the facilities to test if this change would break other functions such as VR's etc..
>
> If whomever deals with such things could create a new system VM template that contains the libs, or uses a statically-linked vhd-util executable, and let the list know where to get it & how to replace the existing system VM, that would be grand.
>
> Thanks!   :)
>
>
> Todd Hebert
> Hosting engineer
>
> E: thebert@digiweb.ie
> A: College Business & Technology Park, Blanchardstown, Dublin 15, Ireland
> W: http://www.digiweb.ie/
>
>
>
>

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



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: Fairly serious system VM template issue.

Posted by Erik Weber <te...@gmail.com>.
The one at download.cloud.com is old and lacks libc6:i386

Erik

Den lørdag 4. juli 2015 skrev Abhinandan Prateek <
abhinandan.prateek@shapeblue.com> følgende:

> Hi Todd,
>
>   This errors pop up once in a while, probably there are some templates
> that are bad. It will be nice to also note the source of the templates so
> that they are fixed or removed.
> This is one place from where I pick up the templates to test
> http://packages.shapeblue.com/systemvmtemplate/4.5/
>
> -abhi
>
> > On 03-Jul-2015, at 6:24 pm, Todd Hebert <thebert@digiweb.ie
> <javascript:;>> wrote:
> >
> > Hello all,
> >
> > One of my co-workers and I just installed a Cloudstack 4.5 system.   All
> seemed well until we started trying to import templates from another system
> we manage.
> >
> > The SSVM downloads the image, then check it using the "vhd-util" utility
> from XenServer.
> >
> > The error generated is "/bin/vhd-util no such file" or something along
> those lines.   This failure to check the VHD files causes the template
> imports to fail.
> >
> > This is apparently is caused by vhd-util being a 32-bit binary, linked
> to 32-bit libs, and there being no 32-bit libs present on the SSVM image.
> >
> > Using advice from this article:
> https://github.com/apache/cloudstack/commit/9d8a62d0ee379bf8b67405944c86f68587245db6
> >
> > we were able to get the system importing templates alright, but this
> isn't a permanent fix of the system VM template.. if we ever change our
> SSVM, we lose the modifications.
> >
> > I'm loathe to modify the SSVM template in the system myself, as I don't
> have the facilities to test if this change would break other functions such
> as VR's etc..
> >
> > If whomever deals with such things could create a new system VM template
> that contains the libs, or uses a statically-linked vhd-util executable,
> and let the list know where to get it & how to replace the existing system
> VM, that would be grand.
> >
> > Thanks!   :)
> >
> >
> > Todd Hebert
> > Hosting engineer
> >
> > E: thebert@digiweb.ie <javascript:;>
> > A: College Business & Technology Park, Blanchardstown, Dublin 15, Ireland
> > W: http://www.digiweb.ie/
> >
> >
> >
> >
>
> 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: Fairly serious system VM template issue.

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

  This errors pop up once in a while, probably there are some templates that are bad. It will be nice to also note the source of the templates so that they are fixed or removed.
This is one place from where I pick up the templates to test http://packages.shapeblue.com/systemvmtemplate/4.5/

-abhi

> On 03-Jul-2015, at 6:24 pm, Todd Hebert <th...@digiweb.ie> wrote:
>
> Hello all,
>
> One of my co-workers and I just installed a Cloudstack 4.5 system.   All seemed well until we started trying to import templates from another system we manage.
>
> The SSVM downloads the image, then check it using the "vhd-util" utility from XenServer.
>
> The error generated is "/bin/vhd-util no such file" or something along those lines.   This failure to check the VHD files causes the template imports to fail.
>
> This is apparently is caused by vhd-util being a 32-bit binary, linked to 32-bit libs, and there being no 32-bit libs present on the SSVM image.
>
> Using advice from this article: https://github.com/apache/cloudstack/commit/9d8a62d0ee379bf8b67405944c86f68587245db6
>
> we were able to get the system importing templates alright, but this isn't a permanent fix of the system VM template.. if we ever change our SSVM, we lose the modifications.
>
> I'm loathe to modify the SSVM template in the system myself, as I don't have the facilities to test if this change would break other functions such as VR's etc..
>
> If whomever deals with such things could create a new system VM template that contains the libs, or uses a statically-linked vhd-util executable, and let the list know where to get it & how to replace the existing system VM, that would be grand.
>
> Thanks!   :)
>
>
> Todd Hebert
> Hosting engineer
>
> E: thebert@digiweb.ie
> A: College Business & Technology Park, Blanchardstown, Dublin 15, Ireland
> W: http://www.digiweb.ie/
>
>
>
>

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.