Skip to content

no available topology found #463

@zerowebcorp

Description

@zerowebcorp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions