Bug 991267

Summary: [RFE] Add TUI information to log file.
Product: [Retired] oVirt Reporter: Yaning Wang <yaniwang>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.3CC: acathrow, fabian.deutsch, fdeutsch, gouyang, hadong, jboggs, leiwang, mgoldboi, ovirt-bugs, ovirt-maint, sbonazzo, yaniwang, ycui, yeylon
Target Milestone: ---Keywords: AutomationBlocker, FutureFeature
Target Release: 3.4.1   
Hardware: Unspecified   
OS: Linux   
Whiteboard: node
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 999348 1013547 (view as bug list) Environment:
Last Closed: 2014-04-08 14:36:36 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:    
Bug Blocks: 999348, 1013547    

Description Yaning Wang 2013-08-02 03:16:49 UTC
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

Comment 1 Ying Cui 2013-08-12 06:17:25 UTC
 Priority: High
 Severity: High

Comment 2 Fabian Deutsch 2013-08-12 10:18:15 UTC
Tested as follows:

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

Comment 3 Fabian Deutsch 2013-09-02 09:28:47 UTC
There is now also a log entry in the logfile saying:

"Current page is '…'" using the page name.

Comment 4 Fabian Deutsch 2013-09-06 11:51:24 UTC
Hey Yaning,

I gave it another try.

Tested as follows:
1. Apply patch
2. Start UI in dev mode:
PYTHONPATH=src/ scripts/ovirt-node-setup --dry --defaults /tmp/cfg_dummy
3. $ grep "Current page" /tmp/ovirt-node.debug.log .../ovirt/gerrit/ovirt-node/src/ovirt/node/app.py:236:switch_to_plugin: Current page is 'Status'

Comment 5 Sandro Bonazzola 2013-11-27 10:06:23 UTC
Fabian, all patches in External Trackers are merged.

I suppose this should be at least in modified (if not closed with latest node release). Can you also set target release?

Comment 6 Sandro Bonazzola 2014-02-04 12:38:28 UTC
re-targeting to 3.3.4, waiting for Fabian answer.

Comment 7 Sandro Bonazzola 2014-03-04 11:02:20 UTC
this is an automated message.
Moving remaining open bugs targeting 3.3.4 to 3.4.1.
If relevant for 3.3-stable, please reset target version accordingly.

Comment 10 Fabian Deutsch 2014-04-08 14:36:36 UTC
This has been fixed long ago.