Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-60218

Improper namespace could affect PPC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z
    • Node Tuning Operator
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Done
    • Known Issue
    • Hide
      If a `must-gather` archive features a custom namespace directory ending with the suffix `nodes`, the Performance Profile Creator tool fails to analyze the archive. This occurs because of the tool's search logic, which incorrectly reports a multiple matches error. As a workaround, rename the custom namespace directory so that it doesn’t end with the `nodes` suffix, and run the tool again.
      Show
      If a `must-gather` archive features a custom namespace directory ending with the suffix `nodes`, the Performance Profile Creator tool fails to analyze the archive. This occurs because of the tool's search logic, which incorrectly reports a multiple matches error. As a workaround, rename the custom namespace directory so that it doesn’t end with the `nodes` suffix, and run the tool again.
    • None
    • None
    • None
    • None

      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:

          

              rhn-support-shajmakh Shereen Haj
              rhn-support-cchen Chen Chen
              None
              None
              Liquan Cui Liquan Cui
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: