Skip to content
New issue

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

[Release 1.25] Felix on rke2-windows using the wrong DatastoreType config #4574

Closed
manuelbuil opened this issue Aug 4, 2023 · 1 comment
Closed
Assignees

Comments

@manuelbuil
Copy link
Contributor

Backport: #4569

@est-suse
Copy link
Contributor

est-suse commented Aug 9, 2023

Validated on 1.25 branch with commit 58a2b41

rke2 version v1.25.12-dev+58a2b41e (58a2b41ec457d3876a3a96dbe5bb2cbec13f6b69)
go version go1.20.6 X:boringcrypto

Node(s) CPU architecture, OS, and Version:

Ubuntu 22.04 as Linux server and agent
Windows 2019 (1809) as Windows agent node

Cluster Configuration:

1 server, 1 agent and 1 windows agent

Config.yaml:

write-kubeconfig-mode: "0644"
cni: calico

Validation Results:

Copy config.yaml
$ sudo mkdir -p /etc/rancher/rke2 && sudo cp config.yaml /etc/rancher/rke2
Install RKE2 on server node
Join agent node and Windows agent node
Search for DatastoreType on both Linux server and Windows Agent node as mentioned here: https://github.com/rancher/rke2/issues/4569#issue-1835321067
Parsed value for DatastoreType: kubernetes (from environment variable)
2023-08-09 18:08:44.193 [INFO][76] felix/int_dataplane.go 1836: Received *proto.ConfigUpdate update from calculation graph msg=config:<key:"CalicoVersion" value:"v3.26.1" > config:<key:"ClusterGUID" value:"31fa0128b466436ebbecd3233e60aab5" > config:<key:"ClusterType" value:"typha,kdd,k8s,operator" > config:<key:"DatastoreType" value:"kubernetes" >
2023-08-09 19:25:57.012 [INFO][2592] felix/config_params.go 648: Parsed value for DatastoreType: kubernetes (from environment variable)
2023-08-09 19:25:57.012 [INFO][2592] felix/win_dataplane.go 256: Received *proto.ConfigUpdate update from calculation graph msg=config:<key:"CalicoVersion" value:"v3.26.1" > config:<key:"ClusterGUID" value:"31fa0128b466436ebbecd3233e60aab5" > config:<key:"ClusterType" value:"typha,kdd,k8s,operator,win" > config:<key:"DatastoreType" value:"kubernetes" > 
NAME                                          STATUS   ROLES                       AGE     VERSION
ip-172-31-15-254.us-east-2.compute.internal   Ready    <none>                      87m     v1.25.12+rke2r1
ip-172-31-2-209.us-east-2.compute.internal    Ready    control-plane,etcd,master   96m     v1.25.12+rke2r1
ip-ac1f0b81                                   Ready    <none>                      9m12s   v1.25.12

NAMESPACE         NAME                                                                  READY   STATUS      RESTARTS      AGE
calico-system     calico-kube-controllers-868dc6c68-sj9nw                               1/1     Running     0             94m
calico-system     calico-node-br8xv                                                     1/1     Running     0             94m
calico-system     calico-node-rc7td                                                     1/1     Running     0             88m
calico-system     calico-typha-b58647749-jjqvt                                          1/1     Running     0             9m25s
calico-system     calico-typha-b58647749-xksjc                                          1/1     Running     0             94m
kube-system       cloud-controller-manager-ip-172-31-2-209.us-east-2.compute.internal   1/1     Running     0             95m
kube-system       etcd-ip-172-31-2-209.us-east-2.compute.internal                       1/1     Running     0             95m
kube-system       helm-install-rke2-calico-crd-5f54f                                    0/1     Completed   0             96m
kube-system       helm-install-rke2-calico-wd9rd                                        0/1     Completed   2             96m
kube-system       helm-install-rke2-coredns-q6w4c                                       0/1     Completed   0             96m
kube-system       helm-install-rke2-ingress-nginx-5bqz4                                 0/1     Completed   0             96m
kube-system       helm-install-rke2-metrics-server-lb2zt                                0/1     Completed   0             96m
kube-system       helm-install-rke2-snapshot-controller-bwhk2                           0/1     Completed   1             96m
kube-system       helm-install-rke2-snapshot-controller-crd-tzcsh                       0/1     Completed   0             96m
kube-system       helm-install-rke2-snapshot-validation-webhook-4zqf8                   0/1     Completed   0             96m
kube-system       kube-apiserver-ip-172-31-2-209.us-east-2.compute.internal             1/1     Running     0             95m
kube-system       kube-controller-manager-ip-172-31-2-209.us-east-2.compute.internal    1/1     Running     1 (95m ago)   96m
kube-system       kube-proxy-ip-172-31-15-254.us-east-2.compute.internal                1/1     Running     0             88m
kube-system       kube-proxy-ip-172-31-2-209.us-east-2.compute.internal                 1/1     Running     0             96m
kube-system       kube-scheduler-ip-172-31-2-209.us-east-2.compute.internal             1/1     Running     1 (95m ago)   96m
kube-system       rke2-coredns-rke2-coredns-546587f99c-jc9kx                            1/1     Running     0             94m
kube-system       rke2-coredns-rke2-coredns-546587f99c-sqf96                            1/1     Running     0             52m
kube-system       rke2-coredns-rke2-coredns-autoscaler-797c865dbd-4gfhx                 1/1     Running     0             94m
kube-system       rke2-ingress-nginx-controller-2rppk                                   1/1     Running     0             86m
kube-system       rke2-ingress-nginx-controller-48kq6                                   1/1     Running     0             89m
kube-system       rke2-metrics-server-78b84fff48-fxp42                                  1/1     Running     0             52m
kube-system       rke2-snapshot-controller-849d69c748-d8gvj                             1/1     Running     0             52m
kube-system       rke2-snapshot-validation-webhook-7f955488ff-42sw8                     1/1     Running     0             52m
tigera-operator   tigera-operator-69685c584-9xj7b                                       1/1     Running     0             94m

@est-suse est-suse closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants