This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (t *Transaction) Wait(database, table string, timeout *int, where []ovsdb.Condition, columns []string, until string, rows []ovsdb.Row) ovsdb.OperationResult { | |
start := time.Now() | |
if until != "!=" || until != "==" { | |
e := ovsdb.NotSupported{} | |
return ovsdb.OperationResult{Error: e.Error()} | |
} | |
dbModel := t.Model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (t *Transaction) Wait(database, table string, timeout *int, where []ovsdb.Condition, columns []string, until string, rows []ovsdb.Row) ovsdb.OperationResult { | |
start := time.Now() | |
if until != "!=" || until != "==" { | |
e := ovsdb.NotSupported{} | |
return ovsdb.OperationResult{Error: e.Error()} | |
} | |
var results []ovsdb.Row | |
dbModel := t.Model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
• Failure [1.335 seconds] | |
OVN NetworkPolicy Operations | |
/home/trozet/go/src/github.com/ovn-org/ovn-kubernetes/go-controller/pkg/ovn/policy_test.go:683 | |
on startup | |
/home/trozet/go/src/github.com/ovn-org/ovn-kubernetes/go-controller/pkg/ovn/policy_test.go:723 | |
reconciles an existing gress networkPolicy with a pod selector in its own namespace [It] | |
/home/trozet/go/src/github.com/ovn-org/ovn-kubernetes/go-controller/pkg/ovn/policy_test.go:882 | |
Timed out after 1.001s. | |
Expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trozet@fedora contrib]$ kubectl get svc | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 5m23s | |
my-service NodePort 10.96.76.30 1.1.1.1 1337:32177/UDP,80:30710/TCP 87s | |
[trozet@fedora contrib]$ kubectl exec -n exgw2 -it podexgw2 /bin/bash | |
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. | |
[root@podexgw2 /]# curl 1.1.1.1:80 | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html> | |
<title>Directory listing for /</title> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trozet@fedora contrib]$ kubectl logs -n ovn-kubernetes ovnkube-master-7c7c8dc6b6-gfcwd -c ovnkube-master | grep mcast_snoop:false | |
[trozet@fedora contrib]$ kubectl logs -n ovn-kubernetes ovnkube-master-7c7c8dc6b6-gfcwd -c ovnkube-master | grep mcast_snoop:true | |
I1117 16:07:31.726562 39 cache.go:632] cache "msg"="creating row" "database"="OVN_Northbound" "table"="Logical_Switch" "uuid"="9ac72064-8f83-4989-ab32-e3abfe80e446" "model"="&{UUID:9ac72064-8f83-4989-ab32-e3abfe80e446 ACLs:[1209ce3b-abce-49cc-bcfe-f746a81ad24b] DNSRecords:[] ExternalIDs:map[] ForwardingGroups:[] LoadBalancer:[43107d69-2eec-46e2-97a2-dbe33cdc74c4 56c2fb3f-fd87-4207-b855-6d972d068cf2 ea1e998a-d866-4485-849e-071d8187124a] Name:ovn-control-plane OtherConfig:map[mcast_eth_src:0a:58:0a:f4:01:01 mcast_ip4_src:10.244.1.1 mcast_querier:true mcast_snoop:true subnet:10.244.1.0/24] Ports:[0231cef7-68fa-483e-87fb-0fbb2502380c 4b9c258f-7f79-47c5-bc81-e15b11adb012 63fe4f3d-50bf-493d-852e-27f36c02da5c 7d5e2e9a-b949-4ec2-b181-ed71fb2344be dd291b64- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trozet@fedora ovn-kubernetes]$ git diff | |
diff --git a/go-controller/pkg/factory/types.go b/go-controller/pkg/factory/types.go | |
index 04c8612df..f855ca961 100644 | |
--- a/go-controller/pkg/factory/types.go | |
+++ b/go-controller/pkg/factory/types.go | |
@@ -45,6 +45,8 @@ type NodeWatchFactory interface { | |
NodeInformer() cache.SharedIndexInformer | |
LocalPodInformer() cache.SharedIndexInformer | |
+ GetNode(name string) (*kapi.Node, error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"eid":"6a9543aa-e6b6-4727-a617-fb1dd5c7de5f","data":[null,{"Load_Balancer":{"04e757c9-c4dd-4208-aff1-9dd5d0797982":{"datapaths":["set",[["uuid","2ba0e27a-9ebf-42de-913c-27aff05680a7"],["uuid","3a7609f3-e066-4931-b371-a8d0f26f4129"],["uuid","728f57b6-5ac1-499d-80ee-0dbce55d7b14"],["uuid","8a940cfb-0481-45b8-ba11-16844dd40f22"],["uuid","e1bca5c8-9158-47db-bb82-debe0f8efb76"],["uuid","f2764805-6399-4b45-9e43-ac3a22771b73"]]],"external_ids":["map",[["lb_id","1a9940f5-a023-4fce-b2b5-6c0f4c86f5f5"]]],"name":"Service_e2e-services-5909/no-pods_TCP_cluster","options":["map",[["event","false"],["hairpin_orig_tuple","true"],["reject","true"],["skip_snat","false"]]],"protocol":"tcp","vips":["map",[["172.30.20.58:80",""]]]}},"Logical_Flow":{"010e24e1-4f58-4411-b84b-09ff0e3b6307":{"actions":"eth.dst = eth.src; eth.src = xreg0[0..47]; arp.op = 2; /* ARP reply */ arp.tha = arp.sha; arp.sha = xreg0[0..47]; arp.tpa <-> arp.spa; outport = inport; flags.loopback = 1; output;","external_ids":["map",[["source","northd.c:9867"],[" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trozet@fedora contrib]$ kubectl logs -n ovn-kubernetes ovnkube-master-794cc6b69c-9n48n -c ovnkube-master | grep min-service | |
I1112 16:38:34.472971 62 services_controller.go:351] Adding service default/min-service | |
I1112 16:38:34.473010 62 services_controller.go:233] Processing sync for service default/min-service | |
I1112 16:38:34.473040 62 services_controller.go:286] Built service default/min-service LB cluster-wide configs []services.lbConfig{services.lbConfig{vips:[]string{"10.96.149.72"}, protocol:"UDP", inport:9999, eps:util.LbEndpoints{V4IPs:[]string(nil), V6IPs:[]string(nil), Port:0}, externalTrafficLocal:false}} | |
I1112 16:38:34.473061 62 services_controller.go:287] Built service default/min-service LB per-node configs []services.lbConfig(nil) | |
I1112 16:38:34.473080 62 services_controller.go:293] Service default/min-service has 1 cluster-wide and 0 per-node configs, making 1 and 0 load balancers | |
I1112 16:38:34.473175 62 ovs.go:209] exec(119): /usr/bin/ovn-nbctl --timeout=15 crea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I1112 01:52:56.689698 1 transact.go:41] Configuring OVN: [{Op:insert Table:Load_Balancer Row:map[external_ids:{GoMap:map[k8s.ovn.org/kind:Service k8s.ovn.org/owner:e2e-services-5909/no-pods]} name:Service_e2e-services-5909/no-pods_TCP_cluster options:{GoMap:map[event:false reject:true skip_snat:false]} protocol:{GoSet:[tcp]} vips:{GoMap:map[172.30.20.58:80:]}] Rows:[] Columns:[] Mutations:[] Timeout:0 Where:[] Until: Durable:<nil> Comment:<nil> Lock:<nil> UUIDName:u2596998795} {Op:mutate Table:Logical_Switch Row:map[] Rows:[] Columns:[] Mutations:[{Column:load_balancer Mutator:insert Value:{GoSet:[{GoUUID:u2596998795}]}}] Timeout:0 Where:[where column _uuid == {5975f83f-bd19-4090-8d85-6f4fab77749d}] Until: Durable:<nil> Comment:<nil> Lock:<nil> UUIDName:} {Op:mutate Table:Logical_Switch Row:map[] Rows:[] Columns:[] Mutations:[{Column:load_balancer Mutator:insert Value:{GoSet:[{GoUUID:u2596998795}]}}] Timeout:0 Where:[where column _uuid == {f58deded-9228-473f-8f59-f224202744cd}] Until: Durable:<nil> Comm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trozet@fedora Downloads]$ cat ovnkube-master-not-connected.log | egrep 'reconnect|not connected|e2e-test-default-rbac-policy-gr8fr' | |
I1109 13:59:24.195903 1 namespace.go:183] [e2e-test-default-rbac-policy-gr8fr] adding namespace | |
I1109 13:59:24.920563 1 client.go:723] "msg"="transacting operations" "database"="OVN_Northbound" "operations"="[{Op:insert Table:Address_Set Row:map[external_ids:{GoMap:map[name:e2e-test-default-rbac-policy-gr8fr_v4]} name:a9121939770815115361] Rows:[] Columns:[] Mutations:[] Timeout:0 Where:[] Until: Durable:<nil> Comment:<nil> Lock:<nil> UUIDName:}]" | |
I1109 13:59:24.931687 1 cache.go:642] cache "msg"="creating row" "database"="OVN_Northbound" "table"="Address_Set" "uuid"="c4fbbe02-0892-4f5e-8c25-e31f8d457188" "model"="&{UUID:c4fbbe02-0892-4f5e-8c25-e31f8d457188 Addresses:[] ExternalIDs:map[name:e2e-test-default-rbac-policy-gr8fr_v4] Name:a9121939770815115361}" | |
I1109 13:59:24.947273 1 address_set.go:365] New(c4fbbe02-0892-4f5e-8c25-e31f8d457188/e2e-test-defa |