adamant-kite-43734
10/07/2024, 5:09 PMfast-minister-19397
10/07/2024, 5:17 PM2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'fleet-local/local': handler cluster-create: server url is missing, can't generate kubeconfig for fleet import cluster, requeuing
2024/10/07 17:00:34 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
2024/10/07 17:00:38 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
202
2024/10/07 17:00:38 [ERROR] error syncing 'server-url': handler apiservice-settings: secrets "tls-rancher-internal-ca" not found, requeuing
202
powerful-librarian-10572
10/08/2024, 8:30 AMfast-minister-19397
10/08/2024, 8:57 AMfast-minister-19397
10/08/2024, 8:58 AMpowerful-librarian-10572
10/08/2024, 8:58 AMfast-minister-19397
10/08/2024, 8:59 AMpowerful-librarian-10572
10/08/2024, 8:59 AMpowerful-librarian-10572
10/08/2024, 8:59 AMfast-minister-19397
10/08/2024, 9:11 AMfast-minister-19397
10/08/2024, 9:23 AMhelm install rancher rancher-stable/rancher --namespace cattle-system --set hostname=<domain name> --set bootstrapPassword=admin
command.
I have one domain attached to it.
root@ip-172-31-29-88:/etc# kubectl get ingress -A
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
cattle-system rancher nginx domain_name 172.31.29.88 80, 443 17h
When i created one ALB to point out it to the instance with ports 80, 443. But when i try to access it i am getting 404 Not found error.
How can we change the port in the helm commandpowerful-librarian-10572
10/08/2024, 9:23 AMfast-minister-19397
10/08/2024, 9:24 AMpowerful-librarian-10572
10/08/2024, 9:26 AMfast-minister-19397
10/08/2024, 9:28 AMpowerful-librarian-10572
10/08/2024, 9:29 AMpowerful-librarian-10572
10/08/2024, 9:29 AMfast-minister-19397
10/08/2024, 9:30 AMthese are the error logs of the rancher pod
root@ip-172-31-29-88:/etc# kubectl logs rancher-6d49f86545-4x45t -n cattle-system | grep ERROR
2024/10/07 16:51:38 [ERROR] Failed to connect to peer <wss://10.42.0.23/v3/connect> [local ID=10.42.0.41]: websocket: bad handshake
2024/10/07 16:51:38 [ERROR] Failed to connect to peer <wss://10.42.0.24/v3/connect> [local ID=10.42.0.41]: websocket: bad handshake
2024/10/07 16:51:43 [ERROR] Failed to connect to peer <wss://10.42.0.23/v3/connect> [local ID=10.42.0.41]: websocket: bad handshake
2024/10/07 16:51:43 [ERROR] Failed to connect to peer <wss://10.42.0.24/v3/connect> [local ID=10.42.0.41]: websocket: bad handshake
2024/10/07 16:51:48 [ERROR] Failed to connect to peer <wss://10.42.0.24/v3/connect> [local ID=10.42.0.41]: dial tcp 10.42.0.24:443: connect: connection refused
2024/10/07 16:51:48 [ERROR] Failed to handle tunnel request from remote address 10.42.0.23:48302: response 400: cluster not found
2024/10/07 16:51:48 [ERROR] Failed to connect to peer <wss://10.42.0.23/v3/connect> [local ID=10.42.0.41]: websocket: bad handshake
2024/10/07 16:52:05 [ERROR] Failed to handle tunnel request from remote address 10.42.0.42:42940: response 400: cluster not found
2024/10/07 16:52:10 [ERROR] Failed to serve peer connection 10.42.0.40: websocket: close 1006 (abnormal closure): unexpected EOF
2024/10/07 23:51:56 [ERROR] error syncing 'rancher-rke2-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-rke2-charts/675f1b63a0a83905972dcab2794479ed599a6f41b86cd6193d69472d0fa889c9 fetch origin -- 197946c0a9114bb5424cb61c38823a6e0c7fad1e error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
2024/10/07 23:51:59 [ERROR] error syncing 'rancher-rke2-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-rke2-charts/675f1b63a0a83905972dcab2794479ed599a6f41b86cd6193d69472d0fa889c9 fetch origin -- 197946c0a9114bb5424cb61c38823a6e0c7fad1e error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
2024/10/07 23:52:02 [ERROR] error syncing 'rancher-rke2-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-rke2-charts/675f1b63a0a83905972dcab2794479ed599a6f41b86cd6193d69472d0fa889c9 fetch origin -- 197946c0a9114bb5424cb61c38823a6e0c7fad1e error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
2024/10/07 23:52:05 [ERROR] error syncing 'rancher-rke2-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-rke2-charts/675f1b63a0a83905972dcab2794479ed599a6f41b86cd6193d69472d0fa889c9 fetch origin -- 197946c0a9114bb5424cb61c38823a6e0c7fad1e error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
2024/10/08 01:51:58 [ERROR] error syncing 'rancher-partner-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-partner-charts/8f17acdce9bffd6e05a58a3798840e408c4ea71783381ecd2e9af30baad65974 fetch origin -- 87b254a3a2b02da351f601ce85ba042a3fa78e56 error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fast-minister-19397
10/08/2024, 9:31 AMpowerful-librarian-10572
10/08/2024, 9:32 AMfast-minister-19397
10/08/2024, 9:35 AM2024/10/07 23:52:05 [ERROR] error syncing 'rancher-rke2-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-rke2-charts/675f1b63a0a83905972dcab2794479ed599a6f41b86cd6193d69472d0fa889c9 fetch origin -- 197946c0a9114bb5424cb61c38823a6e0c7fad1e error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: the remote end hung up unexpectedly
, requeuing
2024/10/08 01:51:58 [ERROR] error syncing 'rancher-partner-charts': handler helm-clusterrepo-ensure: ensure failure: git -C /var/lib/rancher-data/local-catalogs/v2/rancher-partner-charts/8f17acdce9bffd6e05a58a3798840e408c4ea71783381ecd2e9af30baad65974 fetch origin -- 87b254a3a2b02da351f601ce85ba042a3fa78e56 error: exit status 128, detail: error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: the remote end hung up unexpectedly
, requeuing
W1008 02:51:37.962880 39 warnings.go:70] v1 ComponentStatus is deprecated in v1.19+
2024/10/08 02:51:38 [INFO] Updating TLS secret for cattle-system/tls-rancher-internal (count: 4): map[<http://field.cattle.io/projectId:local:p-npdmp|field.cattle.io/projectId:local:p-npdmp> <http://listener.cattle.io/cn-10.42.0.24:10.42.0.24|listener.cattle.io/cn-10.42.0.24:10.42.0.24> <http://listener.cattle.io/cn-10.42.0.25:10.42.0.25|listener.cattle.io/cn-10.42.0.25:10.42.0.25> <http://listener.cattle.io/cn-10.43.147.179:10.43.147.179|listener.cattle.io/cn-10.43.147.179:10.43.147.179> <http://listener.cattle.io/fingerprint:SHA1=5CF28FF59E11D4F8082313D18B2E3CDB70C6A9C3]|listener.cattle.io/fingerprint:SHA1=5CF28FF59E11D4F8082313D18B2E3CDB70C6A9C3]>
2024/10/08 02:51:38 [INFO] Updating TLS secret for cattle-system/serving-cert (count: 10): map[<http://field.cattle.io/projectId:local:p-npdmp|field.cattle.io/projectId:local:p-npdmp> <http://listener.cattle.io/cn-10.42.0.23:10.42.0.23|listener.cattle.io/cn-10.42.0.23:10.42.0.23> <http://listener.cattle.io/cn-10.42.0.24:10.42.0.24|listener.cattle.io/cn-10.42.0.24:10.42.0.24> <http://listener.cattle.io/cn-10.42.0.25:10.42.0.25|listener.cattle.io/cn-10.42.0.25:10.42.0.25> <http://listener.cattle.io/cn-10.42.0.40:10.42.0.40|listener.cattle.io/cn-10.42.0.40:10.42.0.40> <http://listener.cattle.io/cn-10.42.0.41:10.42.0.41|listener.cattle.io/cn-10.42.0.41:10.42.0.41> <http://listener.cattle.io/cn-10.42.0.42:10.42.0.42|listener.cattle.io/cn-10.42.0.42:10.42.0.42> <http://listener.cattle.io/cn-127.0.0.1:127.0.0.1|listener.cattle.io/cn-127.0.0.1:127.0.0.1> <http://listener.cattle.io/cn-localhost:localhost|listener.cattle.io/cn-localhost:localhost> <http://listener.cattle.io/cn-rancher.cattle-system:rancher.cattle-system|listener.cattle.io/cn-rancher.cattle-system:rancher.cattle-system> <http://listener.cattle.io/fingerprint:SHA1=5B5BE2B310FC9E9B42B9140CDC83931D2E1AC0E8]|listener.cattle.io/fingerprint:SHA1=5B5BE2B310FC9E9B42B9140CDC83931D2E1AC0E8]>
W1008 02:51:39.309791 39 warnings.go:70] v1 ComponentStatus is deprecated in v1.19+
powerful-librarian-10572
10/08/2024, 9:36 AMpowerful-librarian-10572
10/08/2024, 9:36 AMpowerful-librarian-10572
10/08/2024, 9:37 AMpowerful-librarian-10572
10/08/2024, 9:39 AMpowerful-librarian-10572
10/08/2024, 9:39 AMfast-minister-19397
10/08/2024, 9:42 AMfast-minister-19397
10/08/2024, 9:44 AMkubectl logs -n kube-system rke2-ingress-nginx-controller-4g4zv
W1007 15:53:22.400463 7 controller.go:1213] Service "cattle-system/rancher" does not have any active Endpoint.
W1007 15:53:22.400463 7 controller.go:1213] Service "cattle-system/rancher" does not have any active Endpoint.
fast-minister-19397
10/08/2024, 9:45 AMfast-minister-19397
10/08/2024, 12:27 PM