breezy-autumn-81048
02/15/2023, 3:12 PMrough-farmer-49135
02/15/2023, 3:25 PMbreezy-autumn-81048
02/15/2023, 4:59 PM2023/02/15 16:56:21 [INFO] Done waiting for CRD <http://projects.management.cattle.io|projects.management.cattle.io> to become available
2023/02/15 16:56:21 [INFO] Waiting for CRD <http://clustertemplates.management.cattle.io|clustertemplates.management.cattle.io> to become available
2023/02/15 16:56:21 [FATAL] k3s exited with: exit status 2
INFO: Running k3s server --cluster-init --cluster-reset
2023/02/15 16:56:47 [INFO] Rancher version v2.7.1 (bb1c35fc4) is starting
2023/02/15 16:56:47 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2023/02/15 16:56:47 [INFO] Listening on /tmp/log.sock
2023/02/15 16:56:47 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:56:49 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:56:51 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:56:53 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:56:55 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:56:57 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:56:59 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
2023/02/15 16:57:06 [FATAL] k3s exited with: exit status 2
rough-farmer-49135
02/15/2023, 5:02 PMbreezy-autumn-81048
02/15/2023, 5:05 PMrough-farmer-49135
02/15/2023, 5:11 PMsystemctl
to find the name of the RHEL 8 OS service that is running k3s. From there try journalctl -u $K3S_SERVICE_NAME
and see what you can find. You may have something else off.
If you have selinux enabled that might do it too. The getenforce
command will say Enforcing if it's on and Permissive or Disabled if it's not. If it's on the place you can turn it off is by editing /etc/selinux/config and set SELINUX to permissive or disabled. RKE2 can handle SELinux enforcing but I don't know that k3s can, and RKE2 needs some additional steps to do so anyway so even if it can then you probably don't have that set up and that might be what's biting you.breezy-autumn-81048
02/15/2023, 7:16 PMtcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 81783/docker-proxy
tcp 0 0 0.0.0.0:9323 0.0.0.0:* LISTEN 2550/dockerd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 81795/docker-proxy
rough-farmer-49135
02/15/2023, 8:16 PMbreezy-autumn-81048
02/17/2023, 1:17 PM