Bug 783395

Summary: Logs always display "local only" in status page.
Product: Red Hat Enterprise Linux 6 Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.2CC: acathrow, bsarathy, gouyang, jboggs, leiwang, mburns, moli, ovirt-maint, sgordon, ycui
Target Milestone: rc   
Target Release: 6.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-node-2.2.3-1.el6 Doc Type: Bug Fix
Doc Text:
Previously, the logging screen of the Hypervisor user interface would always indicate that the logging configuration was set to "local only". As of this update the logging screen will display "local only", "netconsole", or "rsyslog", as appropriate.
Story Points: ---
Clone Of:
: 783458 (view as bug list) Environment:
Last Closed: 2012-07-19 14:18:11 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: 783458    

Description cshao 2012-01-20 09:16:52 UTC
Description of problem:
In TUI-->Status-->Logs, there always display: local only, What should display at here? Is it a hardcode? Could you make this field display clear?

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.2-20120119.1.el6_2

How reproducible:
100%

Steps to Reproduce:
1. Install RHEV-H.
2. Configure rsyslog and netconsole. 
3. Focus on status page.
  
Actual results:
In ovirt-config-setup.py
          logging_status = Textbox(18, 1, "local only")
            elements.setField(Label("Logs:"), 0, 6, anchorLeft = 1)
            elements.setField(logging_status, 1, 6, anchorLeft = 1, padding=(4, 0, 0, 0))

Expected results:

Additional info:

Comment 2 Joey Boggs 2012-01-27 16:50:37 UTC
http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=commit;h=c2f00b32ca8fed3004b9504809731956f6291f2a

rsyslog/netconsole will display their configuration now, if not configured "Local Only" will display

Comment 4 cshao 2012-02-20 09:54:43 UTC
Test version:
rhev-hypervisor6-6.3-20120215.0.el6
ovirt-node-2.2.3-1.el6.noarch

Don't configure netconsole/rsyslog, "Local Only" will display
Configure netconsole/rsyslog, rsyslog/netconsole will display their configuration now.
So the bug is fixed, change bug status to VERIFIED.

Comment 5 Stephen Gordon 2012-03-28 19:27:53 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the logging screen of the Hypervisor user interface would always indicate that the logging configuration was set to "local only". As of this update the logging screen will display "netconsole", or rsyslog, as appropriate.

Comment 6 Stephen Gordon 2012-05-28 16:39:41 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Previously, the logging screen of the Hypervisor user interface would always indicate that the logging configuration was set to "local only". As of this update the logging screen will display "netconsole", or rsyslog, as appropriate.+Previously, the logging screen of the Hypervisor user interface would always indicate that the logging configuration was set to "local only". As of this update the logging screen will display "local only", "netconsole", or "rsyslog", as appropriate.

Comment 8 errata-xmlrpc 2012-07-19 14:18:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0741.html