https://rancher.com/ logo
#rke2
Title
# rke2
c

curved-caravan-26314

05/08/2022, 11:25 PM
Im on a new stable install of rancher and I am getting this error and i have no backup to get a new secret. what do i do? Ive been through the troubleshooting page and everything else checks out.
Copy code
Events:
  Type     Reason       Age                From               Message
  ----     ------       ----               ----               -------
  Normal   Scheduled    45s                default-scheduler  Successfully assigned cattle-system/rancher-webhook-6958cfcddf-jzqd7 to k42
  Warning  FailedMount  45s (x2 over 45s)  kubelet            MountVolume.SetUp failed for volume "tls" : secret "rancher-webhook-tls" not found
  Normal   Pulled       41s                kubelet            Container image "rancher/rancher-webhook:v0.2.5" already present on machine
  Normal   Created      40s                kubelet            Created container rancher-webhook
  Normal   Started      39s                kubelet            Started container rancher-webhook
c

creamy-pencil-82913

05/08/2022, 11:37 PM
Sounds like you forgot to install cert-manager?
c

curved-caravan-26314

05/08/2022, 11:37 PM
Nope, its all in there
c

creamy-pencil-82913

05/08/2022, 11:38 PM
Is it working and issuing certificates?
c

curved-caravan-26314

05/08/2022, 11:39 PM
Copy code
root@rke2:~# kubectl get pods --namespace cert-manager
NAME                                      READY   STATUS    RESTARTS   AGE
cert-manager-6bbf595697-gnl6f             1/1     Running   0          4h2m
cert-manager-cainjector-6bc9d758b-nnwp7   1/1     Running   0          4h2m
cert-manager-webhook-586d45d5ff-n6xg6     1/1     Running   0          4h2m
I did find a place that showed how to delete all things webhook related and let it rebuild on its own
Im now back at the same error
I did find this error
Copy code
2022/05/08 23:19:46 [ERROR] Failed to find system chart fleet will try again in 5 seconds: configmaps "rancher-charts-0-f628b7b1-86fa-4265-a4b1-96781d474127" not found
when I ran
Copy code
kubectl -n cattle-system logs -l app=rancher
Is there a command i can run that will 'downgrade' from 2.6.4 to 2.5.x ? This is a new install so there was no upgrade path. or do i just delete the namespace and webhooks and call out the version of rancher i want?
10 Views