<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I'm trying to run virt-sysprep against a disk in Ceph RBD storage
but I appear to be unable to do so.<br>
<br>
The commands (bold) and outputs I've had are:<br>
<br>
On Ceph node:<br>
<b>virt-sysprep -a
rbd://localhost/libvirt-pool/ubuntu-12-04-beanstalk001</b><br>
libguestfs: new guestfs handle 0x113b060<br>
rbd://localhost/libvirt-pool/ubuntu-12-04-beanstalk001: No such file
or directory<br>
libguestfs: trace: close<br>
libguestfs: closing guestfs handle 0x113b060 (state 0)<br>
<br>
On libvirt node:<br>
<b>virt-sysprep -d beanstalk002 --hostname beanstalk002 --format rbd</b><br>
Examining the guest ...<br>
Fatal error: exception Guestfs.Error("libvirt domain has no disks")<br>
<br>
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.<br>
<br>
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.<br>
<br>
Please can you advise where I'm going wrong?<br>
<div class="moz-signature">-- <br>
<p>Best regards<br>
</p>
<p><b>Graeme</b></p>
<br>
</div>
</body>
</html>