Hi There, We have this exact same issue, we have upgraded to 4.5.1 and are using Xen. We have downloaded the following systemvm template:
http://cloudstack.apt-get.eu/systemvm/4.5/systemvm64template-4.5-xen.vhd.bz2 The systemvm starts ok, but if we try to create a template from a snapshot it complains with the following error Failed to create template/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh: line 65: /bin/vhd-util: No such file or directory30 > > If we connect to the systemvm and try to execute the /bin/vhd-util file we get the following: root@s-1868-VM:/bin# /bin/vhd-util > -bash: /bin/vhd-util: No such file or directory The file is there however: root@s-1868-VM:/bin# cksum vhd-util > 1735023486 318977 vhd-util Environment shows it to be 64-bit root@s-1868-VM:/bin# uname -a > Linux s-1868-VM 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 > GNU/Linux Is this is an issue with the template we are using? Is there a more up-to-date 4.5.1 template for Xen which fixes this issue? Cheers! On Fri, Jul 10, 2015 at 4:55 PM, Rohit Yadav <rohit.ya...@shapeblue.com> wrote: > Tested recently, running the 32bit vhd-utils works for me: > > root@s-73-VM:~# vhd-util > usage: vhd-util COMMAND [OPTIONS] > COMMAND := { create | snapshot | query | read | set | repair | resize | > fill | coalesce | modify | scan | check | revert } > root@s-73-VM:~# ldd /bin/vhd-util > linux-gate.so.1 => (0xf77dd000) > libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf77cf000) > libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7680000) > /lib/ld-linux.so.2 (0xf77de000) > > The new systemvmtemplates have necessary i386 libs (libc6, libuuid etc). > Hope this help: > http://packages.shapeblue.com/systemvmtemplate/4.5/new/ (note: this path > may go away in future) > > ((After we vote and release 4.5.2, I’ll move the new templates to the > http://packages.shapeblue.com/systemvmtemplate/4.5/ location.)) > > On 15-Jun-2015, at 11:50 am, Erik Weber <terbol...@gmail.com> wrote: > > OK, I was hoping the commit from Rohit earlier was enough. > > As a first step, try a restart. If that doesn't work, you may try the > following. > > What I did was to install ia32-libs, but that is potentially so huge that > you'll run into disk space issues. > > You can try this sequence: > apt-get update > apt-get clean > apt-get autoclean > apt-get install ia32-libs > > if this completes without error, do another clean and autoclean. > If it fails due to disk space issues, you may try to clean and hope it > clears out the packages it managed to install, and then do: > apt-get -f install > > if this still don't work, your best bet is probably to destroy the ssvm and > let it redeploy. > > -- > Erik > > > On Mon, Jun 15, 2015 at 7:49 AM, kotipalli venkatesh < > venkateshcloudt...@gmail.com> wrote: > > HI > > I am run the command apt-get install libc6:i386. But still am getting same > error. > > Thank you, > Venki > > On Sat, Jun 13, 2015 at 5:57 PM, Jan-Arve Nygård < > jan.arve.nyg...@gmail.com> > wrote: > > Hi, > > See Erik Webers mail from yesterday on this list regarding the same > > issue. > > It seems that the templates haven't been updated. > > -thinktwo > > Den lørdag 13. juni 2015 skrev kotipalli venkatesh < > venkateshcloudt...@gmail.com> følgende: > > Hi All, > > I am Successfully install the Cloud Stack Setup 4.5.1. But i am facing > > the > > problem template download failed. > > The Error throwing like this: > > Failed post download script: > /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh: > > line > > 211: /bin/vhd-util: Nosuch file or directoryvhd check of > > > > > /mnt/SecStorage/33837de4-2c82-3c90-bff5-611e59bcb7f4/template/tmpl/1/5/dnld571948363354001932tm > > > If any one facing this type of issue? Please help me. > > Best, > Venki > > > > > Regards, > Rohit Yadav > Software Architect, ShapeBlue > > > > > M. +91 88 262 30892 | rohit.ya...@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. >