Can't deploy hyper-converged using the deploy/deploy.sh script
nunnatsa opened this issue · 0 comments
nunnatsa commented
/kind bug
What happened
Trying to deploy the hyper converged operator using the deploy/deploy.sh
script. The deployment failed.
The HCO logs shows:
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Go Version: go1.20.10"}
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Found namespace","Namespace":"kubevirt-hyperconverged"}
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Cluster type = kubernetes"}
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Found namespace","Namespace":"kubevirt-hyperconverged"}
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Found Pod","Pod.Namespace":"kubevirt-hyperconverged","Pod.Name":"hyperconverged-cluster-operator-647f46c448-4fsh7"}
{"level":"info","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"Found namespace","Namespace":"kubevirt-hyperconverged"}
{"level":"error","ts":"2023-12-07T14:47:21Z","logger":"hyperconverged-operator-cmd","msg":"can't initiate manager","error":"failed to determine if *v1alpha1.MTQ is namespaced: failed to get restmapping: failed to find API group \"mtq.kubevirt.io\"","stacktrace":"github.com/kubevirt/hyperconverged-cluster-operator/cmd/cmdcommon.HcCmdHelper.ExitOnError\n\t/go/src/github.com/kubevirt/hyperconverged-cluster-operator/cmd/cmdcommon/cmdcommon.go:97\nmain.main\n\t/go/src/github.com/kubevirt/hyperconverged-cluster-operator/cmd/hyperconverged-cluster-operator/main.go:121\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
What you expected to happen
Deployment is done successfully
Anything else we need to know?
The deploy/deploy.sh
script lacks the MTQ CRD.