Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-347

Isito new operator fails to set up promethus pod on OCP4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • maistra-0.10.0
    • maistra-0.10.0
    • installer
    • None
    • Maistra TP sprint 10

      Isito new operator fails to set up promethus pod on OCP4

      We are getting prometheus pod error:
      level=error ts=2019-03-26T19:15:16.535109497Z caller=main.go:597 err="Opening storage failed mkdir data/: permission denied"

      Build: istio maistra-0.9.0
      image: docker.io/prom/prometheus:v2.3.1
      Environment: OCP 4 AWS
      Test steps:

      Install ocp 4 AWS cluster
      Install registry-puller pod
      Install new maistra istio-operator
      Apply the following CR ( See attachment)

      Results:
      prometheus-bc8754577-zcjpf 0/1 CrashLoopBackOff 17
      Log:
      level=error ts=2019-03-26T19:15:16.535109497Z caller=main.go:597 err="Opening storage failed mkdir data/: permission denied"

      community OCP 3.11 working pod: http://pastebin.test.redhat.com/744715
      product OCP4 failed pod: http://pastebin.test.redhat.com/744714

      It looks like the prometheus service account did not get added to anyuid scc.

              rcernich1 Rob Cernich
              yuaxu@redhat.com Yuanlin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: