I just tried to upgrade a Rancher 2.2.9 installation - that has been upgraded multiple times in the past and was surprised with:
helm repo list
Error: no repositories to show
As I stated above, this system has been upgraded multiple times in the past… so I’m at a loss at what is happening.
I took a chance to re-add the repositories, but when I went to upgrade I get:
$ helm get values rancher
Error: release: not found
$ helm upgrade rancher rancher-stable/rancher --set hostname=<fqdn here>`
Error: UPGRADE FAILED: "rancher" has no deployed releases
I have verified that kubectl is talking to the right cluster.
BTW, the cluster seems seems to be working well - the web interface is working fine.
kubectl seems to be talking to the right cluster… the only thing on this cluster is Rancher…
kubectl get nodes
NAME STATUS ROLES AGE VERSION
172.20.10.101 Ready controlplane,etcd,worker 179d v1.13.5
172.20.10.102 Ready controlplane,etcd,worker 179d v1.13.5
172.20.10.103 Ready controlplane,etcd,worker 179d v1.13.5
Should be the same. I’ve upgraded this cluster multiple times in the past… Given it is running rancher it has been kept pretty clean… and hands off. We have two other clusters on different blades that are being managed by this rancher instance.