Skip to content

pre-release WLO 1.5.0 - provide better error messages when getting performance data with missing prereq packages #786

@tam512

Description

@tam512

Test pre-release WebSphere Liberty operator 1.5.0, test WebSphereLibertyPerformanceData on Amazon EKS with efs-sc/efs.csi.aws.com storage class

I can see the linperf_RESULTS.20250825.201129.tar.gz file created

% kubectl -n ebuy-wlk-ubi9-j21 get webspherelibertyperformancedata -w
NAME                         STARTED   COMPLETED   PERFORMANCE DATA FILE
wl-performance-data-sample   True      True        /serviceability/ebuy-wlk-ubi9-j21/ebuy-wlk-ubi9-j21-0/performanceData/linperf_RESULTS.20250825.201129.tar.gz

but when inspect the linperf_RESULTS.20250825.201129.tar.gz file, I see most of the output files have command not found

% tar -xvzf linperf_RESULTS.20250825.201129.tar.gz
% ls -l
total 96
-rw-r--r--  1 tam  staff   845 Aug 25 15:13 df-hk.out
-rw-r--r--  1 tam  staff    62 Aug 25 15:13 dmesg.out
-rw-r--r--  1 tam  staff     0 Aug 25 15:11 ifconfig.out
-rw-r--r--  1 tam  staff  1508 Aug 25 15:18 linperf_RESULTS.20250825.201129.tar.gz
-rw-r--r--  1 tam  staff   193 Aug 25 15:13 netstat.out
-rw-r--r--  1 tam  staff    59 Aug 25 15:11 ps.aux.out
-rw-r--r--  1 tam  staff    92 Aug 25 15:11 ps.out
-rw-r--r--  1 tam  staff   460 Aug 25 15:13 ps.threads.out
-rw-r--r--  1 tam  staff  2348 Aug 25 15:13 screen.out
-rw-r--r--  1 tam  staff    93 Aug 25 15:11 top.out
-rw-r--r--  1 tam  staff   107 Aug 25 15:11 topdashH.1.out
-rw-r--r--  1 tam  staff     0 Aug 25 15:11 uptime.out
-rw-r--r--  1 tam  staff    95 Aug 25 15:11 vmstat.out
-rw-r--r--  1 tam  staff    40 Aug 25 15:11 whoami.out

% cat top.out
Mon Aug 25 08:11:29 PM UTC 2025

/output/helper/linperf.sh: line 427: top: command not found

% cat ps.out
Mon Aug 25 08:11:29 PM UTC 2025
/output/helper/linperf.sh: line 414: ps: command not found

% cat netstat.out
Mon Aug 25 08:11:29 PM UTC 2025
/output/helper/linperf.sh: line 407: netstat: command not found

Mon Aug 25 08:13:30 PM UTC 2025
/output/helper/linperf.sh: line 522: netstat: command not found

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions