You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deviation from expected behavior:
Container data directory is still set to /var/lib/rook after setting the dataDirHostPath in ceph/cluster.yaml to /data/rook
Expected behavior:
For the container processes mon-data and osd-data to use /data/rook as specified in ceph/cluster.yaml
How to reproduce it (minimal and precise):
Edit rook/cluster/examples/kubernetes/ceph/cluster.yaml dataDirHostPath to something like /data/rook. This is due to issue Can't work on minikube #1192.
@Thingee from this output, it looks like the mons and OSD are using /data/rook like you asked?
$ ls /data/rook
mon-a mon-b mon-c osd0 rook-ceph
Note that ceph containers get the dataDirHostPath bind mounted to /var/lib/rook inside the container always, so from the perspective of the container's process mount namespace, it will be using /var/lib/rook always. But that should be bind mounted to /data/rook on the host machine, resulting in the directories we see from the ls output above.
Is this a bug report or feature request?
Deviation from expected behavior:
Container data directory is still set to /var/lib/rook after setting the dataDirHostPath in ceph/cluster.yaml to /data/rook
Expected behavior:
For the container processes mon-data and osd-data to use /data/rook as specified in ceph/cluster.yaml
How to reproduce it (minimal and precise):
minikube ssh
Environment:
uname -a
): 4.19.6-300.fc29.x86_64rook version
inside of a Rook Pod): 0.9kubectl version
): 1.10.0ceph health
in the Rook Ceph toolbox):The text was updated successfully, but these errors were encountered: