Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no available topology found #463

Open
zerowebcorp opened this issue Feb 18, 2024 · 1 comment
Open

no available topology found #463

zerowebcorp opened this issue Feb 18, 2024 · 1 comment

Comments

@zerowebcorp
Copy link

Getting this error with a fresh installation.

failed to provision volume with StorageClass "cstor-csi-disk": error generating accessibility requirements: no available topology found

Installation was using helm chart.

values.yaml

cstor:
  enabled: true
  csiNode:
    kubeletDir: /var/snap/microk8s/common/var/lib/kubelet
helm upgrade --install openebs --namespace openebs openebs/openebs \
--version 3.10.0 -f openebs.yaml

diskpool.yaml

apiVersion: cstor.openebs.io/v1
kind: CStorPoolCluster
metadata:
 name: cstor-disk-pool
 namespace: openebs
spec:
 pools:
   - nodeSelector:
       kubernetes.io/hostname: "ueazrcephnp01"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-92d13577847843b0fc3c732eb2d6f5a3"
     poolConfig:
       dataRaidGroupType: "stripe"

   - nodeSelector:
       kubernetes.io/hostname: "ueazrcephnp02"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-d42fff9a7ba34f4ace7ebf7ec056aa0d"
     poolConfig:
       dataRaidGroupType: "stripe"

   - nodeSelector:
       kubernetes.io/hostname: "ewazrcephnp01"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-317d380d3988ad6a14511a3412f0541b"
     poolConfig:
       dataRaidGroupType: "stripe"
   - nodeSelector:
       kubernetes.io/hostname: "ewazrcephnp02"
     dataRaidGroups:
       - blockDevices:
           - blockDeviceName: "blockdevice-93a9a8488451b5b8eac95c86102a1d64"
     poolConfig:
       dataRaidGroupType: "stripe"

storageclass.yaml

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: cstor-csi-disk
provisioner: cstor.csi.openebs.io
allowVolumeExpansion: true
parameters:
  cas-type: cstor
  # cstorPoolCluster should have the name of the CSPC
  cstorPoolCluster: cstor-disk-pool
  # replicaCount should be <= no. of CSPI created in the selected CSPC
  replicaCount: "3"

Upon creating a PVC, this is the error it throws

image

image

image

Any clue on what could be the issue?

@tidux
Copy link

tidux commented Mar 11, 2024

I'm seeing the same error. Underlying cluster is K0s on ARM64 (Fedora 39).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants