Skip to content
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

Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[podmetadata docker-sock mlpipeline-minio-artifact default-editor-token-8lmfr]: timed out waiting for the condition #7129

Closed
631068264 opened this issue Dec 30, 2021 · 7 comments
Assignees
Labels
kind/bug lifecycle/stale The issue / pull request is stale, any activities remove this label.

Comments

@631068264
Copy link

kubectl version

[root@iZ1bb01rvtheuakv3h25ntZ ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.5+k3s2", GitCommit:"746cf4031370f443bf1230272bc79f2f72de2869", GitTreeState:"clean", BuildDate:"2020-12-18T01:41:55Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.5+k3s2", GitCommit:"746cf4031370f443bf1230272bc79f2f72de2869", GitTreeState:"clean", BuildDate:"2020-12-18T01:41:55Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

Pipelines 1.7.0 install kubeflow 1.4.1

image
pipeline keep pending execution

Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason       Age                  From               Message
  ----     ------       ----                 ----               -------
  Normal   Scheduled    28m                  default-scheduler  Successfully assigned kubeflow-user-example-com/my-test-pipeline-beta-bzrlr-3669637779 to iz1bb01rvtheuakv3h25ntz
  Warning  FailedMount  14m (x2 over 21m)    kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[kfp-launcher default-editor-token-8lmfr podmetadata docker-sock mlpipeline-minio-artifact]: timed out waiting for the condition
  Warning  FailedMount  12m (x2 over 23m)    kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[docker-sock mlpipeline-minio-artifact kfp-launcher default-editor-token-8lmfr podmetadata]: timed out waiting for the condition
  Warning  FailedMount  10m (x2 over 19m)    kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[mlpipeline-minio-artifact kfp-launcher default-editor-token-8lmfr podmetadata docker-sock]: timed out waiting for the condition
  Warning  FailedMount  8m1s                 kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[default-editor-token-8lmfr podmetadata docker-sock mlpipeline-minio-artifact kfp-launcher]: timed out waiting for the condition
  Warning  FailedMount  5m43s (x3 over 26m)  kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[podmetadata docker-sock mlpipeline-minio-artifact kfp-launcher default-editor-token-8lmfr]: timed out waiting for the condition
  Warning  FailedMount  96s (x21 over 28m)   kubelet            MountVolume.SetUp failed for volume "mlpipeline-minio-artifact" : secret "mlpipeline-minio-artifact" not found
Events:
  Type     Reason       Age                   From               Message
  ----     ------       ----                  ----               -------
  Normal   Scheduled    53m                   default-scheduler  Successfully assigned kubeflow-user-example-com/parameterized-tfx-oss-t48jj-3672522880 to 10-19-64-204
  Warning  FailedMount  40m (x4 over 49m)     kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[docker-sock mlpipeline-minio-artifact default-editor-token-8lmfr podmetadata]: timed out waiting for the condition
  Warning  FailedMount  36m (x2 over 38m)     kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[default-editor-token-8lmfr podmetadata docker-sock mlpipeline-minio-artifact]: timed out waiting for the condition
  Warning  FailedMount  33m (x3 over 51m)     kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[mlpipeline-minio-artifact default-editor-token-8lmfr podmetadata docker-sock]: timed out waiting for the condition
  Warning  FailedMount  8m46s (x5 over 31m)   kubelet            Unable to attach or mount volumes: unmounted volumes=[mlpipeline-minio-artifact], unattached volumes=[podmetadata docker-sock mlpipeline-minio-artifact default-editor-token-8lmfr]: timed out waiting for the condition
  Warning  FailedMount  2m59s (x33 over 53m)  kubelet            MountVolume.SetUp failed for volume "mlpipeline-minio-artifact" : secret "mlpipeline-minio-artifact" not found
@631068264
Copy link
Author

finally I find that the pipeline job is in the A namespace and the mlpipeline-minio-artifact is in kubeflow namespace.I don't know why.

@zijianjoy
Copy link
Collaborator

Possibility related #4649.

What is the Kubernetes version you are running on, and what is the executor you are using? #5714

@zijianjoy zijianjoy self-assigned this Jan 7, 2022
@631068264
Copy link
Author

Kubernetes version v1.19.5+k3s2
I don't know what is the executor. Do you mean this gcr.io/ml-pipeline/kfp-launcher:1.7.1 . I find it in offical Tutorial V2 lightweight Python components

Finally I use pipeline sdk v1 and gcr.io/ml-pipeline/kfp-launcher:1.8.7 to run my pipeline task and it work well

@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Apr 17, 2022
@andrejlukic
Copy link

I am experiencing the same issue. It looks random. I can actually write to the volume but then I do a minor code change (e.g. adding one meaningless line) and suddenly the pipeline gets stuck in pending state and the kubectl describe pod reports the same error as OP noted.

@stale stale bot removed the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Jan 2, 2023
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label May 28, 2024
Copy link

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug lifecycle/stale The issue / pull request is stale, any activities remove this label.
Projects
Status: Closed
Development

No branches or pull requests

3 participants