Bug 1314205 - "WARNING" info is error when refresh interval below 60s
Summary: "WARNING" info is error when refresh interval below 60s
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-who
Version: 6.8
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: Eko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 08:41 UTC by Liushihui
Modified: 2017-03-21 10:29 UTC (History)
3 users (show)

Fixed In Version: virt-who-0.18-1.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 10:29:04 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0675 0 normal SHIPPED_LIVE virt-who bug fix update 2017-03-21 12:35:57 UTC

Description Liushihui 2016-03-03 08:41:29 UTC
Description of problem:
When run virt-who with refresh interval below to 60s at CLI mode, it will show a ambiguous warning info

Version-Release number of selected component (if applicable):
virt-who-0.16-5.el6.noarch
subscription-manager-1.16.8-3.el6.x86_64
python-rhsm-1.16.6-1.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Register system to satellite6.
2. Run virt-who with refresh interval 3s at CLI mode.
[root@sgi-xe270-01 ~]# virt-who --hyperv --hyperv-owner=xxxxxx --hyperv-env=xxxxx --hyperv-server=10.73.5.227 --hyperv-username=administrator --hyperv-password=Welcome1 -i 3
2016-03-03 03:33:10,240 WARNING: Interval value may not be set below the default of 60 seconds. Will use default value.

Actual results:
It will show warning info as the following:
WARNING: Interval value may not be set below the default of 60 seconds. Will use default value.

Expected results:
It should throw warning info as the following:
WARNING: Interval value maybe set below the default of 60 seconds. Will use default value.

Additional info:

Comment 1 Radek Novacek 2016-03-10 15:28:34 UTC
"WARNING: Interval value maybe set below the default of 60 seconds. Will use default value." - this is also a bit confusing.

What about this wording:

WARNING: Interval value can't be lower than 60 seconds. Default value of 60 seconds will be used.

Comment 2 Radek Novacek 2016-03-10 15:29:08 UTC
Nevertheless, this is very minor issue, let's move it to 6.9.

Comment 4 Radek Novacek 2016-10-13 08:15:50 UTC
Fixed in virt-who-0.18-1.el6.

Comment 6 Eko 2016-12-07 02:39:57 UTC
verified in virt-who-0.18-1.el6.

when interval < 60s, it will show:
[virtwho.init WARNING] MainProcess(30487):MainThread @parser.py:parseOptions:279 - Interval value can't be lower than 60 seconds. Default value of 60 seconds will be used.

Comment 8 errata-xmlrpc 2017-03-21 10:29:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0675.html


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