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

The insights archive path doesn't respect the path that is set via storagePath

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • To be refined items
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          After we set storagePath in the IO conf, the insights archive was not stored in the stated path.

      Version-Release number of selected component (if applicable):

          

      How reproducible:

      Set the storagePath to a different path than /var/lib/insights-operator, then trigger IO gathering and check the storage path of the Insights archive.

      Steps to Reproduce:

      1. ** Set the `insights-config` configmap as below:

      apiVersion: v1
      data:
        config.yaml: |
          dataReporting:
            storagePath: /test
      kind: ConfigMap
      metadata:
        name: insights-config
        namespace: openshift-insights

      2. Trigger the IO gathering.
      3. Check the storage path of the insights archive.

      Actual results:

          3. The insights archive is still stored in the default path instead of the stated path.

      Expected results:

          3. The insights archive should be stored in the stated path that sis set in the IO conf.

      Additional info:

          

              rh-ee-ijimeno Isaac Jimeno
              rh-ee-bazhou Baiyang Zhou
              None
              None
              Baiyang Zhou Baiyang Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: