-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.19
-
None
-
None
-
False
-
-
Description of problem:
The performance profile creator seems like it is not supported for clusters that are on ARM architectures
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Label one of the nodes with worker-cnf
2. run oc adm must-gather on the cluster
3. Trying to run the podman command to generate the performance profile file with the must-gather directory # podman run --entrypoint performance-profile-creator -v /root/mg:/mg:z registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-cluster-node-tuning-rhel9-operator@sha256:4bfa740bdc3b923e84d9c7ade981d0b54ae4b341b766d9249595ff41bcf7fe6d --must-gather-dir-path /mg --rt-kernel=false --mcp-name worker-cnf --reserved-cpu-count=4 --topology-manager-policy=single-numa-node --power-consumption-mode ultra-low-latency --user-level-networking Trying to pull registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-cluster-node-tuning-rhel9-operator@sha256:4bfa740bdc3b923e84d9c7ade981d0b54ae4b341b766d9249595ff41bcf7fe6d... Getting image source signatures Copying blob 33dd7d79b67d done | Copying blob 984ac3d8ef6b done | Copying blob 25c75c34b2e2 skipped: already exists Copying blob 4bdb59942949 done | Copying config e5c4338c0a done | Writing manifest to image destination level=info msg="Nodes names targeted by worker-cnf pool are: ocp-worker-0.libvirt.lab.eng.tlv2.redhat.com " open /tmp/ghw-snapshot-2843945283/sys/devices/system/node/node0/cpu0/cache/index1/size: no such file or directory open /tmp/ghw-snapshot-3545953451/sys/devices/system/node/node0/cpu0/cache/index1/size: no such file or directory panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: github.com/openshift/cluster-node-tuning-operator/pkg/performanceprofile/profilecreator.GHWHandler.IsHyperthreadingEnabled({0xc0001e8000?, 0xc000328f08?}) /go/src/github.com/openshift/cluster-node-tuning-operator/pkg/performanceprofile/profilecreator/profilecreator.go:667 +0x127 github.com/openshift/cluster-node-tuning-operator/pkg/performanceprofile/profilecreator.GHWHandler.GatherSystemInfo({0xc0001e8000?, 0xc000328f08?}) /go/src/github.com/openshift/cluster-node-tuning-operator/pkg/performanceprofile/profilecreator/profilecreator.go:353 +0x65 github.com/openshift/cluster-node-tuning-operator/cmd/performance-profile-creator/cmd.makeProfileDataFrom(0xc000c2add0?, 0xc000534240) /go/src/github.com/openshift/cluster-node-tuning-operator/cmd/performance-profile-creator/cmd/root.go:306 +0x37 github.com/openshift/cluster-node-tuning-operator/cmd/performance-profile-creator/cmd.NewRootCommand.func3(0xc0003bc900?, {0x18bd5aa?, 0x4?, 0x18bd57a?}) /go/src/github.com/openshift/cluster-node-tuning-operator/cmd/performance-profile-creator/cmd/root.go:174 +0x125 github.com/spf13/cobra.(*Command).execute(0xc00025b208, {0xc0000420c0, 0xa, 0xa}) /go/src/github.com/openshift/cluster-node-tuning-operator/vendor/github.com/spf13/cobra/command.go:985 +0xaaa github.com/spf13/cobra.(*Command).ExecuteC(0xc00025b208) /go/src/github.com/openshift/cluster-node-tuning-operator/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff github.com/spf13/cobra.(*Command).Execute(0xc0000081c0?) /go/src/github.com/openshift/cluster-node-tuning-operator/vendor/github.com/spf13/cobra/command.go:1041 +0x13 main.main() /go/src/github.com/openshift/cluster-node-tuning-operator/cmd/performance-profile-creator/main.go:27 +0x18
Actual results:
Expected results:
Additional info: