Bug 1211850 - Fix the regular expression for "kvm: disabled by bios" messages
Summary: Fix the regular expression for "kvm: disabled by bios" messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 20.2
Assignee: Amit Saha
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 05:55 UTC by Amit Saha
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-14 08:04:44 UTC
Embargoed:


Attachments (Terms of Use)

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.


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