# Unable to create rke2 cluster

**URL:** <https://forums.suse.com/t/unable-to-create-rke2-cluster/40163>\
**Category:** SUSE Rancher Prime\
**Created:** [March 2, 2023, 4:42pm UTC](https://forums.suse.com/t/unable-to-create-rke2-cluster/40163 "2023-03-02T16:42:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcasale82](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/gcasale82/32/9890_2.png) [@gcasale82](https://forums.suse.com/u/gcasale82)\
**Post date:** [March 2, 2023, 4:42pm UTC](https://forums.suse.com/t/unable-to-create-rke2-cluster/40163/1 "2023-03-02T16:42:32Z")

</div>

Hi all ,  
I’m trying to provision a RKE2 cluster from rancher to harvester but it remains stuck at : Configuring bootstrap node(s) mycl-pool1-6bf5854c64-fz6lm: waiting for agent to check in and apply initial plan.  
The deployment is behind a proxy but I set agent env variables  
HTTP\_PROXY=hxxp://172.16.189.3:3128  
HTTPS\_PROXY=hxxp://172.16.189.3:3128  
NO\_PROXY=localhost,127.0.0.1,10.0.0.0/8,cattle-system.svc,192.168.0.0/16,172.16.0.0/12,.svc,.cluster.local,.0,.1,.2,.3,.4,.5,.6,.7,.8,.9

During the creation I see these messages in the logs :  
Mar 02 16:27:00 mycl-pool1-d6a71d8d-pxhvr cloud-init[1322]: [ERROR] Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.  
Mar 02 16:27:25 mycl-pool1-d6a71d8d-pxhvr cloud-init[1322]: [ERROR] Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.  
Mar 02 16:27:30 mycl-pool1-d6a71d8d-pxhvr cloud-init[1322]: [ERROR] Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.  
Mar 02 16:27:35 mycl-pool1-d6a71d8d-pxhvr cloud-init[1322]: [ERROR] Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.  
Mar 02 16:27:40 mycl-pool1-d6a71d8d-pxhvr cloud-init[1322]: [ERROR] Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.  
Mar 02 16:27:45 mycl-pool1-d6a71d8d-pxhvr cloud-init[1322]: [ERROR] Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.  
Below some screenshot:

> **[1 hosted at ImgBB](https://ibb.co/XD86kLR)**
>
> Image 1 hosted in ImgBB

> **[2 hosted at ImgBB](https://ibb.co/MNgK0kV)**
>
> Image 2 hosted in ImgBB

hxxps://ibb.co/pJ1pV0p  
hxxps://ibb.co/qNM8bcT  
do you have any suggestion ?  
https masquerade as hxxps for avoid errors in opening the topic

---

<div class="post-metadata">

**Author:** ![qrKourier](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/qrkourier/32/9969_2.png) [@qrKourier](https://forums.suse.com/u/qrKourier)\
**Post date:** [March 25, 2023, 3:05am UTC](https://forums.suse.com/t/unable-to-create-rke2-cluster/40163/2 "2023-03-25T03:05:16Z")

</div>

I seem to be experiencing this same issue with Rancher 2.7.1 and Harvester 1.1.1.

I get this error when I try to build an RKE2 cluster with Harvester as cloud provider.

> waiting for viable init node

The nodes are launched, but the console only shows a cloud-init error until the pool is eventually deleted. Wash, rinse, repeat.How can I diagnose the node condition that Rancher is waiting for?

I used the Tumbleweed minimal cloud image and chose the untagged VM network which I’ve used previously, successfully with the DHCP server in my lab LAN.

I opted-in to deprecated K8s version v1.24.9+rke2r2 because it was necessary to enable Harvester as cloud provider.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/b/bb8eb980bcc64ae942ac6f718f420d00370e232e.png)

---

<div class="post-metadata">

**Author:** ![gcasale82](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/gcasale82/32/9890_2.png) [@gcasale82](https://forums.suse.com/u/gcasale82)\
**Post date:** [March 25, 2023, 6:46am UTC](https://forums.suse.com/t/unable-to-create-rke2-cluster/40163/3 "2023-03-25T06:46:42Z")

</div>

The rke2 nodes must have connectivity to rancher host and all harvester nodes and Vip.Check proxy exclusion , routing and fw rules.
