Bug 430757 - virt-clone doesn't work
Summary: virt-clone doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtinst
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-29 18:07 UTC by Kevin Fenzi
Modified: 2008-11-25 14:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-25 14:06:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Fenzi 2008-01-29 18:07:57 UTC
Trying to use the virt-clone script results in: 

# virt-clone -o centos4-i386 -n centos4-i386-clone -f
/home/vm/centos4-i386-clone.img
ERROR:  Disk size must be an int or a float.
What would you like to use as the disk (path)?

python-virtinst-0.300.2-2.fc8.noarch

Comment 1 Cole Robinson 2008-01-30 22:34:14 UTC
Applied a fix for this upstream:

http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=611782118e76

Comment 2 Kevin Fenzi 2008-01-31 17:04:03 UTC
Excellent. :) Any idea when a new fedora update will be out?

The status of POST here seems odd... isn't that for kernel patches? 


Comment 3 Cole Robinson 2008-01-31 17:19:57 UTC
Yeah the whole bug state thing confuses me. It was recommended to me to put bugs
in POST when they are fixed upstream but not released yet. Seems to me to be a
sensible state between ASSIGNED (developer is aware and potentially working on
it) and MODIFIED (fix is in cvs). Since we really only track virtinst releases
and usually don't apply specific fixes to cvs, MODIFIED doesn't seem appropriate.

As for the update, not sure. In the interim, the fix is a one liner, just make
the above change to /usr/lib/python2.5/site-packages/virtinst/CloneManager.py

Comment 4 Kevin Fenzi 2008-01-31 17:26:13 UTC
Yeah, no biggie. I would probibly just leave it ASSIGNED in that situation. 

ok. Easy to do, and glad it's an easy fix. :) 

Comment 5 Daniel Berrangé 2008-02-04 15:07:12 UTC
The BZ docs saying POST is only for kernel patches is wrong. Since we have a
close relationship between Fedora packages & upstream for all virtualization
userspace, we always put tickets into POST when the patch is posted & merged
upstream. This lets us clearly distinguish BZ which have patches available now
(POST) and those which still require work (ASSIGNED).

The normal workflow for all virtualization bugs is NEW -> ASSIGNED (dev working)
-> POST (patch ready) -> MODIFIED (patch in CVS & Koji) -> ON_QA (in
updates-testing) -> CLOSED (in updates/rawhide)

Comment 6 Cole Robinson 2008-11-25 14:06:54 UTC
This was fixed way back in March in 0.300.2-4.fc8, so closing.


Note You need to log in before you can comment on or make changes to this bug.