[Libguestfs] Issue with virt-sysprep

Graeme Lambert glambert at adepteo.net
Tue Jan 7 10:06:16 UTC 2014


Hi,

I'm trying to run virt-sysprep against a disk in Ceph RBD storage but I 
appear to be unable to do so.

The commands (bold) and outputs I've had are:

On Ceph node:
*virt-sysprep -a rbd://localhost/libvirt-pool/ubuntu-12-04-beanstalk001*
libguestfs: new guestfs handle 0x113b060
rbd://localhost/libvirt-pool/ubuntu-12-04-beanstalk001: No such file or 
directory
libguestfs: trace: close
libguestfs: closing guestfs handle 0x113b060 (state 0)

On libvirt node:
*virt-sysprep -d beanstalk002 --hostname beanstalk002 --format rbd*
Examining the guest ...
Fatal error: exception Guestfs.Error("libvirt domain has no disks")

I'm using Ubuntu 13.04 on libvirt node and Ubuntu 12.04.3 LTS on the 
Ceph node.  The libguestfs version showing in dpkg is 1:1.14.8-1.

This works fine on qcow2 images that are on disk but I'm moving towards 
having all disks in Ceph RBD and would like to be able to virt-sysprep 
disks in there if at all possible.

Please can you advise where I'm going wrong?
-- 

Best regards

*Graeme*


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20140107/b26f4808/attachment.htm>


More information about the Libguestfs mailing list