Closed zhiweiyin318 closed 3 years ago
change to devel, and the same errors in submariner-routeagent pods. image info:
image: quay.io/submariner/submariner-route-agent:devel
imageID: quay.io/submariner/submariner-route-agent@sha256:fe8556c3c288557ffbc8a191ed23fc362550a15747a54c6a62739ed61e82491f
logs:
I1126 00:35:29.091699 1 main.go:47] Starting submariner-route-agent
W1126 00:35:29.092122 1 client_config.go:543] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
I1126 00:35:29.103507 1 route.go:192] Starting Route Controller. ClusterID: roks, localClusterCIDR: [172.30.0.0/16], localServiceCIDR: [172.21.0.0/16]
I1126 00:35:29.103659 1 route.go:196] Waiting for Endpoint informer caches to sync.
I1126 00:35:29.142451 1 route.go:656] Enqueueing sm-route-agent-pod event, ip: 10.188.58.211
I1126 00:35:29.142501 1 route.go:656] Enqueueing sm-route-agent-pod event, ip: 10.39.7.228
I1126 00:35:29.142546 1 route.go:656] Enqueueing sm-route-agent-pod event, ip: 10.211.78.120
I1126 00:35:29.205551 1 driver.go:37] Interface "lo" has "127.0.0.1" address
I1126 00:35:29.205713 1 driver.go:37] Interface "lo" has "172.20.0.1" address
I1126 00:35:29.205995 1 driver.go:37] Interface "eth0" has "10.188.58.211" address
I1126 00:35:29.206199 1 driver.go:37] Interface "eth1" has "169.60.100.23" address
I1126 00:35:29.206285 1 driver.go:37] Interface "eth1" has "169.60.85.246" address
I1126 00:35:29.206334 1 driver.go:37] Interface "eth1" has "169.60.85.245" address
I1126 00:35:29.206613 1 driver.go:37] Interface "vethlocal" has "127.0.0.10" address
I1126 00:35:29.206857 1 driver.go:37] Interface "tunl0" has "172.30.45.0" address
I1126 00:35:29.206955 1 driver.go:42] Found CNI Interface "tunl0" that has IP "172.30.45.0" from ClusterCIDR "172.30.0.0/16"
I1126 00:35:29.207161 1 driver.go:60] Successfully configured rp_filter to loose mode(2) on cniInterface "tunl0"
I1126 00:35:29.215226 1 iptables.go:22] Install/ensure SUBMARINER-POSTROUTING chain exists
I1126 00:35:29.232408 1 iptables.go:28] Insert SUBMARINER-POSTROUTING rule that has rules for inter-cluster traffic
I1126 00:35:29.243949 1 util.go:225] In nat table, iptables rule "-j SUBMARINER-POSTROUTING", exists at index 2.
I1126 00:35:29.267722 1 iptables.go:34] Install/ensure SUBMARINER-INPUT chain exists
I1126 00:35:29.293085 1 iptables.go:45] Allow VxLAN incoming traffic in SUBMARINER-INPUT Chain
I1126 00:35:29.305155 1 iptables.go:53] Insert rule to allow traffic over vx-submariner interface in FORWARDing Chain
I1126 00:35:29.315651 1 util.go:225] In filter table, iptables rule "-o vx-submariner -j ACCEPT", exists at index 2.
I1126 00:35:29.336858 1 iptables.go:65] Installing rule for host network to remote cluster communication: -s 240.0.0.0/8 -o vx-submariner -j SNAT --to 172.30.45.0
I1126 00:35:29.368211 1 route.go:254] In roks, podIP of submariner-route-agent[0] is 10.211.78.120
I1126 00:35:29.368250 1 route.go:254] In roks, podIP of submariner-route-agent[1] is 10.188.58.211
I1126 00:35:29.368261 1 route.go:254] In roks, podIP of submariner-route-agent[2] is 10.39.7.228
I1126 00:35:29.368270 1 route.go:268] Hostname is "kube-buv54iew0b0jvg5gvfqg-yzwtest-default-000002a6.iks.ibm" and routeAgentNodeName is ""
F1126 00:35:29.368286 1 main.go:98] Error running route controller: could not get the nodeName on host "kube-buv54iew0b0jvg5gvfqg-yzwtest-default-000002a6.iks.ibm"
@zhiweiyin318 thanks for reporting the issue. As discussed over slack, lets retry this with the new route-agent-driver which uses a different mechanism to annotate a node.
it can works on ROKS using submariner devel. thanks for supports from team.
Just for notes, the problem with route-agent mentioned in this issue is resolved via the following PR - https://github.com/submariner-io/submariner/pull/946/commits/9a384f7f80fed26ab855260b710acf72e3ba87b6
What happened: the submariner-routeagent pods are CrashLoopBackOff when I run submariner on ROKS (Openshift on IBM Cloud).
What you expected to happen: Please help to check
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
subctl version
): 0.7.0kubectl version
): OCP 4.4.29_1525cat /etc/os-release
):uname -a
):