Describe the bug: The SupportsBlock() function should return a 'false' as the support for block volumes was dropped with the removal of the 'device' mode provisioner.
|
func (p *Provisioner) SupportsBlock(_ context.Context) bool { |
|
return true |
|
} |
This provisioner runs mkdir and other similar commands against filesystems. It definitely does not support block volumes.
Environment details:
- OpenEBS version (use
kubectl get po -n openebs --show-labels): 4.3.3
- Kubernetes version (use
kubectl version):
- Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): Ubuntu 22.04.4 LTS
- kernel (e.g:
uname -a): 5.15.0-140-generic
- others:
Describe the bug: The SupportsBlock() function should return a 'false' as the support for block volumes was dropped with the removal of the 'device' mode provisioner.
dynamic-localpv-provisioner/cmd/provisioner-localpv/app/provisioner.go
Lines 75 to 77 in ed84837
This provisioner runs mkdir and other similar commands against filesystems. It definitely does not support block volumes.
Environment details:
kubectl get po -n openebs --show-labels): 4.3.3kubectl version):cat /etc/os-release): Ubuntu 22.04.4 LTSuname -a): 5.15.0-140-generic