Bug 913382 - Virt-clone is unable to replace existing guest
Summary: Virt-clone is unable to replace existing guest
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virtinst
Version: unspecified
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Kletzander
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-21 06:18 UTC by Geyang Kong
Modified: 2013-08-05 03:45 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-07 10:01:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Geyang Kong 2013-02-21 06:18:54 UTC
Description of problem:
  Virt-clone on RHEL7 cannot replace existed guest.

Version-Release number of selected component (if applicable):
python-virtinst-0.600.3-2.el7.noarch

Reproduce steps:
1. Have an installed guest.
2. Run: virt-clone -o T1 --name=T1 --file=/var/lib/libvirt/images/T1-new.img --replace

Actual results:
1. Got: ERROR    Guest name 'T1' is already in use.

Expected results:
1. Could clone T1 successfully.

Additional info:

Comment 2 Martin Kletzander 2013-03-06 10:04:25 UTC
Patch upstream, but we still have to wait for the merge.

commit 03804ee7fabaf730d68845a46668e29cee21fd84
Author: Martin Kletzander <mkletzan>
Date:   Thu Feb 21 16:38:44 2013 +0100

    virt-clone: Properly propagate --replace parameter

Comment 3 Martin Kletzander 2013-03-07 10:01:54 UTC
Don't mind the "merge" part of previous comment, moving upstream and closing it as NEXTRELEASE.


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