Bug 1117001

Summary: [Beaker] distribution-distribution-virt-install-4.0-81.noarch.rpm Disable libvirt debug logging
Product: [Retired] Beaker Reporter: Jeff Burke <jburke>
Component: testsAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.17CC: aigao, asaha, dcallagh, rmancy, xma
Target Milestone: 0.17.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-09 08:56:47 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 Jeff Burke 2014-07-07 19:17:15 UTC
Description of problem:
 Currently in RHEL6.6 we have an issue with libvirt when debugging is enabled the debug log produces very large log files. We have an open bz. 
Bug 1116989 - [RHEL6.6][libvirt]Enabling debug flag results huge debug log file.
https://bugzilla.redhat.com/show_bug.cgi?id=1116989

 Not sure when this will be resolved. So I would also like the ability to disable libvirt debugging. Infact I think having it disabled by defualt with the option to enable it may be better.

Version-Release number of selected component (if applicable):
 distribution-distribution-virt-install-4.0-81.noarch.rpm

How reproducible:
 Always with RHEL-6.6-20140624.0 or newer

Actual results:
 Beaker reports:
size_limit  2014-07-04 20:38:42 -04:00  Warn  99999999.99

Comment 3 Dan Callaghan 2014-07-08 06:56:22 UTC
On Gerrit: http://gerrit.beaker-project.org/3194

Comment 4 Dan Callaghan 2014-07-08 07:22:32 UTC
The patch changes /distribution/virt/install not to upload libvirtd_debug.log anymore, unless LIBVIRTD_DEBUG task parameter is set to a non-empty value.

Therefore the expected results are:

* libvirtd_debug.log is no longer present in task logs (on RHEL-6.6-20140624.0 or newer this will allow the task to succeed)

* if <param name="LIBVIRTD_DEBUG" value="1"/> is added, libvirtd_debug.log will be present (test on RHEL-6.5)

* the log will always be present on disk in /var/tmp/libvirtd_debug.log, so you can read it if you have reserved the host

Comment 7 Dan Callaghan 2014-07-09 08:56:47 UTC
/distribution/virt/install 4.0-83 has been released.