admission webhook "admission-webhook.cstor.openebs.io" denied the request: invalid cspc specification: invalid pool spec: block device has file system {vfat} #3581
-
Hi team, when create CStorPoolCluster I got this error, what should I do please:
This is my yaml file: # https://openebs.io/docs/user-guides/cstor
apiVersion: cstor.openebs.io/v1
kind: CStorPoolCluster
metadata:
name: cstor-disk-pool
namespace: openebs
spec:
pools:
- nodeSelector:
kubernetes.io/hostname: "kworker01"
dataRaidGroups:
- blockDevices:
- blockDeviceName: "blockdevice-65f8b3212fd52fbcc07e91357513cee7"
poolConfig:
dataRaidGroupType: "stripe"
- nodeSelector:
kubernetes.io/hostname: "kworker02"
dataRaidGroups:
- blockDevices:
- blockDeviceName: "blockdevice-2272b1f0f44ec38bc442fef85b44654"
poolConfig:
dataRaidGroupType: "stripe"
# - nodeSelector:
# kubernetes.io/hostname: "kworker02"
# dataRaidGroups:
# - blockDevices:
# - blockDeviceName: "blockdevice-68fe3e5ca57fbd2727ebc7aeafaade69"
# poolConfig:
# dataRaidGroupType: "stripe"
|
Beta Was this translation helpful? Give feedback.
Answered by
minhhungit
Oct 13, 2022
Replies: 1 comment
-
can fix by re-format disk with these command bellow:
Refer to https://elatov.github.io/2021/12/using-cstor-from-openebs/ Also tried to follow this tutorial: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
minhhungit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can fix by re-format disk with these command bellow:
Refer to https://elatov.github.io/2021/12/using-cstor-from-openebs/
Also tried to follow this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux