This message was deleted.
# rke2
a
This message was deleted.
p
Does
kubectl -n fleet-default get secret custom-199db9026ce4-machine-plan
on the
local
Rancher cluster show a secret with 0 data?
b
Copy code
e65729aaee7f:/var/lib/rancher # kubectl -n fleet-default get secret custom-199db9026ce4-machine-plan                         
NAME                               TYPE                         DATA   AGE                                                   
custom-199db9026ce4-machine-plan   <http://rke.cattle.io/machine-plan|rke.cattle.io/machine-plan>   13     370d
Not actually. I exec the command in my Rancher(Docker Container)
p
Thanks, the new machine/node must be the one ending
f95cb
? is the secret for that one empty?
custom-50af4a3f95cb-machine-plan
which is for 23.hdp I think
b
Yes.
custom-50af4a3f95cb-machine-plan
is 23.hdp.dc.xyz.
p
is the secret for that empty?
b
The new node
custom-50af4a3f95cb-machine-plan
is "readd" node. It is K8S Node (Role: ALL) as yestoday occurs message like (Waiting for probes: kube-controller-manager, kube-scheduler). Then I delete the node and I clean it clear deeply.(The node must be without any rke2/rancher/k3s stuff things.).
p
kubectl -n fleet-default get secret custom-50af4a3f95cb-machine-plan
shows an empty Secret?
b
YES.
Copy code
e65729aaee7f:/var/lib/rancher # kubectl -n fleet-default get secret custom-50af4a3f95cb-machine-plan                         
NAME                               TYPE                         DATA   AGE                                                   
custom-50af4a3f95cb-machine-plan   <http://rke.cattle.io/machine-plan|rke.cattle.io/machine-plan>   0      155m
BTW.
p
ok, I'm kinda glad (sorry) to see that as it means we're not the only people experiencing the issue. I've not found a solution yet unfortunately, it's stopped us registering nodes to new clusters on two Rancher clusters.
b
You mean it's the same issue as you pasted?https://github.com/rancher/fleet/issues/2053
p
I think so yes. I raised that as a fleet issue to start with as it seemed to be related to an issue in the fleet logs but I don't think it is fleet. the machine-plan secret isn't getting populated so rancher-system-agent on the node is endlessly polling for a non-existent plan.
b
fleet-agent where is it ?
Copy code
e65729aaee7f:/var/lib/rancher # kubectl get ns  | grep fleet                                                                 
cattle-fleet-clusters-system                Active        539d                                                               
cattle-fleet-local-system                   Active        539d                                                               
cattle-fleet-system                         Active        539d                                                               
cluster-fleet-default-jarvis-4c73dcb0c94c   Active        539d                                                               
cluster-fleet-local-local-1a3d67d0a899      Active        539d                                                               
fleet-default                               Active        539d                                                               
fleet-local                                 Active        539d
Ignore this. I found it.
Where is the
fleet-controller
?
I checked the fleet-agent log and the fleet-controller log, that is all good. Not error messages in there. @prehistoric-gpu-28362
And the Rancher update auto I do not know why.
p
I've not found any logs that help locate the issue unfortunately.
I'm pretty sure it's not an rke2 issue though.
b
@prehistoric-gpu-28362 https://github.com/rancher/rancher/issues/41125 We solved the problem as the comment.
p
Thanks @busy-country-65143
140 Views