-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Rancher from 2.4.8 -> 2.5.0 fails with Cert Manager v1.0.1 #29213
Comments
The same steps produce a slightly different error when using Rancher self signed certs. Local k8s version
Rancher install command:
Upgrade command:
Error:
|
I've tried to reproduce the issue but installation and upgrade are working fine for me. I'm testing with k8s v1.18.9 and helm v3.3.3 What k8s version and helm client version are you using?? I'm guessing that the issue may be related to cert-manager crd issue, related with k8s issue. Could you please try using using k8s v1.18.9 and helm v3.3.3?? |
Attempted with:
To the same result |
Could you please paste you helm command for install and upgrade?? Both working fine for me using these:
|
The following is successful
So far it appears that we reliably see the issue when we use a lower version of Helm (v3.0.2), and then try to upgrade with a higher version (3.3.4). |
On our tests, we've noticed that the error is related with the helm version. It's occurring when helm 3.0.x or 3.1.x is used to install, then any helm version is failing to upgrade. Using helm 3.2.x or above instead, is working fine on install and upgrade. |
We will document that user needs 3.2.x + to install/upgrade Rancher. |
Helm version requirements is already documented, https://rancher.com/docs/rancher/v2.x/en/installation/resources/helm-version/ |
I still cannot update my rancher after updating helm (tried helm 3.2, 3.3, 3.4...) This uses self-signed certs, and the values.yaml is
I don't have certs manager installed, never needed it [rancher-provisioner@dg-jumphost-01 ~]$ helm upgrade rancher rancher-latest/rancher --namespace cattle-system -f values19jan2021.yaml --version=2.5.5 [rancher-provisioner@dg-jumphost-01 ~]$ helm version @rawmind0 was helm version the only issue that you had on your tests? |
Yes, that was the only issue i had. Have you tested this #29213 (comment) ?? Are you installing and upgrading with same helm version?? Anyway, your issue seems a little bit different. This was related to the use of cert-manager not self-signed certs. |
Hi i seem to be having the same issue as yours updating, but in my case i dont have Cert manager as i am running with External TLS Termination. |
I solved my issue with an idea I got from @rawmind0 comment Basically I installed rancher 2.4.5 with helm 3.1, so what I did is:
(Note that after that I had some issue which could be unrelated to this issue that made me have to restore my RKE cluster from etcd backup, so regardless of your situation always backup your rancher/cluster or better yet, your VMs) |
Sorry, I am new to rancher and following someone from youtube, but the upgrade video is a little old and it seems like you updated a few thing since then. Currently running Rancher v2.4.8 on a single node (I know it is not correct, but this is just my home install) How does one upgrade helm? the part that is confusing me is helm. Do I use a help command to upgrade rancher or I just need helm 3.2 and then I can upgrade rancher to v 2.5.5 ? Any help / guidance is very welcome. |
We're using external TLS termination with a purchased certificate. We upgraded helm from 2.x to 3.x using helm 2to3 plugin. After that, helm 3.5 was failing to upgrade from Rancher 2.4.13 to 2.5.5 (with
To fix:
|
rancher/rancher:v2.4.8 -> v2.5.0-rc2
cert manager v1.0.1
utilizingLetsEncrypt
certs (from Jenkins automation)helm upgrade
Question
Should the fresh install of v2.4.8 work with
cert manager v1.0.1
?The text was updated successfully, but these errors were encountered: