Bug 744544

Summary: virtio cannot transfer all guest anaconda logs to host
Product: [Fedora] Fedora Reporter: Hongqing Yang <hoyang>
Component: loraxAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, anaconda-maint-list, bcl, jonathan, jzeleny, mgracik, theinric, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lorax-16.4.7-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 745711 (view as bug list) Environment:
Last Closed: 2011-10-12 08:28:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 745711    
Attachments:
Description Flags
analog
none
anaconda logs none

Description Hongqing Yang 2011-10-09 10:16:37 UTC
Created attachment 527084 [details]
analog

Description of problem:
It fails to transfer all anaconda logs of guest to the host by serial virtio. only the syslog is transferred.

Version-Release number of selected component (if applicable):

host is F15 with libvirt-0.8.8-7.fc15.x86_64, virt-manager-0.8.7-6.fc15.noarch
guest is F16 Beta gold (F16 beta rc4)

How reproducible:
100%

Steps to Reproduce:
1. add virtio-serial port on the guest with virsh edit
2. run analog to start listening to the guest
3. start guest
  
Actual results:


Expected results:


Additional info:
This blocks the Fedora installation test automation project, hope you can give it high priority. Thanks.

Comment 1 Hongqing Yang 2011-10-09 10:42:54 UTC
Created attachment 527085 [details]
anaconda logs

Comment 2 Ales Kozumplik 2011-10-10 15:14:02 UTC
I can confirm this, though this is not a bug in analog. Apparently the rsyslog format of forwarded messages has changed between the two versions and what is forwarded from F16 rsyslogd (the one running in your guest) is not correctly parsed by the receiving F15 rsyslogd (the one where analog is running). You should be able to confirm this e.g. by looking at debug_unknown_source.log which contains all the messages where we failed to recognize the tag.

Reassigning to rsyslogd which maintainer might or might not be able to help you.

The easiest fix for you is in any case upgrading your host rsyslogd to the same version the tested guest is running.

Comment 3 Ales Kozumplik 2011-10-11 13:09:02 UTC
We clarified this with theinric and the error is not because of a new rsyslog version but rather due to changed environment in F16 --- something we can fix in the image generation.

Comment 5 Ales Kozumplik 2011-10-12 08:28:23 UTC
Fixed by e61f3b23d47903b30ac0ce591a200dc5edc4f979. This will be part of the first f17 compose.

Hongqing,

Will it be OK to have this in F17 only?

Comment 6 Hongqing Yang 2011-10-13 02:24:09 UTC
(In reply to comment #5)
> Fixed by e61f3b23d47903b30ac0ce591a200dc5edc4f979. This will be part of the
> first f17 compose.
> 
> Hongqing,
> 
> Will it be OK to have this in F17 only?

Ales, 
It would be better if you can correct it in F16 Final, since the new environment in F16, I have to update the test scripts accordingly, so I need a working media to test. Thanks.

Comment 7 Fedora Update System 2011-10-17 17:24:59 UTC
lorax-16.4.7-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/lorax-16.4.7-1.fc16

Comment 8 Fedora Update System 2011-10-20 04:01:44 UTC
lorax-16.4.7-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.