Missing vhd-util on the KVM System VM?

2013-12-05 Thread Shanker Balan
Helo,

While trying to create a template from an instance running on
XenServer I ran into the below error:

/usr/local/cloud/systemvm/scripts/storage/secondary/
create_privatetemplate_from_snapshot_xen.sh line 65:
/bin/vhd-util no such file or directory

See screenshot: http://imgur.com/XyzdazP

The SSVM (which was running on a KVM host) was indeed missing /bin/vhd-util.
I manually coped over the file to work around the issue. The XenServer system
VM does seem to have vhd-util though.

root@s-1-VM:~# which vhd-util
/bin/vhd-util

The system VMs templates I using are:

systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
systemvmtemplate-2013-07-12-master-xen.vhd.bz2

Anyone else seen this issue?


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

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 is a registered trademark.


Re: Missing vhd-util on the KVM System VM?

2013-12-05 Thread Harikrishna Patnala
Hi Shankar,
Can you please try giving execution rights to vhd-util. Are you using 64bit 
template for system vms ?

This'll work.
chmod a+x /bin/vhd-util

Thanks,
Harikrishna

On 05-Dec-2013, at 6:13 pm, Shanker Balan shanker.ba...@shapeblue.com wrote:

 Helo,
 
 While trying to create a template from an instance running on
 XenServer I ran into the below error:
 
 /usr/local/cloud/systemvm/scripts/storage/secondary/
 create_privatetemplate_from_snapshot_xen.sh line 65:
 /bin/vhd-util no such file or directory
 
 See screenshot: http://imgur.com/XyzdazP
 
 The SSVM (which was running on a KVM host) was indeed missing /bin/vhd-util.
 I manually coped over the file to work around the issue. The XenServer system
 VM does seem to have vhd-util though.
 
 root@s-1-VM:~# which vhd-util
 /bin/vhd-util
 
 The system VMs templates I using are:
 
 systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
 systemvmtemplate-2013-07-12-master-xen.vhd.bz2
 
 Anyone else seen this issue?
 
 
 --
 @shankerbalan
 
 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
 Bangalore - 560 055
 
 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 is a registered 
 trademark.



Re: Missing vhd-util on the KVM System VM?

2013-12-05 Thread Nux!

On 05.12.2013 12:43, Shanker Balan wrote:

Helo,

While trying to create a template from an instance running on
XenServer I ran into the below error:

/usr/local/cloud/systemvm/scripts/storage/secondary/
create_privatetemplate_from_snapshot_xen.sh line 65:
/bin/vhd-util no such file or directory

See screenshot: http://imgur.com/XyzdazP

The SSVM (which was running on a KVM host) was indeed missing 
/bin/vhd-util.
I manually coped over the file to work around the issue. The XenServer 
system

VM does seem to have vhd-util though.

root@s-1-VM:~# which vhd-util
/bin/vhd-util

The system VMs templates I using are:

systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
systemvmtemplate-2013-07-12-master-xen.vhd.bz2

Anyone else seen this issue?


Make sure it's executable and you can run it (try manually, see what it 
spits out).
If the system VM is 64 bit it may require glibc.i686 installed or some 
other library (libstd blah), just a guess.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro