-
Bug
-
Resolution: Unresolved
-
Critical
-
Pipelines 1.22.0
-
None
-
False
-
-
False
-
-
Description of problem:
Multi-Cluster PipelineRuns fail with CouldntGetPipeline error when utilizing PVCs.
When attempting to execute a PipelineRun on a Spoke cluster via the Hub-and-Spoke (MultiKueue) setup, the execution fails immediately if the PipelineRun references a Pipeline and a PVC created on the Hub. The Spoke cluster fails to retrieve the necessary Pipeline resources, resulting in a CouldntGetPipeline status, even though the Workload is marked as "Admitted" and "Finished" in Kueue.
Also tried creating the pvc on spoke cluster and issue is still present.
Prerequisites (if any, like setup, operators/versions):
- Install 1.22 OSP on both hub & spoke cluster with index image shared
- Setup multi cluster on hub & spoke cluster
$ oc get tektonconfig NAME VERSION READY REASON config 1.22.0 True $ kubectl get multikueuecluster NAME CONNECTED AGE worker1 True 3h42m
Steps to Reproduce
- Create pipeline which requires a pvc to be triggered
https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/ecosystem/pipelines/buildah.yaml
https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/pvc/pvc.yaml
https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/ecosystem/pipelineruns/buildah.yaml - Create the pipelines,pvc & pipelineRun yaml on hub cluster
- Wait for the pipelineRun to be finished with execution
Actual results:
PipelineRun wasn't sent to Spoke cluster for execution and facing error Error retrieving pipeline for pipelinerun default/buildah-run: error when getting Pipeline for PipelineRun buildah-run: tekton client cannot get pipeline buildah-pipeline from local cluster: pipelines.tekton.dev "buildah-pipeline" not found
$ opc pr ls NAME STARTED DURATION STATUS caches-python-pipeline-run-tksnp 12 minutes ago 0s Failed(CouldntGetPipeline) git-cli-run 15 minutes ago 0s Failed(CouldntGetPipeline) jib-maven-run 54 minutes ago 0s Failed(CouldntGetPipeline) tkn-version-run-l92j8 1 hour ago 6s Succeeded buildah-run 1 hour ago 0s Failed(CouldntGetPipeline) pipeline-test 3 hours ago 10m9s Succeeded
Expected results:
PipelineRun with pvc should be scheduled on spoke cluster and executed successfully.
Reproducibility (Always/Intermittent/Only Once):
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
$ oc get workload NAME QUEUE RESERVED IN ADMITTED FINISHED AGE pipelinerun-buildah-run-49356 pipelines-queue cluster-queue True True 3h25m pipelinerun-caches-python-pipeline-run-tksnp-cd4bc user-queue cluster-queue True True 15m pipelinerun-git-cli-run-cdd63 user-queue cluster-queue True True 18m pipelinerun-jib-maven-run-b4645 user-queue cluster-queue True True 57m pipelinerun-pipeline-test-bb806 user-queue cluster-queue True True 3h39m pipelinerun-tkn-pac-run-8ae37 pipelines-queue cluster-queue True True 98m pipelinerun-tkn-run-33193 pipelines-queue cluster-queue True True 86m pipelinerun-tkn-version-run-59p58-ca7d8 pipelines-queue cluster-queue True True 71m pipelinerun-tkn-version-run-a9de5 pipelines-queue cluster-queue True True 85m pipelinerun-tkn-version-run-l92j8-50f68 user-queue cluster-queue True True 64m pipelinerun-tkn-version-run-mwfzv-b658d pipelines-queue cluster-queue True True 71m pipelinerun-tkn-version-run-p2rrj-c1bfb pipelines-queue cluster-queue True True 73m pipelinerun-tkn-version-run-pkswh-c6d40 user-queue cluster-queue True True 64m
buildah-pr-fail.yaml![]()
attached the PR failure yaml for reference