Bug 499584

Summary: info balloon is repeated in qemu log once per second
Product: [Fedora] Fedora Reporter: Alan Pevec <apevec>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: berrange, clalance, crobinso, itamar, markmc, notting, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.6.2-11.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-04 21:21:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 480594    

Description Alan Pevec 2009-05-07 10:26:42 UTC
Description of problem:
> info balloon
> balloon: actual=768
is repeated in /var/log/libvirt/qemu/*.log once per second when virt-manager is running.

Version-Release number of selected component (if applicable):
libvirt-0.6.2-4.fc11.x86_64
virt-manager-0.7.0-4.fc11.x86_64

How reproducible:
always with virt-manager running

Steps to Reproduce:
1. start VM using virt-manager
2. tail -f /var/log/libvirt/qemu/VM.log
3.
  
Actual results:
info balloon
balloon: actual=768
is repeated in qemu log

Expected results:
qemu log is not polluted with the regular monitoring output.

Comment 1 Mark McLoughlin 2009-05-07 10:53:38 UTC
So, this is virt-manager doing doing domainGetInfo, right?

We can't avoid logging the monitor commands, but can we avoid doing the monitor command every time?

e.g. once the guest has inflated/deflated to the target, can we not remember that and assume its not going to change?

This is pretty annoying when you go looking through the logs

Comment 2 Daniel Berrangé 2009-05-07 11:04:23 UTC
This is fixed in libvirt upstream 

http://git.et.redhat.com/?p=libvirt.git;a=commit;h=fbd16cecc72494e8a9450f38197221f2f50c9d0e

Comment 3 Cole Robinson 2009-05-07 12:51:54 UTC
The logging issue is fixed, but do we really need to talk to the monitor every time info is called?

Comment 4 Daniel Berrangé 2009-05-07 12:57:55 UTC
We have no choice until QEMU is able to provide notifications for thinks like memory balloon changes

Comment 5 Mark McLoughlin 2009-05-22 09:52:23 UTC
Pushing the following to updates-testing:

* Fri May 22 2009 Mark McLoughlin <markmc> - 0.6.2-10.fc11
- Don't log monitor output to domain log file (bug #499584)

Comment 6 Fedora Update System 2009-05-22 09:53:13 UTC
libvirt-0.6.2-10.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libvirt-0.6.2-10.fc11

Comment 7 Fedora Update System 2009-05-25 21:19:59 UTC
libvirt-0.6.2-10.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libvirt'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5441

Comment 8 Fedora Update System 2009-05-26 07:57:34 UTC
libvirt-0.6.2-11.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libvirt'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5515

Comment 9 Mark McLoughlin 2009-05-27 06:42:57 UTC
*** Bug 502681 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2009-06-04 21:21:02 UTC
libvirt-0.6.2-11.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-06-05 13:23:27 UTC
libvirt-0.6.2-12.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libvirt-0.6.2-12.fc11