https://rancher.com/ logo
Title
w

wonderful-judge-81095

05/09/2023, 11:21 PM
Hello, I just spent a few days rebuilding my rancher cluster. I had access to the Rancher GUI. I had to restart the physical server and now I can't connect to the GUI. The rancher/rancher-agent:v2.3.1 keeps restarting over and over and the logs say [root@ca819-elastic01 containers]# tail -f 8bca33f6570d6c5a3997fef812ab1fe07ee5875f70a7ee2731ec2eebd3c6d4ca/8bca33f6570d6c5a3997fef812ab1fe07ee5875f70a7ee2731ec2eebd3c6d4ca-json.log {"log":"INFO: Using resolv.conf: search cert.scrub.com nameserver 192.168.140.10\n","stream":"stderr","time":"2023-05-09T23:11:52.170719473Z"} {"log":"ERROR: https://192.168.29.54:8443/ping is not accessible (Failed to connect to 192.168.29.54 port 8443: Connection refused)\n","stream":"stderr","time":"2023-05-09T23:11:52.203669229Z"} {"log":"INFO: Arguments: --server https://192.168.29.54:8443 --token REDACTED --ca-checksum cb084998bd1cbcfa772bc513a3d7be868b87fec0da954c1d788995072212e396 --no-register --only-write-certs\n","stream":"stderr","time":"2023-05-09T23:12:52.548637034Z"} {"log":"INFO: Environment: CATTLE_ADDRESS=192.168.29.54 CATTLE_AGENT_CONNECT=true CATTLE_INTERNAL_ADDRESS= CATTLE_NODE_NAME=ca819-elastic01 CATTLE_SERVER=https://192.168.29.54:8443 CATTLE_TOKEN=REDACTED CATTLE_WRITE_CERT_ONLY=true\n","stream":"stderr","time":"2023-05-09T23:12:52.573724965Z"} {"log":"INFO: Using resolv.conf: search cert.scrub.com nameserver 192.168.140.10\n","stream":"stderr","time":"2023-05-09T23:12:52.581117382Z"} {"log":"ERROR: https://192.168.29.54:8443/ping is not accessible (Failed to connect to 192.168.29.54 port 8443: Connection refused)\n","stream":"stderr","time":"2023-05-09T23:12:52.614896096Z"} {"log":"INFO: Arguments: --server https://192.168.29.54:8443 --token REDACTED --ca-checksum cb084998bd1cbcfa772bc513a3d7be868b87fec0da954c1d788995072212e396 --no-register --only-write-certs\n","stream":"stderr","time":"2023-05-09T23:13:52.987246922Z"} {"log":"INFO: Environment: CATTLE_ADDRESS=192.168.29.54 CATTLE_AGENT_CONNECT=true CATTLE_INTERNAL_ADDRESS= CATTLE_NODE_NAME=ca819-elastic01 CATTLE_SERVER=https://192.168.29.54:8443 CATTLE_TOKEN=REDACTED CATTLE_WRITE_CERT_ONLY=true\n","stream":"stderr","time":"2023-05-09T23:13:53.005510284Z"} {"log":"INFO: Using resolv.conf: search cert.scrub.com nameserver 192.168.140.10\n","stream":"stderr","time":"2023-05-09T23:13:53.011405915Z"} {"log":"ERROR: https://192.168.29.54:8443/ping is not accessible (Failed to connect to 192.168.29.54 port 8443: Connection refused)\n","stream":"stderr","time":"2023-05-09T23:13:53.032803305Z"}
here was my original installation command docker run -d --restart=unless-stopped -p 8080:80 -p 8443:443 --privileged rancher/rancher:v2.3.1
evidently, I do not have the docker proxy running. on a working cluster it shows tcp LISTEN 0 128 [::]:8443 [::]:* users:(("docker-proxy",pid=31821,fd=4)). On the new cluster it is not running. I'm not sure how to get it running without breaking the cluster as it is working, i just can't connect with gui