-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kabanero Pipelinerun pod in Tekton Dashboard does not show log error of pv.yaml missing which is pre-requisite of Kabanero #560
Comments
Somehow the above Possible solutions mentioned should be utilized to surface the error message to the end user in the Tekton Dashboard instead of just infinite loading of the pod without any log message. |
This issue was created as a result of the issue : kabanero-io/kabanero-pipelines#63 |
The problem here isn't so much 'failure to apply pv.yaml' - Tekton provides no such file. The general failure is to configure https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/ or in its absence, to create a set of PersistentVolumes adequate for Tekton's PersistentVolumeClaims to pick up. One suggestion in conversation with the team raising this was to
|
@aadeshpa the need for persistent storage is covered in https://github.com/tektoncd/pipeline/blob/master/docs/install.md#configuring-tekton-pipelines. Does this meet your needs? |
@mnuttall : as discussed with @kvijai82 @tseelbach we have created a Troubleshooting guide in pipelines repository to show how to find the possible error of pv.yaml persistent volume missing in the cluster. Please find the pull request created for Troubleshooting guide in our pipelines repo kabanero-io/kabanero-pipelines#68 @kvijai82 @tseelbach : can you confirm if that would be enough. |
This make sures - image has fully qualified name eg. docker.io/abc/xyz:1.0 - image is tagged with a specific version and not latest - if images has digest it validates it and prefer digest over tag - It skips the image if there is a variables refered in image name Closes: tektoncd#560 Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
Expected Behavior
Kabanero Pipelinerun requires
pv.yaml
to be applied before pipelinerun happens.If end user has not applied this resource and if webhook triggers the pipelinerun , in Tekton dashboard user should see error message for missing
pv.yaml
resource in that cluster.Hence expected behavior is to see some error message for pv.yaml missing.
Actual Behavior
In Tekton dashboard pipelinerun shows the build task pod keeps on loading infinetly without showing any logs, because the pod itself is not started correctly due to the missing pv.yaml.
![pv-yaml-missing](https://user-images.githubusercontent.com/53223993/65630691-ea97f000-dfa3-11e9-9e2a-c36f73812f5f.jpg)
Steps to Reproduce the Problem
pv.yaml
file to the cluster2.Create a Webhook in the GitHub repository of the application
Additional Info
#Possible Solution
pv.yaml
is missing:-kubectl describe pod build-task-pod-xxx
sample output:-
kubectl get pipelineruns/pipelinerun-name -o yaml
Sample output:
The text was updated successfully, but these errors were encountered: