Bug 1753755
| Summary: | insights-operator recorder does not respect override interval | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Clayton Coleman <ccoleman> |
| Component: | Insights Operator | Assignee: | Ivan Necas <inecas> |
| Status: | CLOSED ERRATA | QA Contact: | Angelina Vasileva <anikifor> |
| Severity: | high | Docs Contact: | Radek Vokál <rvokal> |
| Priority: | unspecified | ||
| Version: | 4.2.0 | CC: | anikifor, avicenzi, dmisharo |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-04 11:13:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Clayton Coleman
2019-09-19 18:39:16 UTC
This is fixed by https://github.com/openshift/insights-operator/pull/40 and I was able to verify it in 4.3.0-0.nightly-2020-02-17-055729. Verification steps: # there's a secret that already overrides the default $ oc logs -n openshift-insights $(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers) | grep Gathering I0217 13:39:35.035936 1 periodic.go:113] Gathering cluster info every 10m0s # delete the secret $ oc -n openshift-config delete secret support secret "support" deleted # add new secret $ oc -n openshift-config create secret generic support --from-literal=interval=20m --dry-run -o yaml | oc apply -f - -n openshift-config secret/support created # restart insights-operator $ oc delete pods --namespace=openshift-insights --all pod "insights-operator-568fd7cf58-64h2z" deleted # check the new gathering interval is applied $ oc logs -n openshift-insights $(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers) | grep Gathering I0217 13:44:28.808874 1 periodic.go:113] Gathering cluster info every 20m0s Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581 |