Voltha 2.12 Installation error

23 views
Skip to first unread message

Stephen Israel

unread,
May 7, 2024, 7:09:47 PMMay 7
to VOLTHA Discuss
I am trying to install Voltha 2.12.0 in an Ubuntu 20.04 server and I get the following error.
++++++

helm upgrade --install --create-namespace -n infra --version 2.12.0 voltha-infra onf/voltha-infra
Release "voltha-infra" does not exist. Installing it now.
Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "voltha-infra-atomix-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

I have Kubernetes version 1.29 installed in the Ubuntu server and PodDisruptionBudget is available policy/v1 and not under policy/v1beta1 in this Kubernetes version. 

Is there a version of Voltha that is compatible with the Kubernetes version 1.29? 

Thanks for your help in advance.

Stephen Israel

Gowtham Boopathi

unread,
May 8, 2024, 1:16:01 AMMay 8
to Stephen Israel, VOLTHA Discuss
Hi Stephen,

Not sure about the VOLTHA version which is compatible with Kubernetes version 1.29.

Downgrading kubernetes version to 1.25 and below, will fix the issue.

Regards,
Gowtham Boopathi


--
You received this message because you are subscribed to the Google Groups "VOLTHA Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voltha-discus...@opencord.org.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/voltha-discuss/83348e61-91d6-44d6-89dd-4938c04a3d7en%40opencord.org.

Disclaimer: © 2024 VVDN Technologies Pvt. Ltd. This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful.


Stephen Israel

unread,
May 8, 2024, 7:34:15 PMMay 8
to VOLTHA Discuss, gowtham....@vvdntech.in, VOLTHA Discuss
Hi Gauthan

Thanks for your suggestion. 

I have downgraded Kubernetes to v1.25 in my server. But I still get the same error. See below the error response and the installed Kubernetes version.

Could you please let me know which Voltha version I should install with Kubernetes version v1.25? I am trying to install version 2-12.0. I see from the VOLTHA docs page, VOLTHA version 2.12.42 is the latest version. Where do I get the helm charts for this version? 

Regards
Stephen Israel
++++++
devops@kubernetes-master:~/kubernetes$ helm upgrade --install --create-namespace -n infra --version 2.12.0 voltha-infra onf/voltha-infra

Release "voltha-infra" does not exist. Installing it now.
Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "voltha-infra-atomix-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

devops@kubernetes-master:~/kubernetes$ kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.16", GitCommit:"c5f43560a4f98f2af3743a59299fb79f07924373", GitTreeState:"clean", BuildDate:"2023-11-15T22:36:51Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}

devops@kubernetes-master:~/kubernetes$ kubectl api-resources | sed -e '1p' -e '/poddisruptionbudgets/!d'
NAME                              SHORTNAMES   APIVERSION                             NAMESPACED   KIND
poddisruptionbudgets              pdb          policy/v1                              true         PodDisruptionBudget

Stephen Israel

unread,
May 8, 2024, 8:18:11 PMMay 8
to VOLTHA Discuss, Stephen Israel, gowtham....@vvdntech.in, VOLTHA Discuss
Hi Gautham

I modified the voltha-infra-2.12.0 helm charts to use policy/v1 instead of policy/v1beta1 and with the modified helm charts I was able to install voltha-infra pods successfully (See running status of the voltha-infra pods below). I would appreciate if you could point me to the official release of voltha-infra helm charts that I can use to avoid any future compatibility issues with the installed Kubernetes version.

Thanks for your help.
Regards
Stephen israel

devops@kubernetes-master:~/voltha-infra$ kubectl get pods -n infra
NAME                                                            READY   STATUS    RESTARTS   AGE
bbsim-sadis-server-b4c77cf84-jvf7s                              1/1     Running   0          9m8s
voltha-infra-etcd-0                                             1/1     Running   0          9m8s
voltha-infra-freeradius-86d75fbbc4-tvmvl                        1/1     Running   0          9m8s
voltha-infra-kafka-0                                            1/1     Running   0          9m8s
voltha-infra-onos-classic-0                                     1/1     Running   0          9m8s
voltha-infra-onos-classic-onos-config-loader-558cb9797c-9wl65   1/1     Running   0          9m8s
voltha-infra-zookeeper-0                                        1/1     Running   0          9m8s
Reply all
Reply to author
Forward
0 new messages