adamant-kite-43734
03/04/2024, 4:40 PMambitious-plastic-3551
03/04/2024, 4:41 PMbillions-accountant-52971
03/04/2024, 4:41 PMambitious-plastic-3551
03/04/2024, 4:42 PMambitious-plastic-3551
03/04/2024, 4:42 PMambitious-plastic-3551
03/04/2024, 4:42 PMbillions-accountant-52971
03/04/2024, 4:42 PMambitious-plastic-3551
03/04/2024, 4:43 PMbillions-accountant-52971
03/04/2024, 4:43 PMbland-account-99790
03/04/2024, 6:16 PMbillions-accountant-52971
03/04/2024, 9:42 PMreason: WaitingForNodeRef
severity: Info
status: 'False'
type: NodeHealthy
Looks like they get stuck on thisbillions-accountant-52971
03/04/2024, 9:49 PMambitious-plastic-3551
03/04/2024, 9:55 PMambitious-plastic-3551
03/04/2024, 9:55 PMbillions-accountant-52971
03/04/2024, 9:56 PMbillions-accountant-52971
03/04/2024, 9:56 PMambitious-plastic-3551
03/04/2024, 9:57 PMambitious-plastic-3551
03/04/2024, 9:57 PMambitious-plastic-3551
03/04/2024, 9:57 PMbillions-accountant-52971
03/04/2024, 9:57 PMbillions-accountant-52971
03/04/2024, 9:58 PMambitious-plastic-3551
03/04/2024, 9:59 PMbillions-accountant-52971
03/04/2024, 10:02 PMambitious-plastic-3551
03/04/2024, 10:05 PMplain-byte-79620
03/05/2024, 8:49 AMbillions-accountant-52971
03/05/2024, 8:50 AMplain-byte-79620
03/05/2024, 8:51 AMbillions-accountant-52971
03/05/2024, 8:52 AMplain-byte-79620
03/05/2024, 8:53 AMbillions-accountant-52971
03/05/2024, 8:56 AMbillions-accountant-52971
03/05/2024, 8:59 AMbillions-accountant-52971
03/05/2024, 8:59 AMbillions-accountant-52971
03/05/2024, 8:59 AMbillions-accountant-52971
03/05/2024, 8:59 AMplain-byte-79620
03/05/2024, 9:12 AM--address
you have to add it manually with ipv4,ipv6billions-accountant-52971
03/05/2024, 9:15 AM2024-03-05T09:14:17.629601+00:00 ranch1 rke2[1662]: time="2024-03-05T09:14:17Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: <https://127.0.0.1:9345/v1-rke2/readyz>: 500 Internal Server Error"
2024-03-05T09:14:21.167593+00:00 ranch1 rke2[1662]: time="2024-03-05T09:14:21Z" level=info msg="Waiting for API server to become available"
2024-03-05T09:14:22.359715+00:00 ranch1 rke2[1662]: time="2024-03-05T09:14:22Z" level=warning msg="Failed to list nodes with etcd role: runtime core not ready"
Here is the logs from the machiene now - would be interesting to know what the 500-error is.plain-byte-79620
03/05/2024, 9:16 AMbillions-accountant-52971
03/05/2024, 9:16 AMplain-byte-79620
03/05/2024, 9:17 AMbillions-accountant-52971
03/05/2024, 12:38 PMranch1:~ # /var/lib/rancher/rke2/data/v1.27.10-rke2r1-31de34f39de5/bin/kubectl --kubeconfig /var/lib/rancher/rke2/agent/kubelet.kubeconfig get nodes
NAME STATUS ROLES AGE VERSION
ranch1 Ready control-plane,etcd,master 3h15m v1.27.10+rke2r1
After a long while this is showing in the first node, but in the rancher-gui it still say "Waiting for node"billions-accountant-52971
03/05/2024, 12:41 PMbillions-accountant-52971
03/05/2024, 12:42 PMbillions-accountant-52971
03/05/2024, 12:44 PMplain-byte-79620
03/05/2024, 2:09 PMbillions-accountant-52971
03/06/2024, 8:48 AMbillions-accountant-52971
03/06/2024, 8:52 AMbillions-accountant-52971
03/06/2024, 8:53 AMplain-byte-79620
03/06/2024, 9:14 AMbillions-accountant-52971
03/06/2024, 9:39 AMbillions-accountant-52971
03/06/2024, 9:39 AMplain-byte-79620
03/06/2024, 10:35 AMrke2-uninstall.sh
before installing the new setup through rancher?billions-accountant-52971
03/06/2024, 10:39 AMbillions-accountant-52971
03/06/2024, 8:55 PMstatus:
bootstrapReady: true
conditions:
- lastTransitionTime: '2024-03-05T09:08:01Z'
status: 'True'
type: Ready
- lastTransitionTime: '2024-03-05T09:08:01Z'
status: 'True'
type: BootstrapReady
- lastTransitionTime: '2024-03-05T09:07:59Z'
status: 'True'
type: InfrastructureReady
- lastTransitionTime: '2024-03-05T09:07:59Z'
reason: WaitingForNodeRef
severity: Info
status: 'False'
type: NodeHealthy
lastUpdated: '2024-03-05T09:08:01Z'
observedGeneration: 2
phase: Provisioning
Same effect, it gets stuck like this.billions-accountant-52971
03/06/2024, 8:57 PMcurl -fL <https://rancher.domain.tld/system-agent-install.sh> | sudo sh -s - --server <https://rancher.domain.tld> --label '<http://cattle.io/os=linux|cattle.io/os=linux>' --token <jfr...> --address "172.16.135.51,2a07:beef:5:2002:be24:11ff:fe60:115d" --etcd --controlplane --worker
This is the commandline for the install, and the addreses i the static node-ips for ipv6 and ipv4.plain-byte-79620
03/07/2024, 9:01 AMbillions-accountant-52971
03/07/2024, 10:40 AMbillions-accountant-52971
03/07/2024, 10:41 AMplain-byte-79620
03/07/2024, 10:43 AMsystemctl status rke2-server.service
to check if there are any errorsbillions-accountant-52971
03/07/2024, 10:47 AMMar 06 20:24:52 ranch1 rke2[19110]: time="2024-03-06T20:24:52Z" level=error msg="Failed to process config: lstat /var/lib/rancher/rke2/server/manifests: no such file or directory"
Mar 06 20:25:05 ranch1 rke2[19110]: {"level":"warn","ts":"2024-03-06T20:25:05.078178Z","logger":"etcd-client","caller":"v3@v3.5.9-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000d12>>
Mar 06 20:25:05 ranch1 rke2[19110]: time="2024-03-06T20:25:05Z" level=error msg="Failed to check local etcd status for learner management: context deadline exceeded"
Mar 06 20:25:07 ranch1 rke2[19110]: time="2024-03-06T20:25:07Z" level=error msg="Failed to process config: lstat /var/lib/rancher/rke2/server/manifests: no such file or directory"
Mar 06 20:25:14 ranch1 rke2[19110]: {"level":"warn","ts":"2024-03-06T20:25:14.947945Z","logger":"etcd-client","caller":"v3@v3.5.9-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000d12>>
Mar 06 20:25:14 ranch1 rke2[19110]: {"level":"info","ts":"2024-03-06T20:25:14.948009Z","logger":"etcd-client","caller":"v3@v3.5.9-k3s1/client.go:210","msg":"Auto sync endpoints failed.","error":"context deadline exceeded"}
Mar 06 20:25:20 ranch1 rke2[19110]: {"level":"warn","ts":"2024-03-06T20:25:20.078694Z","logger":"etcd-client","caller":"v3@v3.5.9-k3s1/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"<etcd-endpoints://0xc000d12>>
Mar 06 20:25:20 ranch1 rke2[19110]: time="2024-03-06T20:25:20Z" level=error msg="Failed to check local etcd status for learner management: context deadline exceeded"
Mar 06 20:25:20 ranch1 rke2[19110]: time="2024-03-06T20:25:20Z" level=fatal msg="leaderelection lost for rke2-etcd"
Seems like the etcd is nowhere to be found - I have only started one node, or installed one node of three sofar.plain-byte-79620
03/07/2024, 10:49 AMbillions-accountant-52971
03/07/2024, 10:50 AMbillions-accountant-52971
03/07/2024, 10:50 AMplain-byte-79620
03/07/2024, 10:51 AMbillions-accountant-52971
03/07/2024, 11:02 AMbillions-accountant-52971
03/08/2024, 11:43 AMbillions-accountant-52971
03/08/2024, 11:43 AMplain-byte-79620
03/08/2024, 4:12 PMbillions-accountant-52971
03/08/2024, 4:34 PMbillions-accountant-52971
03/08/2024, 4:34 PM