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

setup fails for minikube #662

Open
drev74 opened this issue May 10, 2024 · 1 comment
Open

setup fails for minikube #662

drev74 opened this issue May 10, 2024 · 1 comment

Comments

@drev74
Copy link

drev74 commented May 10, 2024

I'm trying to setup Piraeus cluster for Minikube, using host mounts:

minikube start --mount-string="/run/udev:/run/udev" "/run/dbus:/run/dbus" --mount

cluster.yml

apiVersion: piraeus.io/v1
kind: LinstorCluster
metadata:
  name: linstorcluster
spec: {}

Getting an error:

Normal   Scheduled    5m3s  default-scheduler  Successfully assigned piraeus-datastore/linstor-satellite.minikube-bqkdn to minikube
Warning  FailedMount  53s (x10 over 5m3s)  kubelet MountVolume.SetUp failed for volume "systemd-bus-socket" : hostPath type check failed: /run/dbus/system_bus_socket is not a socket file

Versions:
OS: Ubuntu 22.04
Minikube: v1.33.0
Kubectl: 1.30.0
Piraeus: v2.5.1

@WanzenBug
Copy link
Member

What driver do you use? Also, your command line does not do what you think it does, you likely want to do:

minikube start --mount-string="/run/udev:/run/udev" --mount-string="/run/dbus:/run/dbus" --mount

Otherwise the /run/dbus mount is not actually picked up.

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