Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-5733

Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:3scale-mg:3scale-operator" cannot list resource "jobs" in API group "batch"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9 GA
    • None
    • 3scale Operator
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      When doing backup with APIManagerBackup operator I see this errors in operator pod log:

      E0730 09:11:16.035205 1 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191016111102-bec269661e48/tools/cache/reflector.go:96: Failed to list *v1.Job: jobs.batch is forbidden: User "system:serviceaccount:3scale-mg:3scale-operator" cannot list resource "jobs" in API group "batch" in the namespace "3scale-mg"

       

      Workaround:

      rule to grant appropriate permissions in 3scale-operator role fixes the problem, the backup completes.

              Unassigned Unassigned
              mganisin@redhat.com Marian Ganisin (Inactive)
              Marian Ganisin Marian Ganisin (Inactive)
              Miguel Soriano Miguel Soriano
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: