-
Notifications
You must be signed in to change notification settings - Fork 98
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
Error about no available topolog found on openshift. #344
Comments
sh-5.1# pvdisplay |
The issue is we need: oc adm policy add-scc-to-user hostmount-anyuid -z openebs-lvm-node-sa -n openebs or
|
From the log snippet it appears provision request hasn't even come to lvm provisioner. Could you share the storage class definition please? |
See the solution I provided. helm chart need to incorporate that. |
What steps did you take and what happened:
installed the latest helm chart, manually created the VG.
failed to provision volume with StorageClass "openebs-lvmpv": error generating accessibility requirements: no available topology found
What did you expect to happen:
provision succeeds
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other Pastebin is fine.)
kubectl logs -f openebs-lvm-localpv-controller-7b6d6b4665-fk78q -n openebs -c openebs-lvm-plugin
kubectl logs -f openebs-lvm-localpv-node-[xxxx] -n openebs -c openebs-lvm-plugin
kubectl get pods -n openebs
kubectl get lvmvol -A -o yaml
kubectl get lvmvol -A -o yaml
apiVersion: v1
items: []
kind: List
metadata:
resourceVersion: ""
Environment:
kubectl version
):Client Version: v1.30.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.4
/etc/os-release
): redhat core-osThe text was updated successfully, but these errors were encountered: