Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-2399

S2I clustertasks are not working on 4.10 cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Blocker
    • Pipelines 1.8.0
    • Pipelines 1.8.0
    • Operator
    • None
    • False
    • None
    • False

    Description

      S2I clustertasks are not working on 4.10 cluster. The taskruns are failing with below error 

      failed to create task run pod "nodejs-ex-git-32g3wh-build": pods "nodejs-ex-git-32g3wh-build-pod" is forbidden: unable to validate against any security context constraint: [provider "anyuid": Forbidden: not usable by user or serviceaccount, provider "pipelines-scc": Forbidden: not usable by user or serviceaccount, spec.containers[1].securityContext.capabilities.add: Invalid value: "SETFCAP": capability may not be added, provider "hostmount-anyuid": Forbidden: not usable by user or serviceaccount, provider "machine-api-termination-handler": Forbidden: not usable by user or serviceaccount, provider "hostnetwork": Forbidden: not usable by user or serviceaccount, provider "hostaccess": Forbidden: not usable by user or serviceaccount, provider "node-exporter": Forbidden: not usable by user or serviceaccount, provider "privileged": Forbidden: not usable by user or serviceaccount]. Maybe missing or invalid Task test-project-2/s2i-nodejs 

      Steps to reproduce:

      Follow the steps given in https://github.com/openshift-pipelines/release-tests/blob/master/specs/clustertasks/clustertask.spec#L8 

      Expected Behaviour:

      The pipelinerun should run successfully

      Actual Behaviour:

      The pipelinerun is failing with error

      Attachments

        Activity

          People

            piyushgarg001 Piyush Garg
            varadhya Veeresh Aradhya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: