Hi, I am trying to bring up a onap cluster with Dublin and I followed the guide in the below link to set up the kubernetes cluster using RKE v0.2.1
https://docs.onap.org/en/dublin/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html Please find the details of the cluster below. Docker version --------------- ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ docker version Client: Version: 18.09.6 API version: 1.39 Go version: go1.10.8 Git commit: 481bc77 Built: Sat May 4 02:35:57 2019 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 18.09.5 API version: 1.39 (minimum version 1.12) Go version: go1.10.8 Git commit: e8ff056 Built: Thu Apr 11 04:10:53 2019 OS/Arch: linux/amd64 Experimental: false kubectl version ----------------- ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ kubectl version Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:26:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:19:22Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} helm version ------------- ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ helm version Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"} Nodes ------ ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME onap-k8s-vm-1 Ready worker 21h v1.13.5 10.3.3.10 <none> Ubuntu 18.04.2 LTS 4.15.0-50-generic docker://18.9.5 onap-k8s-vm-2 Ready worker 21h v1.13.5 10.3.3.7 <none> Ubuntu 18.04.2 LTS 4.15.0-50-generic docker://18.9.5 onap-rancher-vm-1804 Ready controlplane,etcd 21h v1.13.5 10.3.3.13 <none> Ubuntu 18.04.2 LTS 4.15.0-50-generic docker://18.9.5 ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ Pods ---- ubuntu@onap-rancher-vm-1804:/$ kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE ingress-nginx default-http-backend-6d776d78bb-w75qd 1/1 Running 0 55m ingress-nginx nginx-ingress-controller-5nqtn 1/1 Running 0 55m ingress-nginx nginx-ingress-controller-vq6qc 1/1 Running 0 55m kube-system canal-flxdc 2/2 Running 0 56m kube-system canal-pdwj4 2/2 Running 0 56m kube-system canal-wcqxv 2/2 Running 0 56m kube-system kube-dns-79b8865d4-l6zgx 3/3 Running 0 56m kube-system kube-dns-autoscaler-659b4c5d7-nspwt 1/1 Running 0 56m kube-system metrics-server-77fb8b9666-4v7s6 1/1 Running 0 56m kube-system rke-ingress-controller-deploy-job-dv8fr 0/1 Completed 0 56m kube-system rke-kube-dns-addon-deploy-job-8jsw8 0/1 Completed 0 56m kube-system rke-metrics-addon-deploy-job-qdq8v 0/1 Completed 0 56m kube-system rke-network-plugin-deploy-job-kh6qr 0/1 Completed 0 56m kube-system tiller-deploy-dbb85cb99-252bx 1/1 Running 0 32m Please note that the rke jobs under kubectl pods shows 0/1 completed whereas the same jobs under kubectl jobs shows 1/1 completed. I'm not sure if this is an issue. It would be great if somebody can help me understand what's going on. Jobs ---- ubuntu@onap-rancher-vm-1804:~$ kubectl get job --all-namespaces NAMESPACE NAME COMPLETIONS DURATION AGE kube-system rke-ingress-controller-deploy-job 1/1 8s 19h kube-system rke-kube-dns-addon-deploy-job 1/1 6s 19h kube-system rke-metrics-addon-deploy-job 1/1 7s 19h kube-system rke-network-plugin-deploy-job 1/1 7s 19h ubuntu@onap-rancher-vm-1804:~$ Clone ------ I did a git clone on tag 3.0.2-ONAP as the tag 4.0.0-ONAP isn't available in gerrit. git clone -b 3.0.2-ONAP http://gerrit.onap.org/r/oom --recurse-submodules I updated the oom/kubenetes/onap/values.yaml and did the below steps ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ helm serve & [1] 30930 ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ Regenerating index. This may take a moment. Now serving you on 127.0.0.1:8879 ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ helm repo add local http://127.0.0.1:8879 "local" has been added to your repositories ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ helm repo list NAME URL stable https://kubernetes-charts.storage.googleapis.com local http://127.0.0.1:8879 ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ make all ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ make onap I see that the APP VERSION for 3.0.2-ONAP is Casablanca. If I need Dublin, which branch/tag should I be using ? ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ helm search onap -l NAME CHART VERSION APP VERSION DESCRIPTION local/onap 3.0.0 Casablanca Open Network Automation Platform (ONAP) local/aaf 3.0.0 ONAP Application Authorization Framework local/aai 3.0.0 ONAP Active and Available Inventory local/cassandra 3.0.0 ONAP cassandra local/clamp 3.0.0 ONAP Clamp local/cli 3.0.0 ONAP Command Line Interface local/consul 3.0.0 ONAP Consul Agent local/contrib 3.0.0 ONAP optional tools local/dcaegen2 3.0.0 ONAP DCAE Gen2 local/dmaap 3.0.0 ONAP DMaaP components local/esr 3.0.0 ONAP External System Register local/log 3.0.0 ONAP Logging ElasticStack local/msb 3.0.0 ONAP MicroServices Bus local/multicloud 3.0.0 ONAP multicloud broker local/nbi 3.0.0 ONAP Northbound Interface local/oof 3.0.0 ONAP Optimization Framework local/pnda 3.0.0 ONAP DCAE PNDA local/policy 3.0.0 ONAP Policy Administration Point local/pomba 3.0.0 ONAP Post Orchestration Model Based Audit local/portal 3.0.0 ONAP Web Portal local/postgres 3.0.0 ONAP Postgres Server local/robot 3.0.0 A helm Chart for kubernetes-ONAP Robot local/sdnc-prom 3.0.0 ONAP SDNC Policy Driven Ownership Management local/sniro-emulator 3.0.0 ONAP Mock Sniro Emulator local/so 3.0.0 ONAP Service Orchestrator local/uui 3.0.0 ONAP uui local/vfc 3.0.0 ONAP Virtual Function Controller (VF-C) local/vid 3.0.0 ONAP Virtual Infrastructure Deployment local/vnfsdk 3.0.0 ONAP VNF SDK local/vvp 3.0.0 ONAP VNF Validation Platform When I try to do helm deploy, it throws below error, can somebody please help me with it. ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ sudo helm deploy dev local/onap --namespace onap --timeout 900 fetching local/onap Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused release "dev" deployed Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp 127.0.0.1:8080: connect: connection refused helm list --------- ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ helm list ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ Any pointer is much appreciated. Thanks, Thiriloshini -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17330): https://lists.onap.org/g/onap-discuss/message/17330 Mute This Topic: https://lists.onap.org/mt/31838116/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
