Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1852

"Unauthorized: authentication required" error on Smoke Testing / Full Testing

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.11.0
    • None
    • Operator
    • None
    • 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4)

      When the Kogito pipeline is in the stage of running "run-smoke-tests" or "run-tests" we are hitting the following issue:

      image-registry.openshift-image-registry.svc:5000/openshift/kogito-cloud-operator: unauthorized: authentication required
      

      Even using "withDockerRegistry" or "podman login" we still got this error.

      So we basically need something like "allow anonymous docker pull". I think we can do the following test: When the namespace for example cucumber-1234 is created, we can give the following permission and see if that solves the problem. This will probably allow anonymous pull from that namespace.

      # oc policy add-role-to-group registry-viewer system:unauthenticated -n cucumber-1234
      
      

      When the namespace is removed we can remove that role as well.

            tradisso@redhat.com Tristan Radisson
            rhn-support-mmagnani Mauricio Magnani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: