Description of problem:
$ podman run --entrypoint performance-profile-creator -v "/root/ppc/must-gather.local.3879427019288622939/":/must-gather:z registry.redhat.io/openshift4/ose-cluster-node-tuning-rhel9-operator:v4.18 info --must-gather-dir-path /must-gather level=info msg="Nodes names targeted by master pool are: " level=info msg="Multiple matches for the specified must gather directory path: /must-gather and suffix: nodes" Error: failed to parse the cluster data: failed to load node's GHW snapshot: can't obtain the node path worker2.ocp4.terryhu.cc: Multiple matches for the specified must gather directory path: /must-gather and suffix: nodes. Expected only one performance-addon-operator-must-gather* directory, please check the must-gather tarball
Version-Release number of selected component (if applicable):
4.18
How reproducible:
100%
Steps to Reproduce:
1. Collect must-gather 2. Create a namespace that has "nodes" as its suffix, such as $ mkdir /root/ppc/must-gather.local.3879427019288622939/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-a81f2df09a1b9a7ed63a20ced2182b9ba00a4b0ce49a8598d167ba900c87b12a/namespaces/three-nodes 3. Run the PPC info
Actual results:
Multiple matches for the specified must gather directory path: /must-gather and suffix: nodes. Expected only one performance-addon-operator-must-gather* directory, please check the must-gather tarball
Expected results:
The PPC should only filter the "nodes" under cluster-scoped-resources/core, not cluster-scoped-resources.
Additional info: