Hide Forgot
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:
"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.
Nevertheless, this is very minor issue, let's move it to 6.9.
Fixed upstream: https://github.com/virt-who/virt-who/commit/4d83935a2bd047a5e054f893350dc0a691548b9f
Fixed in virt-who-0.18-1.el6.
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.
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