openebs-archive / cstor-operators

Collection of OpenEBS cStor Data Engine Operators
https://openebs.io
Apache License 2.0
94 stars 69 forks source link

v1.28.3+rke2r2 Admission webhook "rke2-snapshot-validation-webhook.csi.kubernetes.io" denied the request #456

Open grubjack opened 9 months ago

grubjack commented 9 months ago

RKE2: v1.28.3+rke2r2

`helm install openebs --namespace openebs openebs/openebs --set cstor.enabled=true --create-namespace --debug install.go:214: [debug] Original chart version: "" install.go:231: [debug] CHART PATH: /home/user/.cache/helm/repository/openebs-3.9.0.tgz

client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 1 resource(s) install.go:168: [debug] CRD volumesnapshots.snapshot.storage.k8s.io is already present. Skipping. client.go:142: [debug] creating 1 resource(s) install.go:168: [debug] CRD volumesnapshotclasses.snapshot.storage.k8s.io is already present. Skipping. client.go:142: [debug] creating 1 resource(s) install.go:168: [debug] CRD volumesnapshotcontents.snapshot.storage.k8s.io is already present. Skipping. wait.go:48: [debug] beginning wait for 14 resources with timeout of 1m0s install.go:205: [debug] Clearing REST mapper cache W1128 18:26:42.294784 669814 warnings.go:70] snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass client.go:142: [debug] creating 1 resource(s) client.go:142: [debug] creating 37 resource(s) W1128 18:26:42.597663 669814 warnings.go:70] snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass Error: INSTALLATION FAILED: 1 error occurred:

helm.go:84: [debug] 1 error occurred:

INSTALLATION FAILED main.newInstallCmd.func2 helm.sh/helm/v3/cmd/helm/install.go:154 github.com/spf13/cobra.(Command).execute github.com/spf13/cobra@v1.7.0/command.go:940 github.com/spf13/cobra.(Command).ExecuteC github.com/spf13/cobra@v1.7.0/command.go:1068 github.com/spf13/cobra.(*Command).Execute github.com/spf13/cobra@v1.7.0/command.go:992 main.main helm.sh/helm/v3/cmd/helm/helm.go:83 runtime.main runtime/proc.go:250 runtime.goexit runtime/asm_amd64.s:1598`

ekarak commented 8 months ago

Potential fix in https://github.com/openebs/cstor-operators/pull/458 - I had the exact same issue on v.1.26.2+rke2r1

michaeleino commented 5 months ago

have the same on v1.27.10+rke2r1 & v1.27.11+rke2r1 when it is expected to be merged ?