Arnab Ghosh

Results 20 comments of Arnab Ghosh

I am facing a similar problem where target is not active for a servicemonitor. ~~~ level=warn ts=2024-01-17T15:17:04.607817181Z caller=resource_selector.go:174 component=prometheusoperator msg="skipping servicemonitor" error="failed to get cert: unable to get secret \"ovn-control-plane-metrics-cert\":...

sh-4.4$ /usr/bin/operator -version prometheus-operator, version 0.67.1 (branch: rhaos-4.14-rhel-8, revision: 553f776) build user: root build date: 20231009-17:54:20

As it turns out errors.As() is not [supported](https://pkg.go.dev/k8s.io/apimachinery/pkg/util/errors#Aggregate) with Aggregate type error. When we are passing Aggregate type error to IsSuppressedError() [function](https://github.com/ovn-org/ovn-kubernetes/blob/master/go-controller/pkg/types/errors.go#L26) it always returns false and as a result...

I have added a function setGlobalForwardingRule() to enable or disable forwarding for all IPv4 and IPv6 interfaces based on config.Gateway.DisableForwarding. Currently we enable forwarding sysctl parameters for Global ipForwarding mode...

Unit test passed in local environment. Unrelated flake from ovn-kubernetes/go-controller/pkg/ovn/egressip_test.go:1981 /retest-required