Bug 678522

Summary: fence_wti: Unable to parse output when splitted into several screens
Product: Red Hat Enterprise Linux 6 Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: fence-agentsAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Fabio Massimo Di Nitto <fdinitto>
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: cluster-maint, djansa, fdinitto
Target Milestone: rcKeywords: OtherQA
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-3.0.12-18.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 679159 679160 (view as bug list) Environment:
Last Closed: 2011-05-19 14:16:58 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: 679159, 679160    

Description Fabio Massimo Di Nitto 2011-02-18 11:09:17 UTC
root@vultus5:~/bin# fence_wti -o status -a wti.internal -l user -p password -x -n sunfire1 --login-timeout 30 --inet4-only --ipport=22 -v -c "MPC>" --delay 2
Password: 


LOCAL - Managed Power Controller   Site ID: Nordbyvej

PLUG |           NAME           | STATUS | BOOT DELAY | DEFAULT | PRIORITY |
-----+--------------------------+--------+------------+---------+----------+
 A1  | Local_InfeedA_Outlet1    |  OFF   | 0.5 S      |   OFF   |     1    |
 A2  | Local_InfeedA_Outlet2    |  OFF   | 0.5 S      |   OFF   |     2    |
 A3  | Local_InfeedA_Outlet3    |  OFF   | 0.5 S      |   OFF   |     3    |
 A4  | Local_InfeedA_Outlet4    |  OFF   | 0.5 S      |   OFF   |     4    |
 A5  | Local_InfeedA_Outlet5    |  OFF   | 0.5 S      |   OFF   |     5    |
 A6  | Local_InfeedA_Outlet6    |  OFF   | 0.5 S      |   OFF   |     6    |
 A7  | Local_InfeedA_Outlet7    |  OFF   | 0.5 S      |   OFF   |     7    |
 A8  | Local_InfeedA_Outlet8    |  OFF   | 0.5 S      |   OFF   |     8    |
 A9  | Local_InfeedA_Outlet9    |  OFF   | 0.5 S      |   OFF   |     9    |
 A10 | sunfire1                 |  ON    | 0.5 S      |   OFF   |    10    |
 B1  | Local_InfeedB_Outlet1    |  OFF   | 0.5 S      |   OFF   |    11    |
 B2  | Local_InfeedB_Outlet2    |  OFF   | 0.5 S      |   OFF   |    12    |
 B3  | Local_InfeedB_Outlet3    |  OFF   | 0.5 S      |   OFF   |    13    |
 B4  | Local_InfeedB_Outlet4    |  OFF   | 0.5 S      |   OFF   |    14    |
 B5  | Local_InfeedB_Outlet5    |  OFF   | 0.5 S      |   OFF   |    15    |
 B6  | Local_InfeedB_Outlet6    |  OFF   | 0.5 S      |   OFF   |    16    |
* = Plug in BUSY state

Enter /H for command menu.
MPC>Connection timed out

This is using latest fence_wti from 3.1.1 release/git.

Comment 1 Fabio Massimo Di Nitto 2011-02-18 11:10:35 UTC
Normal ssh to the device works as expected. It appears that we don“t recognize the prompt somehow.

Comment 6 Fabio Massimo Di Nitto 2011-03-16 15:17:35 UTC
Tested with brewbuild. Patch works fine.

Comment 9 errata-xmlrpc 2011-05-19 14:16:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0745.html