Bug 602557

Summary: Multi-guest created with serial log files fail to write all serial information
Product: Red Hat Enterprise Linux 6 Reporter: Alex Jia <ajia>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: jdenemar, llim, tyan, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-17 04:37:33 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:

Description Alex Jia 2010-06-10 07:10:35 UTC
Description of problem:
Staring two guests(or even more) separately with a serial log file,
only first starting guest exists all serial information in serial
log file.  

In addition, outputting serial information to terminal is the same 
error for multi-guest.

Version-Release number of selected component (if applicable):
[root@dhcp-66-70-62 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 6.0 Beta (Santiago)

[root@dhcp-66-70-62 ~]# uname -a
Linux dhcp-66-70-62.nay.redhat.com 2.6.32-33.el6.x86_64 #1 SMP Thu Jun 3 13:00:03 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

[root@dhcp-66-70-62 ~]# virsh version
Compiled against library: libvir 0.8.1
Using library: libvir 0.8.1
Using API: QEMU 0.8.1
Running hypervisor: QEMU 0.12.1


How reproducible:
always

Steps to Reproduce:
1.define two guests separately with a serial log file
2.start two guests
3.check serial log file
  
Actual results:
There isn't all serial information in the serial log file for the second starting guest.


Expected results:
There is own all serial information in the serial log file for each guest


Additional info:
Xml description for serial and console: 
    <serial type='file'>
      <source path='/tmp/{guestname}-serial.log'/>
      <target port='0'/>
    </serial>
    <console type='file'>
      <source path='/tmp/{guestname}-serial.log'/>
      <target port='0'/>
    </console>

Comment 2 RHEL Program Management 2010-06-10 07:33:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Jiri Denemark 2010-06-16 19:06:41 UTC
Hmm, works as expected for me. Could you attach the XML for the two guests that are not working for you?

Comment 4 Alex Jia 2010-06-17 03:19:36 UTC
Hi Jiri,
I renew check second guest, the second guest is missing console argument in the kernel command line, it works also for me, so it's not a bug.