Bug 1211850

Summary: Fix the regular expression for "kvm: disabled by bios" messages
Product: [Retired] Beaker Reporter: Amit Saha <asaha>
Component: inventoryAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: aigao, asaha, dcallagh, dowang, ebaak
Target Milestone: 20.2Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-14 08:04:44 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 Amit Saha 2015-04-15 05:55:42 UTC
Description of problem:

Fix for bug 738881 used a regex which would match lines other than "kvm: disabled" from the journal/syslog. 

# grep "kvm.*disabled" /var/log/messages
Apr 15 01:06:45 blah-kvm-blah kernel: console [hvc0] enabled, disabled


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


How reproducible:

Always

Steps to Reproduce:
1. Run the inventory task on a host with *kvm* in it's hostname 
2. The inventory task reports a warn result stating virtualization has been disabled

Actual results:

(2) above

Expected results:

Only has a warn result in the case where KVM actually is disabled.

Additional info:

Comment 1 Amit Saha 2015-04-15 05:57:32 UTC
http://gerrit.beaker-project.org/#/c/4138/

Comment 4 Dan Callaghan 2015-07-14 08:04:44 UTC
Beaker 20.2 has been released.