Bug 704480 - virt-image:--prompt not take effect when create guest from xml file.
Summary: virt-image:--prompt not take effect when create guest from xml file.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst
Version: 5.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 696498
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-13 10:11 UTC by zhe peng
Modified: 2011-07-12 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 696498
Environment:
Last Closed: 2011-07-12 23:04:10 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description zhe peng 2011-05-13 10:11:20 UTC
+++ This bug was initially created as a clone of Bug #696498 +++

Description of problem:
no prompting for required information when use virt-image --prompt to create guest from xml file

Version-Release number of selected component (if applicable):
python-virtinst-0.500.5-3.el6.noarch


How reproducible:
always

Steps to Reproduce:
1.remove all guest,run command:
# virt-image --prompt virt-image.xml
there is no prompting for required.

strangely, if a same name domain exist,
[root@localhost tmp]# virsh list --all
 Id Name                 State
----------------------------------
  1 rhel6_x86_64_qcow2   running
  2 test                 running
  3 new                  running
 then run command:
[root@localhost tmp]# virt-image --prompt virt-image.xml 
ERROR    Guest name 'test' is already in use.
What is the name of your virtual machine? 
new


Creating guest new...
Creating domain...    
the prompting will shown up.
i check man help and --help of virt-image, all missing --prompt option detail,but --force exist.
  
Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2011-06-21 05:25:16 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 3 Cole Robinson 2011-07-12 23:04:10 UTC
Since this has virtually no impact, it's not worth fixing at this point in RHEL5. Closing WONTFIX


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