Open sheidkamp opened 1 month ago
From gloo logs attached to nightly run, appears to be eventual consistency issue with route options creation. First step should be to check if we validate that the basic-rto is created before moving on to apply other resources and/or route traffic
{"level":"error","ts":"2024-07-10T05:45:41.128Z","logger":"k8s-gw-syncer","caller":"routeoptions/route_options_plugin.go:186","msg":"error getting RouteOptions for Route: extensionRef 'gateway.solo.io' of type RouteOption.basic-rto in namespace 'default' not found","stacktrace":"github.com/solo-io/gloo/projects/gateway2/translator/plugins/routeoptions.(*plugin).handleAttachment\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/plugins/routeoptions/route_options_plugin.go:186\ngithub.com/solo-io/gloo/projects/gateway2/translator/plugins/routeoptions.(*plugin).ApplyRoutePlugin\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/plugins/routeoptions/route_options_plugin.go:82\ngithub.com/solo-io/gloo/projects/gateway2/translator/httproute.translateGatewayHTTPRouteRule\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/httproute/gateway_http_route_translator.go:166\ngithub.com/solo-io/gloo/projects/gateway2/translator/httproute.translateGatewayHTTPRouteRulesUtil\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/httproute/gateway_http_route_translator.go:85\ngithub.com/solo-io/gloo/projects/gateway2/translator/httproute.TranslateGatewayHTTPRouteRules\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/httproute/gateway_http_route_translator.go:57\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.buildRoutesPerHost\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:434\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.(*httpFilterChain).translateHttpFilterChain\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:307\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.(*mergedListener).translateListener\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:226\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.(*mergedListeners).translateListeners\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:184\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.TranslateListeners\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:40\ngithub.com/solo-io/gloo/projects/gateway2/translator.(*translator).TranslateProxy\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/gateway_translator.go:74\ngithub.com/solo-io/gloo/projects/gateway2/proxy_syncer.(*ProxySyncer).Start.func1\n\t/home/runner/work/gloo/gloo/projects/gateway2/proxy_syncer/proxy_syncer.go:134\ngithub.com/solo-io/gloo/projects/gateway2/proxy_syncer.(*ProxySyncer).Start\n\t/home/runner/work/gloo/gloo/projects/gateway2/proxy_syncer/proxy_syncer.go:168\nsigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.4/pkg/manager/runnable_group.go:223"}
Which tests failed?
TestK8sGateway/RouteOptions/TestConfigureRouteOptionsWithFilterExtension
Initial Investigation
No response
Additional Information
No response