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

jaeger collector installation permission errors when installing smcp as a non cluster admin user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • maistra-1.0.0
    • maistra-1.0.0
    • None
    • None
    • GA

      We are seeing the following error in jaeger collector pod log when installing smcp as a non cluster admin user

      aeger collector log error: {"level":"fatal","ts":1566852644.5280042,"caller":"collector/main.go:93","msg":"Failed to create span writer","error":"elastic: Error 403 (Forbidden): no permissions for [indices:admin/template/put] and User [name=CN=user.jaeger,OU=OpenShift,O=Logging, roles=[]] [type=security_exception]","stacktrace":"main.main.func1\n\t/builddir/build/BUILD/jaeger-v1.13.1.redhat3/src/github.com/jaegertracing/jaeger/cmd/collector/main.go:

      How to produce:

      • Set up OCP4.1.12 cluster on AWS
      • Create OperatorSource
      • Install all four product operators from operatorhub: Elasticsearch operator, Jaeger operator, Kiali operator, service mesh operator
      • Login as a non cluster admin user , such as qe1 , instead of kubeadmin
      • Create a smcp by using tracing.jaeger.template: production-elasticsearch

      Check jaeger-collector pod log from the smcp namespace and see the error above.

            gary@brownuk.com Gary Brown
            yuaxu@redhat.com Yuanlin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: