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

[PeriodicGathering] The periodic gathering job fails to run after updating the storagePath of IO conf

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • CCXDEV Sprint 149, CCXDEV Sprint 150, CCXDEV Sprint 151, CCXDEV Sprint 152
    • 4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the Techpreview cluster, after patching the dataReporting.storagePath in the IO config(configmap), then restarting IO to trigger the periodic gathering, the relevant gathering would fail to gather, and the relevant pod would exit with Error.

       

      Step to reproduce:

      1. Patching the IO conf as below:

       

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

      2. Configuring nothing on InsightsDataGather CRD(Garuateen its spec field is {}){}

       

      3. Restarting IO to trigger periodic gathering.

      4. View the periodic gathering job and pod status.

      5. Check if the Insights archive path is changed to the storagePath.

       

      Expected Results:

      4. The periodic gathering job and pod status should be running, then completed.

      5. The Insights archive path is changed to the storagePath.

       

      Actual Results:

      4. The periodic gathering job failed to gather and the pod exited with Error.

       

      Remark:

      This is the error log from the periodic pod:

      F0826 05:39:14.111173       1 start.go:197] can't create --path: mkdir /var/lib/insights-operator: read-only file system 

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

                Created:
                Updated: