Bug 1011285

Summary: "Use --prompt or --force to override" should not in the warning for virt-image since neither prompt nor force option are availabe for virt-image.
Product: Red Hat Enterprise Linux 6 Reporter: hyao <hyao>
Component: python-virtinstAssignee: virt-mgr-maint
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: codong, cwei, dyuan, gscrivan, lcui, mzhan, tzheng, zsong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-15 11:32:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description hyao@redhat.com 2013-09-24 03:04:37 UTC
Description
"Use --prompt or --force to override" should not in the warning for virt-image since neither prompt nor force option are availabe for virt-image.

Version:
# rpm -qa libvirt python-virtinst
python-virtinst-0.600.0-18.el6.noarch
libvirt-0.10.2-26.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. create virtual machines by virt-image with vcpus exceeding physical CPU and check-cpu option.
# virt-image image.xml --vcpus=9  --check-cpu --debug
Mon, 23 Sep 2013 05:16:06 DEBUG    Launched with command line:
/usr/bin/virt-image image.xml --vcpus=9 --check-cpu --debug
Mon, 23 Sep 2013 05:16:06 DEBUG    Requesting libvirt URI default
Mon, 23 Sep 2013 05:16:06 DEBUG    Received libvirt URI qemu:///system
Mon, 23 Sep 2013 05:16:06 ERROR    You have asked for more virtual CPUs (9) than there are physical CPUs (8) on the host. This will work, but performance will be poor.  (Use --prompt or --force to override)

Actual results:
Mon, 23 Sep 2013 05:16:06 ERROR    You have asked for more virtual CPUs (9) than there are physical CPUs (8) on the host. This will work, but performance will be poor.  (Use --prompt or --force to override)

Expected results:
"Use --prompt or --force to override" should not in the warning for virt-image since there's nerther prompt nor force option for virt-image.

Comment 1 Giuseppe Scrivano 2014-01-15 11:32:38 UTC
Given the severity and that it is only an aesthetic issue, I am closing it as WONTFIX.