Bug 1368383

Summary: /usr/sbin/opashowallports: couldn't read file "/opt/opa/tools/front": no such file or directory
Product: Red Hat Enterprise Linux 7 Reporter: zguo <zguo>
Component: opa-ffAssignee: Honggang LI <honli>
Status: CLOSED ERRATA QA Contact: zguo <zguo>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: jshortt, lmiksik, rdma-dev-team
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opa-ff-10.1.0.0-127.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 03:28:22 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:
Bug Depends On:    
Bug Blocks: 1274397    

Description zguo 2016-08-19 09:02:12 UTC
Description of problem:
[root@rdma-qe-15 opa-fm-and-ff]$ /usr/sbin/opashowallports
--------------------------------------------------------------------
rdma-qe-14:
couldn't read file "/opt/opa/tools/front": no such file or directory
--------------------------------------------------------------------
rdma-qe-15:
couldn't read file "/opt/opa/tools/front": no such file or directory
--------------------------------------------------------------------
rdma-dev-15:
couldn't read file "/opt/opa/tools/front": no such file or directory
--------------------------------------------------------------------
rdma-dev-16:
couldn't read file "/opt/opa/tools/front": no such file or directory
[root@rdma-qe-15 opa-fm-and-ff]$ /usr/sbin/opashowallports -h
/usr/sbin/opashowallports: option requires an argument -- h
Usage: opashowallports [-C] [-f hostfile] [-F chassisfile] [-S]
              or
       opashowallports --help
   --help - produce full help text
   -C - perform operation against chassis, default is hosts
   -f hostfile - file with hosts in cluster, default is /etc/sysconfig/opa/hosts
   -F chassisfile - file with chassis in cluster
           default is /etc/sysconfig/opa/chassis
   -S - securely prompt for password for admin on chassis
example:
   opashowallports
   opashowallports -C
[root@rdma-qe-15 opa-fm-and-ff]$ cat /etc/sysconfig/opa/hosts
	rdma-qe-14
	rdma-qe-15
	rdma-dev-15
	rdma-dev-16


Version-Release number of selected component (if applicable):
[root@rdma-qe-15 opa-fm-and-ff]$ rpm -qa|grep opa
opa-fastfabric-10.1.0.0-126.el7.x86_64
kernel-kernel-infiniband-opa-fm-and-ff-0.1-5.noarch
opa-fm-10.1.0.0-145.el7.x86_64
opa-basic-tools-10.1.0.0-126.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
couldn't read file "/opt/opa/tools/front": no such file or directory

Expected results:
No this message

Additional info:

Comment 2 zguo 2016-09-02 03:28:44 UTC
[root@rdma-qe-14 ~]$ vim /etc/sysconfig/opa/hosts
[root@rdma-qe-14 ~]$ /usr/sbin/opashowallports
--------------------------------------------------------------------
rdma-qe-14:
hfi1_0:1                           PortGID:0xfe80000000000000:00117501016710f0
   PortState:     Active
   LinkSpeed      Act: 25Gb         En: 25Gb        
   LinkWidth      Act: 4            En: 4           
   LinkWidthDnGrd ActTx: 4  Rx: 4   En: 3,4         
   LCRC           Act: 14-bit       En: 14-bit,16-bit,48-bit       Mgmt: True 
   LID: 0x00000001-0x00000001       SM LID: 0x00000001 SL: 0 
   Xmit Data:                  0 MB Pkts:                  161
   Recv Data:                  0 MB Pkts:                  156
   Link Quality: 5 (Excellent)
--------------------------------------------------------------------
rdma-qe-15:
hfi1_0:1                           PortGUID:0x0011750101670fb0
   PhysicalState: Polling       
   LinkSpeed      En: 25Gb         Sup: 25Gb        
   LinkWidth      En: 4            Sup: 1,2,3,4     
   LCRC           En: 14-bit,16-bit,48-bit     Sup: 14-bit,16-bit,48-bit
[root@rdma-qe-14 ~]$ cat  /etc/sysconfig/opa/hosts
# [ICS VERSION STRING: @(#) ./fastfabric/tools/hosts 10_1_0_0_126 [08/30/16 18:23]
# This file lists the TCP/IP names of the hosts in the cluster.
# EXCEPT FOR THE NODE RUNNING FASTFABRIC
#
# If Ethernet is being used for the management network, specify
# the hostname corresponding to the ethernet IP address.
# This file will be used by FastFabric to indicate which hosts should be
# operated on by various fastfabric menus and CLI commands.
rdma-qe-14
rdma-qe-15
[root@rdma-qe-14 ~]$ rpm -qa | grep opa
opa-ff-debuginfo-10.1.0.0-127.el7.x86_64
opa-basic-tools-10.1.0.0-127.el7.x86_64
opa-fm-10.1.0.0-145.el7.x86_64
opa-fastfabric-10.1.0.0-127.el7.x86_64

Comment 4 errata-xmlrpc 2016-11-04 03:28:22 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.

https://rhn.redhat.com/errata/RHEA-2016-2309.html