pipeline: admission plugin \"MutatingAdmissionWebhook\" failed to complete mutation in 13s
Expected Behavior
Creating a task through TKN or OpenShift should be completed without errors
Actual Behavior
kubectl apply -f task.yml -v=9 ( Sample task )
Output:
"message": "error when applying patch:\n{\"metadata\":{\"annotations\":{\"kubectl.kubernetes.io/last-applied-configuration\":\"{\\\"apiVersion\\\":\\\"tekton.dev/v1beta1\\\",\\\"kind\\\":\\\"Task\\\",\\\"metadata\\\":{\\\"annotations\\\":{},\\\"name\\\":\\\"example-task\\\",\\\"namespace\\\":\\\"openshift-pipelines\\\"},\\\"spec\\\":{\\\"params\\\":[{\\\"name\\\":\\\"appName\\\",\\\"type\\\":\\\"string\\\"}],\\\"steps\\\":[{\\\"command\\\":[\\\"/bin/bash\\\",\\\"-c\\\",\\\"echo\\\",\\\"$(inputs.params.appName)\\\"],\\\"image\\\":\\\"registry.redhat.io/ubi7/ubi-minimal\\\"}]}}\\n\"}},\"spec\":{\"steps\":[{\"command\":[\"/bin/bash\",\"-c\",\"echo\",\"$(inputs.params.appName)\"],\"image\":\"registry.redhat.io/ubi7/ubi-minimal\"}]}}\nto:\nResource: \"tekton.dev/v1beta1, Resource=tasks\", GroupVersionKind: \"tekton.dev/v1beta1, Kind=Task\"\nName: \"example-task\", Namespace: \"openshift-pipelines\"\nObject: \u0026{map[\"apiVersion\":\"tekton.dev/v1beta1\" \"kind\":\"Task\" \"metadata\":map[\"creationTimestamp\":\"2020-09-02T18:48:50Z\" \"generation\":'\\x01' \"name\":\"example-task\" \"namespace\":\"openshift-pipelines\" \"resourceVersion\":\"49871974\" \"selfLink\":\"/apis/tekton.dev/v1beta1/namespaces/openshift-pipelines/tasks/example-task\" \"uid\":\"83a37d88-56fb-4040-ac9a-324c6c097bac\"] \"spec\":map[\"params\":[map[\"name\":\"appName\" \"type\":\"string\"]] \"steps\":[map[\"command\":[\"/bin/bash\" \"-c\" \"echo\" \"$(inputs.params.appName)\"] \"image\":\"registry.redhat.io/ubi7/ubi-minimal\" \"name\":\"\" \"resources\":map[]]]]]}\nfor: \"task.yml\": Internal error occurred: admission plugin \"MutatingAdmissionWebhook\" failed to complete mutation in 13s",
"reason": "InternalError",
"details": {
"causes": [
{
"message": "admission plugin \"MutatingAdmissionWebhook\" failed to complete mutation in 13s"
}
]
},
"code": 500
}]
Steps to Reproduce the Problem
- kubectl apply -f task.yml -v=9 ( Sample task )
- creating a task in openshift
Additional Info
-
Kubernetes version:
Output of
kubectl version:
Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.1+9d33dd3", GitCommit:"9d33dd3", GitTreeState:"clean", BuildDate:"2020-06-21T18:17:38Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
-
Tekton Pipeline version:
Output of
tkn versionorkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
Client version: 0.9.0
Pipeline version: v0.11.3
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 25 (4 by maintainers)
@grebit quick update: it seems like this might be something specific to how tekton is installed and working in the openshift context so i think this will have to be left in the hands of folks with more openshift experience, e.g. @chmouel