Bug 836883

Summary: The error message about cpuset was not completely
Product: Red Hat Enterprise Linux 6 Reporter: Cui Lei <lcui>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.3CC: gkong, hyao, mzhan, rwu, tzheng, yupzhang, zpeng
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: 2012-07-08 21:14:53 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:
Embargoed:

Description Cui Lei 2012-07-02 05:54:12 UTC
Description of problem:
Execute a python-virtinst command with cpuset option like below one, such as
virt-image -n $guestname $xmlfile --cpuset=1,^4,a

The error message would pop up:
"ERROR    cpuset can only contain numeric, ',', or '-' characters"

But the error message was not completely, which should include '^' characters, which means not use.


Version-Release number of selected component (if applicable):

python-virtinst-0.600.0-8.el6.noarch
qemu-kvm-0.12.1.2-2.295.el6.x86_64
libvirt-0.9.10-21.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. execute a command as "virt-image -n $guestname $xmlfile --cpuset=1,^4,a"
2. check the error message

Actual results:
Error output, which hint
"ERROR    cpuset can only contain numeric, ',', or '-' characters"
which should include '^' characters, which means not use.

Expected results:
The error message should completely.

Comment 1 Cole Robinson 2012-07-08 21:14:53 UTC
Thanks, fixed upstream:

http://git.fedorahosted.org/git?p=python-virtinst.git;a=commit;h=7a7f33dcef1432231b79058e346d5a279ed4716f

But since this is so minor I'm just closing as UPSTREAM