We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport fix for Duplicate endpoints prevents any endpoint from being used
The text was updated successfully, but these errors were encountered:
Infrastructure
Node(s) CPU architecture, OS, and Version:
$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.2 LTS" $ uname -m x86_64
Cluster Configuration:
HA : 3 server / 1 agent
or
1 server/ 1 agent
Config.yaml:
token: xxxx write-kubeconfig-mode: "0644" node-external-ip: 1.1.1.1 debug: true
Additional files
registries.yaml
mirrors: docker.io: endpoint: - https://registry.example.com - https://registry.example.com
$ sudo mkdir -p /etc/rancher/rke2 && sudo cp config.yaml /etc/rancher/rke2
curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_VERSION='v1.26.15-rc1+rke2r1' INSTALL_RKE2_TYPE='server' INSTALL_RKE2_METHOD=tar sh -
$ sudo systemctl enable --now rke2-server or $ sudo systemctl enable --now rke2-agent
kubectl get nodes -o wide kubectl get pods -A
sudo cat /var/lib/rancher/rke2/agent/etc/containerd/certs.d/docker.io/hosts.toml
Check containerd logs for errors:
sudo cat /var/lib/rancher/rke2/agent/containerd/containerd.log | grep error | grep TOML on server1
Replication Results:
$ rke2 -v rke2 version v1.26.14+rke2r1 (93518400c62043756be7e321480bcd5f19f42bbf) go version go1.21.7 X:boringcrypto
$ sudo cat /var/lib/rancher/rke2/agent/etc/containerd/certs.d/docker.io/hosts.toml # File generated by rke2. DO NOT EDIT. server = "https://registry-1.docker.io/v2" [host."https://registry.example.com/v2"] capabilities = ["pull", "resolve"] ca = ["/home/ubuntu/ca.pem"] [host."https://registry.example.com/v2"] capabilities = ["pull", "resolve"] ca = ["/home/ubuntu/ca.pem"]
$ sudo cat /var/lib/rancher/rke2/agent/containerd/containerd.log | grep error | grep TOML on server1 time="2024-03-15T02:15:17.509832797Z" level=error msg="failed to decode hosts.toml" error="failed to parse TOML: (8, 2): duplicated tables" time="2024-03-15T02:15:17.660226037Z" level=error msg="failed to decode hosts.toml" error="failed to parse TOML: (8, 2): duplicated tables"
Validation Results:
$ rke2 -v rke2 version v1.26.15-rc1+rke2r1 (a413a7fe6321b73971e66b6b8eb87900a40de559) go version go1.21.8 X:boringcrypto
$ sudo cat /var/lib/rancher/rke2/agent/etc/containerd/certs.d/docker.io/hosts.toml # File generated by rke2. DO NOT EDIT. server = "https://registry-1.docker.io/v2" capabilities = ["pull", "resolve", "push"] [host."https://registry.example.com/v2"] capabilities = ["pull", "resolve"]
$ sudo cat /var/lib/rancher/rke2/agent/containerd/containerd.log | grep error | grep TOML on server1
Sorry, something went wrong.
brandond
aganesh-suse
No branches or pull requests
Backport fix for Duplicate endpoints prevents any endpoint from being used
The text was updated successfully, but these errors were encountered: