Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1349228

Summary: /usr/sbin/opacapture: line 155: opatmmtool: command not found
Product: Red Hat Enterprise Linux 7 Reporter: zguo <zguo>
Component: opa-ffAssignee: Honggang LI <honli>
Status: CLOSED DUPLICATE QA Contact: zguo <zguo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-19 07:32:01 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:

Description zguo 2016-06-23 02:43:57 UTC
Description of problem:


Version-Release number of selected component (if applicable):
[root@rdma-qe-15 ~]$ rpm -qa opa-basic-tools
opa-basic-tools-10.0.1.0-2.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. [root@rdma-qe-15 ~]$ /usr/sbin/opacapture opacapture.log
Getting software and firmware version information ...
Getting TMM information...
/usr/sbin/opacapture: line 155: opatmmtool: command not found   <--
Obtaining OS configuration ...
Obtaining dmesg logs ...
Obtaining present process and module list ...
Obtaining PCI device list ...
ls: cannot access /dev/ipath*: No such file or directory
Obtaining environment variables ...
Obtaining network interfaces ...
Obtaining DMI information ...
Obtaining Shared Memory information ...
Obtaining OmniPath information ...
Obtaining MPI configuration ...
Copying configuration and statistics for OPA drivers from /proc ...
Obtaining HFI statistics ...
Copying kernel debug information from /sys/kernel/debug/hfi1...
Copying configuration and statistics for ib_ drivers from /sys ...
   Getting statedump for hfi1_0 ...
Copying configuration and statistics for OPA from /sys/module ...
Gathering Host FM Information ...
Creating dump directory...
Getting systemd information...
Getting FM rpm version...
Copying FM configuration...
Copying FM core dumps...
Getting SM 0 counters...
Getting PM 0 counters...
Getting SM 0 run-time core file
^CSkipping SM 1: Not Running
Skipping SM 2: Not Running
Skipping SM 3: Not Running
Skipping SM 4: Not Running
Skipping SM 5: Not Running
Skipping SM 6: Not Running
Skipping SM 7: Not Running
Packaging capture file...
Saved FM capture as smdump-22Jun16223238-QGFwYs.tgz
Creating tar file /root/opacapture.log.tgz ...
Done.

Please include /root/opacapture.log.tgz with any problem reports to Customer Support

2.
3.

Actual results:
/usr/sbin/opacapture: line 155: opatmmtool: command not found   <--

Expected results:
opatmmtool can be found and executed.

Additional info:

Comment 1 zguo 2016-06-23 02:58:59 UTC
[root@rdma-qe-15 ~]$ /usr/sbin/opahfirev
######################
rdma-qe-15  - HFI 0000:04:00.0
/usr/sbin/opahfirev: line 88: /usr/sbin/opatmmtool: No such file or directory
HFI:   hfi1_0
Board: ChipABI 3.0, Board ID 0x1, ChipRev 7.16, SW Compat 3
SN:    0x00670fb0
Bus:   Speed 8GT/s, Width x16
GUID:  0011:7501:0167:0fb0
TMM:   
######################

Comment 2 zguo 2016-08-19 07:27:21 UTC
Issue is gone on
[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-basic-tools-10.1.0.0-126.el7.x86_64
opa-fm-10.1.0.0-145.el7.x86_64

[root@rdma-qe-15 opa-fm-and-ff]$ /usr/sbin/opacapture test
Getting software and firmware version information ...
Getting TMM information...
Obtaining OS configuration ...
Obtaining dmesg logs ...
Obtaining present process and module list ...
Obtaining PCI device list ...
ls: cannot access /dev/ipath*: No such file or directory
Obtaining environment variables ...
Obtaining network interfaces ...
Obtaining DMI information ...
Obtaining Shared Memory information ...
Obtaining OmniPath information ...
Obtaining MPI configuration ...
Copying configuration and statistics for OPA drivers from /proc ...
Obtaining additional CPU info...
Obtaining HFI statistics ...
Copying kernel debug information from /sys/kernel/debug/hfi1...
Copying configuration and statistics for ib_ drivers from /sys ...
   Getting statedump for hfi1_0 ...
Copying configuration and statistics for OPA from /sys/module ...
Gathering Host FM Information ...
Creating dump directory...
Getting systemd information...
Getting FM rpm version...
Copying FM configuration...
Copying FM core dumps...
Getting SM 0 counters...
Getting PM 0 counters...
Getting SM 0 run-time core file
Skipping SM 1: Not Running
Skipping SM 2: Not Running
Skipping SM 3: Not Running
Skipping SM 4: Not Running
Skipping SM 5: Not Running
Skipping SM 6: Not Running
Skipping SM 7: Not Running
Packaging capture file...
Saved FM capture as smdump-19Aug16031808-0qKRzW.tgz
Creating tar file /mnt/tests/kernel/infiniband/opa-fm-and-ff/test.tgz ...
Done.

Please include /mnt/tests/kernel/infiniband/opa-fm-and-ff/test.tgz with any problem reports to Customer Support

Comment 3 Honggang LI 2016-08-19 07:32:01 UTC

*** This bug has been marked as a duplicate of bug 1368023 ***