Hi Rohit, I already tested with different iso from cloudstack from CKS repos, It is ok with ACS 4.16 with community iso 1.23.3 but it fails from 1.24.0 and following others versions
I tried to do an upgrade from 1.23.3 with 1.24.0, it fails, I tried to bootstrap a k8s cluster with 1.24.0, also with 1.25 or 1.27.3 and 1.28.4 Last try, i tested k8s community iso 1.25.0 in CS UI it saying "Create Kubernetes Cluster k8s-cks-cl16 in progress" and it fails If i try to ssh on control node with VR_Pub_IP port 2222 i have nothing in execution If i try manual install : core@k8s-cks-cl16-control-18eccd0c12c:~$ sudo /opt/bin/setup-kube-system mount: /mnt/k8sdisk: /dev/sr0 already mounted on /mnt/k8sdisk. Installing binaries from /mnt/k8sdisk/ 5b1fa8e3e100: Loading layer [==================================================>] 803.8kB/803.8kB 39c831b1aa26: Loading layer [==================================================>] 26.25MB/26.25MB Loaded image: apache/cloudstack-kubernetes-autoscaler:latest 417cb9b79ade: Loading layer [==================================================>] 657.7kB/657.7kB 8d323b160d65: Loading layer [==================================================>] 24.95MB/24.95MB Loaded image: apache/cloudstack-kubernetes-provider:v1.0.0 256bc5c338a6: Loading layer [==================================================>] 122.2kB/122.2kB df1818f16337: Loading layer [==================================================>] 14.71MB/14.71MB Loaded image: registry.k8s.io/coredns/coredns:v1.9.3 bd8a70623766: Loading layer [==================================================>] 75.78MB/75.78MB c88361932af5: Loading layer [==================================================>] 508B/508B Loaded image: kubernetesui/dashboard:v2.7.0 0b031aac6569: Loading layer [==================================================>] 804kB/804kB cc0597072b83: Loading layer [==================================================>] 1.076MB/1.076MB 5a8045f731fc: Loading layer [==================================================>] 90.58MB/90.58MB f5a5ef1a005f: Loading layer [==================================================>] 1.188MB/1.188MB 5cf3bfe5417d: Loading layer [==================================================>] 8.506MB/8.506MB Loaded image: registry.k8s.io/etcd:3.5.4-0 8d7366c22fd8: Loading layer [==================================================>] 804.1kB/804.1kB 7d5f5bba7c45: Loading layer [==================================================>] 694.9kB/694.9kB 8154c9483a6c: Loading layer [==================================================>] 32.72MB/32.72MB Loaded image: registry.k8s.io/kube-apiserver:v1.25.0 c5f1a47b47bc: Loading layer [==================================================>] 29.76MB/29.76MB Loaded image: registry.k8s.io/kube-controller-manager:v1.25.0 e4d19dd12df2: Loading layer [==================================================>] 7.631MB/7.631MB ba3637ccd78a: Loading layer [==================================================>] 12.63MB/12.63MB Loaded image: registry.k8s.io/kube-proxy:v1.25.0 026969d859f7: Loading layer [==================================================>] 14.29MB/14.29MB Loaded image: registry.k8s.io/kube-scheduler:v1.25.0 d01384fea991: Loading layer [==================================================>] 19.74MB/19.74MB bcec7eb9e567: Loading layer [==================================================>] 530B/530B Loaded image: kubernetesui/metrics-scraper:v1.0.8 961e93cda9dd: Loading layer [==================================================>] 307kB/307kB Loaded image: registry.k8s.io/pause:3.8 1b3ee35aacca: Loading layer [==================================================>] 2.796MB/2.796MB 17d89e2a5199: Loading layer [==================================================>] 7.425MB/7.425MB 148b94859892: Loading layer [==================================================>] 8.1MB/8.1MB dbea472c1ced: Loading layer [==================================================>] 4.376MB/4.376MB e81f1a367c17: Loading layer [==================================================>] 131B/131B 351848f6b295: Loading layer [==================================================>] 8.216MB/8.216MB Loaded image: weaveworks/weave-kube:latest b20f7ff12b24: Loading layer [==================================================>] 727.9kB/727.9kB 1d49e386162e: Loading layer [==================================================>] 9.281MB/9.281MB 20145eeac146: Loading layer [==================================================>] 297B/297B d4cc72748587: Loading layer [==================================================>] 600B/600B Loaded image: weaveworks/weave-npc:latest net.bridge.bridge-nf-call-iptables = 1 [init] Using Kubernetes version: v1.25.0 [preflight] Running pre-flight checks [WARNING SystemVerification]: missing optional cgroups: blkio error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: E0411 11:38:11.935458 12988 remote_runtime.go:948] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" time="2024-04-11T11:38:11Z" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" , error: exit status 1 [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` To see the stack trace of this error execute with --v=5 or higher [init] Using Kubernetes version: v1.25.0 [preflight] Running pre-flight checks [WARNING SystemVerification]: missing optional cgroups: blkio error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: E0411 11:38:12.079422 13015 remote_runtime.go:948] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" time="2024-04-11T11:38:12Z" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" , error: exit status 1 [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` To see the stack trace of this error execute with --v=5 or higher [init] Using Kubernetes version: v1.25.0 [preflight] Running pre-flight checks [WARNING SystemVerification]: missing optional cgroups: blkio error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: E0411 11:38:12.228669 13043 remote_runtime.go:948] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" time="2024-04-11T11:38:12Z" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" , error: exit status 1 [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` To see the stack trace of this error execute with --v=5 or higher Error: kubeadm init failed! Le jeu. 11 avr. 2024 à 12:03, Rohit Yadav <rohit.ya...@shapeblue.com> a écrit : > Hi Benoit, > > The CKS feature has been improving over versions, I don't know if what > you're trying to achieve is possible with it. Maybe try a different version > of the data iso: > http://download.cloudstack.org/cks/ > > Alternatively, you can also have a look at the CAPC project: > https://cluster-api-cloudstack.sigs.k8s.io > > > Regards. > > > > > ________________________________ > From: benoit lair <kurushi4...@gmail.com> > Sent: Thursday, April 11, 2024 14:16 > To: us...@cloudstack.apache.org <us...@cloudstack.apache.org>; dev < > dev@cloudstack.apache.org> > Subject: Re: ACS 4.16 - Change SystemVM template for CKS > > Any advices ? > > Best regards > > Le lun. 8 avr. 2024 à 16:53, benoit lair <kurushi4...@gmail.com> a écrit : > > > I am opened to every alternatives of changing system vm templates > > I just need to run K8s clyusters 1.28 with my CS 4.16 :) > > > > Le lun. 8 avr. 2024 à 16:52, benoit lair <kurushi4...@gmail.com> a > écrit : > > > >> Hello Folks, > >> > >> I am trying to install K8s cluster with community iso 1.28.4 > >> I am with a ACS 4.16.0 environment > >> It seems K8S is not working out of the box with v > 1.23.3 due to > >> containerd.io version > >> > >> I would like to release a template who will work with K8s > 1.23.3 on > acs > >> 4.16 > >> How can i tell CS to take another system vm template, avoiding to mess > >> normal features with VR and VPC VR keeping the systemvm template issued > >> with CS 4.16 ? > >> > >> I am with XCP-NG 8.2.1 in production > >> > >> Thanks for your help or advises > >> Best regards, > >> Benoit > >> > > >