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
WIP: Test custom ovn images #1288
Conversation
/hold |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tssurya The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
{"component":"entrypoint","error":"wrapped process failed: exit status 124","file":"prow/entrypoint/run.go:80","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2022-01-21T16:41:35Z"} E0121 16:07:47.013389 1 pods.go:529] unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "ip-10-0-173-96.us-west-1.compute.internal" I0121 16:09:16.577441 5366 kube.go:98] Setting annotations map[k8s.ovn.org/l3-gateway-config:{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-200-88.us-west-1.compute.internal","mac-address":"06:11:53:c0:ee:67","ip-addresses":["10.0.200.88/18"],"ip-address":"10.0.200.88/18","next-hops":["10.0.192.1"],"next-hop":"10.0.192.1","node-port-enable":"true","vlan-id":"0"}} k8s.ovn.org/node-chassis-id:c2f9a7b1-db99-4f21-8024-b42e2bb3611c k8s.ovn.org/node-mgmt-port-mac-address:6a:91:92:a0:92:68 k8s.ovn.org/node-primary-ifaddr:{"ipv4":"10.0.200.88/18"}] on node ip-10-0-200-88.us-west-1.compute.internal I0121 16:09:18.750376 5851 kube.go:98] Setting annotations map[k8s.ovn.org/l3-gateway-config:{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-175-43.us-west-1.compute.internal","mac-address":"02:95:6c:f0:54:03","ip-addresses":["10.0.175.43/18"],"ip-address":"10.0.175.43/18","next-hops":["10.0.128.1"],"next-hop":"10.0.128.1","node-port-enable":"true","vlan-id":"0"}} k8s.ovn.org/node-chassis-id:667d58ab-9650-4ba2-86ed-f89eddf8ee52 k8s.ovn.org/node-mgmt-port-mac-address:3e:80:a6:3d:44:af k8s.ovn.org/node-primary-ifaddr:{"ipv4":"10.0.175.43/18"}] on node ip-10-0-175-43.us-west-1.compute.internal I0121 16:09:19.354018 3603 kube.go:98] Setting annotations map[k8s.ovn.org/l3-gateway-config:{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-208-163.us-west-1.compute.internal","mac-address":"06:5a:b9:f4:d3:bb","ip-addresses":["10.0.208.163/18"],"ip-address":"10.0.208.163/18","next-hops":["10.0.192.1"],"next-hop":"10.0.192.1","node-port-enable":"true","vlan-id":"0"}} k8s.ovn.org/node-chassis-id:6fa424ab-d3ae-4b99-bf4e-be82f856ab41 k8s.ovn.org/node-mgmt-port-mac-address:96:86:fb:47:6d:fa k8s.ovn.org/node-primary-ifaddr:{"ipv4":"10.0.208.163/18"}] on node ip-10-0-208-163.us-west-1.compute.internal I0121 16:09:19.030080 3727 kube.go:98] Setting annotations map[k8s.ovn.org/l3-gateway-config:{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-144-189.us-west-1.compute.internal","mac-address":"02:4e:49:e5:fd:33","ip-addresses":["10.0.144.189/18"],"ip-address":"10.0.144.189/18","next-hops":["10.0.128.1"],"next-hop":"10.0.128.1","node-port-enable":"true","vlan-id":"0"}} k8s.ovn.org/node-chassis-id:1dd23f35-7eb9-4f77-b2a4-4557527a4900 k8s.ovn.org/node-mgmt-port-mac-address:fa:bb:1f:87:56:23 k8s.ovn.org/node-primary-ifaddr:{"ipv4":"10.0.144.189/18"}] on node ip-10-0-144-189.us-west-1.compute.internal I0121 16:09:16.917455 6988 kube.go:98] Setting annotations map[k8s.ovn.org/l3-gateway-config:{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-173-96.us-west-1.compute.internal","mac-address":"02:10:61:cf:51:6d","ip-addresses":["10.0.173.96/18"],"ip-address":"10.0.173.96/18","next-hops":["10.0.128.1"],"next-hop":"10.0.128.1","node-port-enable":"true","vlan-id":"0"}} k8s.ovn.org/node-chassis-id:f9c494ac-93d0-4ba5-af11-b74a8a2b93fe k8s.ovn.org/node-mgmt-port-mac-address:52:a8:20:b4:c9:20 k8s.ovn.org/node-primary-ifaddr:{"ipv4":"10.0.173.96/18"}] on node ip-10-0-173-96.us-west-1.compute.internal I0121 16:09:16.005180 4116 kube.go:98] Setting annotations map[k8s.ovn.org/l3-gateway-config:{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-184-51.us-west-1.compute.internal","mac-address":"02:c9:f1:8b:ed:c9","ip-addresses":["10.0.184.51/18"],"ip-address":"10.0.184.51/18","next-hops":["10.0.128.1"],"next-hop":"10.0.128.1","node-port-enable":"true","vlan-id":"0"}} k8s.ovn.org/node-chassis-id:f9ac92ef-6851-496c-8279-95221a084028 k8s.ovn.org/node-mgmt-port-mac-address:3e:a3:01:37:75:27 k8s.ovn.org/node-primary-ifaddr:{"ipv4":"10.0.184.51/18"}] on node ip-10-0-184-51.us-west-1.compute.internal We should see the SNAT adds happening post this step. |
[surya@hidden-temple Downloads]$ omg get pods -n openshift-ingress -owide I don't see any SNAT's being added for pod 10.129.0.13 :) |
The way I see it rn. 1 - The l3 gateway annotation is nil. |
I0121 16:09:16.590644 1 transact.go:41] Configuring OVN: [{Op:update Table:Logical_Router Row:map[external_ids:{GoMap:map[physical_ip:10.0.184.51 physical_ips:10.0.184.51]} load_balancer_group:{GoSet:[{GoUUID:4241465e-03f3-46b4-9379-f2e39228018d}]} options:{GoMap:map[always_learn_from_arp_request:false chassis:f9ac92ef-6851-496c-8279-95221a084028 dynamic_neigh_routers:true lb_force_snat_ip:router_ip snat-ct-zone:0]}] Rows:[] Columns:[] Mutations:[] Timeout:0 Where:[where column _uuid == {c9e1eec8-b0b1-4b0a-b98a-d4d36be052a5}] Until: Durable: Comment: Lock: UUIDName:}] |
/test e2e-network-migration |
actually https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_cluster-network-operator/1288/pull-ci-openshift-cluster-network-operator-master-e2e-network-migration/1484625495885615104 fixed the error we were facing before. This time the run failed because apiserver didn't come up:
|
/test e2e-aws-ovn-windows |
I0121 21:37:03.826560 1 pods.go:332] [openshift-apiserver/apiserver-865c74cbcd-rfcts] creating logical port for pod on switch ip-10-0-237-148.us-west-2.compute.internal E0121 21:37:03.826791 1 ovn.go:646] unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "ip-10-0-237-148.us-west-2.compute.internal" I0121 21:37:03.826622 1 pods.go:322] [openshift-apiserver/apiserver-865c74cbcd-rfcts] addLogicalPort took 82.634µs I0121 21:37:03.826961 1 event.go:282] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-apiserver", Name:"apiserver-865c74cbcd-rfcts", UID:"2a18bedb-9ac3-4796-8d2f-acd01996f251", APIVersion:"v1", ResourceVersion:"46393", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "ip-10-0-237-148.us-west-2.compute.internal" ======we start adding NATs from: I0121 21:37:58.341727 1 event.go:282] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-service-ca", Name:"service-ca-f8b67997d-wb9h8", UID:"440f66b3-0f51-41e2-b1b4-93961bd46b67", APIVersion:"v1", ResourceVersion:"46394", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "ip-10-0-237-148.us-west-2.compute.internal" I0121 21:37:58.341860 1 transact.go:41] Configuring OVN: [{Op:insert Table:NAT Row:map[external_ip:10.0.137.79 logical_ip:10.131.0.11 options:{GoMap:map[stateless:false]} type:snat] Rows:[] Columns:[] Mutations:[] Timeout:0 Where:[] Until: Durable: Comment: Lock: UUIDName:u2596996928} {Op:mutate Table:Logical_Router Row:map[] Rows:[] Columns:[] Mutations:[{Column:nat Mutator:insert Value:{GoSet:[{GoUUID:u2596996928}]}}] Timeout:0 Where:[where column _uuid == {36052781-b665-499a-8da1-fc2eb4d822c4}] Until: Durable: Comment: Lock: UUIDName:}] ============ |
Conclusion: Some pods are not getting added to the retry queue properly. I0121 21:37:03.827806 1 event.go:282] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-network-diagnostics", Name:"network-check-target-mkdws", UID:"47b68e1a-e9e2-4e90-aa91-0622a3b258db", APIVersion:"v1", ResourceVersion:"46460", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "ip-10-0-237-148.us-west-2.compute.internal" [surya@hidden-temple scripts]$ omg get pods -n openshift-network-diagnostics -owide Those that do get added to the queue get scheduled correctly. |
4a3a998
to
1640306
Compare
It seems like there is something very wrong with the retryPods map. |
/test e2e-network-migration |
/retest |
Gonna re-use this PR to test ovn-org/ovn-kubernetes#2787. Let's see if add/del retries create problems for us. |
testing https://github.com/ovn-org/ovn-kubernetes/pull/2870/files let's see how the migration jobs look |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
@tssurya: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
No description provided.