Bug 704480

Summary: virt-image:--prompt not take effect when create guest from xml file.
Product: Red Hat Enterprise Linux 5 Reporter: zhe peng <zpeng>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7CC: dyuan, mzhan, nzhang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 696498 Environment:
Last Closed: 2011-07-12 23:04:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 696498    
Bug Blocks:    

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