This repository has been archived by the owner on May 6, 2020. It is now read-only.
[Packet] sig-storage-local-static-provisioner recently stopped working #160
Labels
bug
Something isn't working
At some point between my last known working configuration of Lokomotive (56acc13) and current master (2512344)
sig-storage-local-static-provisioner stopped working
MountVolume.NewMounter initialization failed for volume "local-pv-7f70b248" : path "/mnt/local/vol1" does not exist
ssh into the host, disk is there, disk is accessible, permissions are correct (tried 777 -R just in case)
So provisioner, block device, detection of disks, kubernetes pod security profiles, etc. Everything seems to work and thinks it should be working except that something (I'm not 100% sure which component, CSI? Kubelet?) can't access the disk in order to actually finish the mounting 'loop'
(probably relevant, the cleanup script that the provisioner runs after deleting a pvc (some variation of rm -rf path_that_was_mounted does work, although I don't know if that's executed on the host or in a container)
Go back to 56acc13, everything works again.
The only hint I can find is regarding containerized kubelets but when I checked the kubelet systemd unit file /mnt looked like it was accessable, although the kubelet running docker didnt (rkt and docker kubelet?)
Before I dive into this further, are you aware of any changes that could have caused this?
edit: how to recreate, bind mount a block device into /mnt/disks, helm install the static provisioner as per the docs and try to claim it via a deployment. Let me know if you need some example config, although it's 99% what's in the installation guide
The text was updated successfully, but these errors were encountered: