High Performance Software-Defined Block Storage for container, cloud and virtualisation. Fully integrated with Docker, Kubernetes, Openstack, Proxmox etc.
Linstor creates volume, but it looks like mkfs failed because of timeout
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 18m linstor Successfully assigned default/nginx-c49998c79-lvnlx to node0
Normal SuccessfulAttachVolume 18m attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-c5dda542-a0ac-4336-882a-1724f98664b0"
Warning FailedMount 101s (x16 over 18m) kubelet MountVolume.SetUp failed for volume "pvc-c5dda542-a0ac-4336-882a-1724f98664b0" : rpc error: code = Internal desc = NodePublishVolume failed for pvc-c5dda542-a0ac-4336-882a-1724f98664b0: mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t ext4 -o _netdev /dev/drbd1020 /var/lib/kubelet/pods/59315b6d-3f90-4bad-b831-4af54963d3cb/volumes/kubernetes.io~csi/pvc-c5dda542-a0ac-4336-882a-1724f98664b0/mount
Output: mount: /var/lib/kubelet/pods/59315b6d-3f90-4bad-b831-4af54963d3cb/volumes/kubernetes.io~csi/pvc-c5dda542-a0ac-4336-882a-1724f98664b0/mount: wrong fs type, bad option, bad superblock on /dev/drbd1020, missing codepage or helper program, or other error.
Warning FailedMount 23s (x8 over 16m) kubelet Unable to attach or mount volumes: unmounted volumes=[largepvc], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition
Also, resource is stucked in InUse state in one of diskfull replicas
Just trying to create volume 100+ GB
Linstor creates volume, but it looks like mkfs failed because of timeout
Also, resource is stucked in InUse state in one of diskfull replicas
This case can be fixed by creating fs and drbdadm up/down on node with resource in InUse status
I tried to use lazy params in storageclass, but it wasn't usefull
Looks like there some timeout while volume provisioning