https://rancher.com/ logo
#general
Title
# general
p

plain-refrigerator-80586

09/06/2022, 10:06 AM
Hello, I'm trying to deploy a cluster managed by rancher based on a node template. This template is based on RHEL 8.6. In the cluster provision phase it fails with this error message:
Error creating machine: RHEL ssh command error: command: sudo -E yum install -y curl err: exit status 1 output: Updating Subscription Management repositories.
curl is already installed on the node, I don't understand why it's trying to reinstall curl. Any idea from which script is the
sudo -E yum instal -y curl
command coming from ?
t

tall-school-18125

09/06/2022, 6:12 PM
What is your Rancher version? I ask because I'd need to verify if that RHEL version is on the support matrix for that rancher version
p

plain-refrigerator-80586

09/07/2022, 6:54 AM
@tall-school-18125 it's version 2.6.8. I see that version 2.6.7 supports RHEL 8.6 but I'm not able to find information about 2.6.8 in the support matrix https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-6-7/ I'll try to deploy version 2.6.7
t

tall-school-18125

09/07/2022, 5:58 PM
There should be no change in what versions are supported in 2.6.8 because it was a very small release
p

plain-refrigerator-80586

09/08/2022, 6:20 AM
Thanks for the update. Do you know where I can find the script responsible for the node provisioning when you deploy a new downstream cluster from a node template? I want to understand why it's trying to install curl on the node while curl is already installed.
I created a bug for this issue: https://github.com/rancher/rancher/issues/38840
t

tall-school-18125

09/08/2022, 5:22 PM
For node provisioning, we use a fork of docker machine which we call rancher machine. It is in this repo https://github.com/rancher/machine but I couldn't tell you where the actual script is.
p

plain-refrigerator-80586

09/09/2022, 7:23 AM
Thanks for the link. I'm not familiar with go but I guess the function to install curl is located here https://github.com/rancher/machine/blob/master/libmachine/provision/redhat.go#L81
10 Views