https://rancher.com/ logo
Title
b

bright-fireman-42144

04/07/2023, 4:41 PM
There is no update on https://github.com/rancher/rancher/issues/40743 Is there a known issue or workaround (even with an older rancher release)? Support bundles were provided and seems like it 'just doesn't work'. I have tried older versions that are listed as compatible with harvester 1.1.1 (Rancher Manager 2.6.9) but any of the possible fixes I have found mention applying the clusters.management.cattle.io CRDs but I am unsure whether those need to be applied on the harvester kubernetes cluster or 'within' Rancher (no matter how it is installed). I am not a developer but at this point it looks like I should become one.
c

creamy-pencil-82913

04/07/2023, 4:45 PM
Are you, like that user, trying to use an ancient version of RKE2 (v1.20.15+rke2r2) with Rancher 2.7.1, which only supports RKE2 1.23 and 1.24?
b

bright-fireman-42144

04/07/2023, 5:11 PM
I am that user. I am currently installing rancher manager 2.7.1 on Ubuntu 20.04 using the installation instructions on https://ranchermanager.docs.rancher.com/pages-for-subheaders/rancher-on-a-single-node-with-docker
c

creamy-pencil-82913

04/07/2023, 5:20 PM
I’m confused then, because everything on that issue you linked shows openSUSE Leap 15.4 with RKE2 1.20.15
not Ubuntu 20.04 or the K3s version that’s embedded in the rancher/rancher image
b

bright-fireman-42144

04/07/2023, 5:25 PM
I abandoned trying to use my rancher desktop to deploy rancher manager for testing purposes due to the kubeconfig bug and couldn't get it working with Ubuntu so tried to follow the suse at home repo which is why I went to openSUSE but now I am back to ubuntu and specifically 20.04 cause I had that working at some random point in time in the past but did not document my progress to know what or how that worked.
point is.... no matter what I have tried, including rancher manager 2.6.9 I get that clusters.management.cattle.io "v1" not found message in the UI.
c

creamy-pencil-82913

04/07/2023, 5:27 PM
reancher desktop has a stripped-down version of Rancher built in to it that has the mutli-cluster-manager stuff disabled. It’s not meant to have a full version of Rancher running in it
So where are you now? You’re running the rancher/rancher image on Docker and trying to import this RKE2 1.20.15 downstream cluster into it?
b

bright-fireman-42144

04/07/2023, 5:28 PM
I was just using rancher desktop to off load additional disk pressure from longhorn. It is what convinced me to purchase another NUC like node for my harvester 1.1.1 cluster.
Where I am at now is that I have spun up an ubuntu 20.04 VM on harvester, installed docker and running rancher/rancher:latest. I have successfully registered the harvester cluster with Rancher and when I try to create a kubernetes cluster on harvester in cluster management it gives me that v1 error when trying to retrieve harvester specific info (image name, namespace, etc.)
c

creamy-pencil-82913

04/07/2023, 5:32 PM
are you actually using 1.20 still, as it says in the issue?
b

bright-fireman-42144

04/07/2023, 5:34 PM
1.2 what? kubernetes, k3s... ? I am not importing anything at the moment other than the harvester cluster itself in virt management.
when I use cluster management to create a kubernetes cluster, I have managed to get it to retrieve the harvester information when I select RKE but does not when selecting RKE2.
I specifically want to use RKE2 so I can play around with other CNI's and also to move away from docker (even though I am currently using it for rancher manager)
c

creamy-pencil-82913

04/07/2023, 5:39 PM
rancher   Ready    control-plane,etcd,master   20h   v1.20.15+rke2r2
that right there says you’re using 1.20, which as I mentioned a couple times is quite end-of-life and isn’t supported by the Rancher version you’re using
or are you not using that version of RKE2 any longer?
b

bright-fireman-42144

04/07/2023, 5:41 PM
nope. docker install of rancher/rancher: latest so whatever that installs in the container. RKE2 is what I am trying to provision.
ecf47731f223:/var/lib/rancher # kubectl get nodes NAME STATUS ROLES AGE VERSION local-node Ready control-plane,etcd,master 15h v1.24.4+k3s1
hv01:/home/rancher # kubectl get nodes NAME STATUS ROLES AGE VERSION hv01 Ready control-plane,etcd,master 41d v1.24.7+rke2r1 hv02 Ready control-plane,etcd,master 40d v1.24.7+rke2r1 hv03 Ready control-plane,etcd,master 2d4h v1.24.7+rke2r1
c

creamy-pencil-82913

04/07/2023, 5:45 PM
ok, that looks better.
b

bright-fireman-42144

04/07/2023, 5:47 PM
dev tools in UI when retrieving harvester provided parameters: xhr.js:178 GET https://rancher.roguestarr.com/k8s/clusters/v1/harvesterhci.io.virtualmachineimages 404 (Not Found)
c

creamy-pencil-82913

04/07/2023, 5:47 PM
I’m not sure what the state is of Harvester 1.1.1 with Rancher 2.7. As per https://www.suse.com/suse-harvester/support-matrix/all-supported-versions/harvester-v1-1-1/#anchor-h3-item2 it is only supported up to 2.6.9. You might want to wait for 2.7.2?
you could also ask in #harvester
b

bright-fireman-42144

04/07/2023, 5:48 PM
k... I'll try again with 2.6.9 and see what happens. 👍
then (if not working) I will record EVERYTHING and generate support bundles and throw it out to the harvester team to see what they might have to say. As usual, thanks again @lively-artist-13886
w

witty-jelly-95845

04/07/2023, 8:28 PM
I previously asked re Rancher 2.7.0 with Harvester 1.1.x and whilst it may not be officially supported it does work https://github.com/harvester/harvester/issues/3222