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

cannot mount pvc #219

Closed
th-2021 opened this issue Jan 18, 2023 · 2 comments
Closed

cannot mount pvc #219

th-2021 opened this issue Jan 18, 2023 · 2 comments

Comments

@th-2021
Copy link

th-2021 commented Jan 18, 2023

What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.]
Setup from README.
Used with minio.
Containers stays in ContainerCreating
kubectl get events shows:

thiller@tom-ml351:~/WORK$ kubectl -n gitlab get events
LAST SEEN   TYPE      REASON        OBJECT                    MESSAGE
3m54s       Warning   FailedMount   pod/gitlab-ml351-ss-0-0   MountVolume.SetUp failed for volume "pvc-3612c5f5-139f-4169-b577-e71e588181fb" : applyFSGroup failed for vol pvc-3612c5f5-139f-4169-b577-e71e588181fb: lstat /var/snap/microk8s/common/var/lib/kubelet/pods/6931a557-8030-4467-8470-83dcbbb692bb/volumes/kubernetes.io~csi/pvc-3612c5f5-139f-4169-b577-e71e588181fb/mount: no such file or directory

When I create the mount directory manually, the pod continues and enters Running.

What did you expect to happen:
mounting should work without intervention.

The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other Pastebin is fine.)

  • kubectl logs -f openebs-lvm-controller-0 -n kube-system -c openebs-lvm-plugin
  • kubectl logs -f openebs-lvm-node-[xxxx] -n kube-system -c openebs-lvm-plugin
  • kubectl get pods -n kube-system
  • kubectl get lvmvol -A -o yaml

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • LVM Driver version
    latest
  • Kubernetes version (use kubectl version):
    1.26.0
  • Kubernetes installer & version:
    microk8s
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
    ubuntu 22.04
@abhilashshetty04
Copy link
Contributor

abhilashshetty04 commented Sep 7, 2023

@th-2021 Are you still facing the issue? We cant find any logs in the links that you provided. If issue persists, Can you upload logs again?

@th-2021
Copy link
Author

th-2021 commented Sep 7, 2023

I solved it by starting over.

@th-2021 th-2021 closed this as completed Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants