Description of problem: Console logs on RHEL5 xen guest are duplicated after each reboot. Problem is that when xen guest restarts, "virsh console" process on host will end. zrhel5_write_consolelogs.py will restart it, but output is getting appened to console log file. "logguestconsoles.c" will notice this via inotify IN_CLOSE_WRITE and resets file offset to begining, which is wrong, because file wasn't truncated. As result same data will be uploaded again. Proposed patch: http://gerrit.beaker-project.org/#/c/2630/ Version-Release number of selected component (if applicable): distribution-distribution-virt-install-4.0-79 How reproducible: 100% Steps to Reproduce: 1. install RHEL5 xen guest 2. make couple reboots Actual results: data in console log is duplicated for example, following message is present in logs multiple times: 12/13/13 18:55:14 JobID:561449 Test:/distribution/install Response:1 Expected results: data in console log is not duplicated after reboot Additional info: https://lists.fedorahosted.org/pipermail/beaker-devel/2013-December/000917.html
This change has now been published as http://beaker-project.org/tasks/distribution-distribution-virt-install-4.0-80.noarch.rpm