https://rancher.com/ logo
#vsphere
Title
# vsphere
a

adamant-kite-43734

10/24/2022, 10:42 AM
This message was deleted.
s

steep-furniture-72588

10/24/2022, 1:00 PM
additionally i get this bunch of error messages in the log:
="2022-10-24T20:07:17+13:00" level=info msg="[Applyinator] Running command: sh [-c run.sh]"
="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + SA_INSTALL_PREFIX=/usr/local" ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + mkdir -p /var/lib/rancher/rke2" ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + SAI_FILE_DIR=/var/lib/rancher/r> ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + RESTART_STAMP_FILE=/var/lib/ran> ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + RKE2_SA_ENV_FILE_NAME=rke2-sa.e> ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' '!' -d /var/lib/rancher/rke> ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + mkdir -p /var/lib/rancher/rke2/> ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + check_target_mountpoint" ="2022-10-24T200717+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + mountpoint -q ''" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + check_target_ro" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + touch /usr/local/.rke2-ro-test" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + rm -rf /usr/local/.rke2-ro-test" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + test 0 -ne 0" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + SYSTEMD_BASE_PATH=/usr/local/li> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + RKE2_SA_ENV_FILE_PATH=/var/lib/> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + RKE2_SA_ENV_SRV_REF=Environment> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -f /var/lib/rancher/rke2/sy> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -n 1f2f2de03a48dc44853d2d52> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' '' '!=' 1f2f2de03a48dc44853> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + RESTART=true" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + env INSTALL_RKE2_ARTIFACT_PATH=> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stdout] [INFO] staging local checksums f> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stdout] [INFO] staging tarball from /var> ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stdout] [INFO] verifying tarball" ="2022-10-24T200718+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stdout] [INFO] unpacking tarball file to> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -f /var/lib/rancher/rke2/sy> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + OLD_ENV_FILE_PATH_HASH=e3b0c442> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + install -m 600 /dev/null /var/l> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ env" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ grep '^RKE2_'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ true" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + RKE2_ENV=" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -n '' ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ env" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ grep -Ei '^(NO|HTTP|HTTPS)_PRO> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ true" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + PROXY_ENV_INFO=" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -n '' ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ sha256sum /var/lib/rancher/rke> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] ++ awk '{print $1}'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + NEW_ENV_FILE_PATH_HASH=e3b0c442> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' e3b0c44298fc1c149afbf4c8996> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -z '' ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + INSTALL_RKE2_TYPE=server" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + grep -q EnvironmentFile=-/var/l> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + echo EnvironmentFile=-/var/lib/> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' -n 1f2f2de03a48dc44853d2d52> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + echo 1f2f2de03a48dc44853d2d522c> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + systemctl daemon-reload" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' '' = true ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' server = server ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + systemctl is-active --quiet rke> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + systemctl enable rke2-server" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] Created symlink /etc/systemd/syst> ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' '' = true ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + '[' true = true ']'" ="2022-10-24T200723+13:00" level=info msg="[be7588c5c8d8b0831b57f1afe08907455a5176798b2508d726b4bcc0f3a85164_0stderr] + systemctl --no-block restart rk> ="2022-10-24T200723+13:00" level=info msg="[Applyinator] Command sh [-c run.sh] finished with err: <nil> and exit code: 0"
m

modern-television-79263

10/24/2022, 3:48 PM
Can the network your Rancher server is on communicate to the network your cluster deployment is on? And vice versa? Can both networks connect to the internet for their images? Ir connect thru a proxy or private/air-gapped registry for their system images?
s

steep-furniture-72588

10/24/2022, 5:12 PM
Thank you @modern-television-79263 for replying. I did add sonatype nexus and that fixed the initial problem of downloading initial containers . In regards to the first question of network connectivity I would presume so as I can ssh into it. I also did a test and that is I stopped the rancher system-agent on that node and just installed rke2 using the normal curl command...
Installing with the initial curl command worked for straight generic rke2 although it had a bit of a delay
👍 1
I am still having issues installing from vsphere provisioning which is what i am trying to achieve on the secondary network
m

modern-television-79263

10/25/2022, 3:04 PM
Gotcha. The next bit I would check are your node templates to be sure the drops downs for the networking, datastore and what not are correct.
s

steep-furniture-72588

10/26/2022, 1:03 PM
Thank you @modern-television-79263. I got the correct values your cloud-init and set up a container registry mirror and it is now working using rancher
🎉 1
13 Views