Bug 999348

Summary: [RFE] Add TUI information to log file.
Product: Red Hat Enterprise Linux 6 Reporter: Yaning Wang <yaniwang>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: acathrow, bsarathy, cboyle, fdeutsch, gouyang, jboggs, leiwang, mburns, mgoldboi, ovirt-maint, tlavigne, yaniwang, ycui, yeylon
Target Milestone: rcKeywords: AutomationBlocker, FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-node-3.0.1-2.el6 Doc Type: Enhancement
Doc Text:
--no tech note required
Story Points: ---
Clone Of: 991267 Environment:
Last Closed: 2014-01-21 19:48:49 UTC Type: Bug
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: 991267, 1013547    
Bug Blocks:    

Description Yaning Wang 2013-08-21 08:19:39 UTC
+++ This bug was initially created as a clone of Bug #991267 +++

Description of problem:

1. In rhevh64 or lower version, when you switch the tabs in TUI(snack), the TUI will add the message like "Current Page is 1" into `ovirt.log`. This is very helpful for TUI related automation-case.
But this message can not be found in log files anymore in rhevh65.
So please add equivalent function in rhevh65

2. In rhevh64 or lower version, there is a built-in hot key `F12`. This hot key will reset the cursor to the  initial position. 
So please add equivalent hot-key in rhevh65

--- Additional comment from Ying Cui on 2013-08-12 02:17:25 EDT ---

 Priority: High
 Severity: High

--- Additional comment from Fabian Deutsch on 2013-08-12 06:18:15 EDT ---

Tested as follows:

1. Log into UI w/ patch
2. Enter Network page
3. Press F12
4. Status page was shown again

Comment 6 Cheryn Tan 2013-11-08 00:27:28 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 7 Yaning Wang 2013-11-11 08:22:37 UTC
Verified on the version:

rhevh-6.5-20131031.1.0

Steps:

1. Press `F2`
2. [root@localhost admin]# cat /var/log/ovirt-node.log | grep 'Current page'
3. get output as follow:

2013-11-11 08:11:24,162       INFO Current page is 'Welcome'
2013-11-11 08:11:26,445       INFO Current page is 'Keyboard'
2013-11-11 08:11:27,382       INFO Current page is 'Boot Device'
2013-11-11 08:11:28,433       INFO Current page is 'Data Device'
2013-11-11 08:11:30,669       INFO Current page is 'Storage Sizes'
2013-11-11 08:11:33,118       INFO Current page is 'Console Password'
2013-11-11 08:11:39,809       INFO Current page is 'Installation Progress'
2013-11-11 08:12:51,805       INFO Current page is 'Status'
2013-11-11 08:12:51,830       INFO Current page is 'Status'
2013-11-11 08:12:52,397       INFO Current page is 'Network'
2013-11-11 08:12:52,579       INFO Current page is 'Security'
2013-11-11 08:15:19,499       INFO Current page is 'Network'
2013-11-11 08:16:35,439       INFO Current page is 'Status'
2013-11-11 08:16:35,918       INFO Current page is 'Network'
2013-11-11 08:16:36,105       INFO Current page is 'Security'
2013-11-11 08:16:42,112       INFO Current page is 'Network'
2013-11-11 08:16:42,303       INFO Current page is 'Status'
2013-11-11 08:17:05,004       INFO Current page is 'Status'
2013-11-11 08:17:05,028       INFO Current page is 'Status'

Comment 9 errata-xmlrpc 2014-01-21 19:48:49 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-2014-0033.html