Management DU cluster creation is failing for LTS3 at "Miscellaneous scripts and checks"
Problem
Nodelet phase restart will be stuck on "Miscellaneous scripts and checks" while management DU Cluster Creation
Environment
- Platform9 SMCP LTS3 version:- 5.9.2-3199093
Cause
When "vm.overcommit_memory" value is set to 0, the nodelet phase restart was failing at "Miscellaneous scripts and checks"
x
Nodelet phase error:[2024-04-05 14:10:18] + curl --silent --max-time 5 --cacert /etc/pf9/kube.d/certs/authn_webhook/ca.crt https://localhost:9977/healthzfailed to open addon-operator version file /etc/pf9/pf9-addon-operator-image.env . Error: open /etc/pf9/pf9-addon-operator-image.env: no such file or directoryINDEX NUMBER FILE NAME PHASE STATUS1 Generate certs / Send signing request to CA running2 Prepare configuration running3 Configure Container Runtime running4 Start Container Runtime running5 Load user images to container runtime running6 Configure etcd running7 Start etcd running8 Network configuration running9 Configure CNI plugin running10 Configure and start pf9-bouncer running11 Miscellaneous scripts and checks failed===========Nodelet logs Snippet:* Applying /etc/sysctl.d/99-sysctl.conf net.ipv6.conf.eth0.accept_ra = 2net.ipv6.conf.all.disable_ipv6 = 0net.ipv6.conf.all.forwarding = 1net.ipv6.conf.default.disable_ipv6 = 0net.bridge.bridge-nf-call-iptables = 1fs.may_detach_mounts = 1vm.overcommit_memory = 0* Applying /etc/sysctl.d/pf9-kubelet.conf vm.overcommit_memory = 1kernel.panic = 10kernel.panic_on_oops = 1* Applying /etc/sysctl.d/pf9-kubernetes-cri.conf net.bridge.bridge-nf-call-iptables = 1net.ipv4.ip_forward = 1net.bridge.bridge-nf-call-ip6tables = 1* Applying /etc/sysctl.conf net.ipv6.conf.eth0.accept_ra = 2net.ipv6.conf.all.disable_ipv6 = 0net.ipv6.conf.all.forwarding = 1net.ipv6.conf.default.disable_ipv6 = 0net.bridge.bridge-nf-call-iptables = 1fs.may_detach_mounts = 1vm.overcommit_memory = 0===========Resolution
By default, the system loads the "/etc/sysctl.d/99-sysctl.conf" file, followed by the custom "/etc/sysctl.d/pf9-kubelet.conf" file, and finally the "/etc/sysctl.conf" file, which is a symlink of the default sysctl file "99-sysctl.conf". For making the value of the "vm.overcommit memory" parameter persistent, all these three files should be corrected.
Was this page helpful?