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

glusterfs pod does not start for storage-provisioner-gluster addon #18791

Open
koh-osug opened this issue May 2, 2024 · 3 comments
Open

glusterfs pod does not start for storage-provisioner-gluster addon #18791

koh-osug opened this issue May 2, 2024 · 3 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@koh-osug
Copy link

koh-osug commented May 2, 2024

What Happened?

The pod "gluster" does not starts and complains about "Failed to get D-Bus connection: Operation not permitted"

Attach the log file

NAME READY STATUS RESTARTS AGE
glusterfile-provisioner-549b4d8768-5r6sl 1/1 Running 0 8m1s
glusterfs-mmwxz 0/1 Running 0 8m1s
heketi-5fb66969ff-kwjsx 1/1 Running 0 8m1s

Warning Unhealthy 5m52s (x26 over 13m) kubelet Readiness probe failed: Failed to get D-Bus connection: Operation not permitted
Warning Unhealthy 51s (x32 over 13m) kubelet Liveness probe failed: Failed to get D-Bus connection: Operation not permitted

Operating System

Ubuntu

Driver

Docker

@tchia04
Copy link

tchia04 commented Jun 24, 2024

Got the same error when I tried to enable the storage-provisioner-gluster in minikube with "minikube addons enable storage-provisioner-gluster"

output from "kubectl -n storage-gluster describe pod glusterfs-tj96"


                             node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
  Type     Reason     Age                From               Message
  ----     ------     ----               ----               -------
  Normal   Scheduled  2m14s              default-scheduler  Successfully assigned storage-gluster/glusterfs-tj962 to minikube
  Normal   Pulling    2m14s              kubelet            Pulling image "docker.io/gluster/gluster-centos:latest@sha256:8167034b9abf2d16581f3f4571507ce7d716fb58b927d7627ef72264f802e908"
  Normal   Pulled     91s                kubelet            Successfully pulled image "docker.io/gluster/gluster-centos:latest@sha256:8167034b9abf2d16581f3f4571507ce7d716fb58b927d7627ef72264f802e908" in 43.169s (43.169s including waiting). Image size: 392303616 bytes.
  Normal   Created    90s                kubelet            Created container glusterfs
  Normal   Started    90s                kubelet            Started container glusterfs
  Warning  Unhealthy  21s (x2 over 46s)  kubelet            Liveness probe failed: Failed to get D-Bus connection: Operation not permitted
  Warning  Unhealthy  20s (x3 over 44s)  kubelet            Readiness probe failed: Failed to get D-Bus connection: Operation not p

@dalcorta
Copy link

dalcorta commented Aug 17, 2024

Same thing heppens to me, I only know by the error that the container doesnt have previledge to connect to Dbus. Since docker doen't allow previledge containers by default I think that is where the error is.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants