[Fedora-xen] virt-clone/Fedora 8/Xen3.1 ... ERROR: Disk size must be an int or a float.

Christopher Fournier christf1 at nortel.com
Tue Feb 12 17:57:38 UTC 2008


Interesting. I'm using a base installation of Fedora 8, 64 bit version,
and all packages are directly out of the distro. The error crops up as
soon as I launch the tool:

[root at localhost ~]# virt-clone -d -o vm1 -n vm2 -f /opt/VMs/vm2.img
Tue, 12 Feb 2008 12:25:30 DEBUG    start clone with HV qemu:///system
Tue, 12 Feb 2008 12:25:30 DEBUG    clone device list:
['/opt/VMs/rhel4u6-3.img']
Tue, 12 Feb 2008 12:25:30 DEBUG    clone device size: [0]
Tue, 12 Feb 2008 12:25:30 DEBUG    clone device type: [True]
Tue, 12 Feb 2008 12:25:30 DEBUG    Disk path not found: Assuming file
disk type.
ERROR:  Disk size must be an int or a float.
What would you like to use as the disk (path)?

As mentioned, the error also crops up using the latest dev snapshot.


On Tue, 2008-02-12 at 12:30 -0500, Cole Robinson wrote:
> christf1 wrote:
> > I tried the latest dev stream, and continued to have the problem. The quick
> > fix is to simply touch the target file before launching 'virt-clone'
> > 
> > touch <dir_to_VMs>/newvm.img
> > virt-clone -o existing_vm -n new_vm -o <dir_to_VMs>/newvm.img
> > 
> > Cheers!
> 
> I'm not seeing this:
> 
> hg clone http://hg.et.redhat.com/virt/applications/virtinst--devel
> cd virtinst--devel
> ./virt-clone -o xen-pv -n clone-pv -f /idontexist.img
> 
> starts working, for an existing turned off guest named xen-pv on f8.
> Is there anything you are doing differently? If so, can you detail it
> and post the complete error message? 
> 
> Thanks,
> Cole
-- 
Chris Fournier

Nortel
3500 Carling Avenue
Ottawa, Ontario, Canada
K2H 8E9
Phone: 613-763-4860




More information about the Fedora-xen mailing list