Bug 1750665 - Change default upload frequency from 10m to 2hrs
Summary: Change default upload frequency from 10m to 2hrs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.2.0
Assignee: Ivan Necas
QA Contact: Dmitry Misharov
Radek Vokál
URL:
Whiteboard:
Depends On:
Blocks: 1788118
TreeView+ depends on / blocked
 
Reported: 2019-09-10 08:06 UTC by Radek Vokál
Modified: 2020-01-06 13:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1788118 (view as bug list)
Environment:
Last Closed: 2019-10-16 06:40:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 18 0 'None' closed Bug 1750665 - increase default interval 2021-02-12 06:58:41 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:41:04 UTC

Description Radek Vokál 2019-09-10 08:06:54 UTC
Description of problem:

At this point insights operator uploads data every 10 minutes. This was set for testing purposes but for production the time should be reduced to 2hours. 

Note:
Please make sure the time value can be overridden in CI to 10 minutes

Comment 3 Dmitry Misharov 2019-09-19 08:06:14 UTC
Verified on 4.2.0-0.ci-2019-09-19-043318.
Steps to verify:
1. oc -n openshift-config delete secret support
2. oc delete pods --namespace=openshift-insights --all
3. oc logs -n openshift-insights $(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers)
In the logs:
I0919 07:58:07.486224       1 configobserver.go:214] Configuration updated: enabled=true endpoint=https://cloud.redhat.com/api/ingress/v1/upload interval=2h0m0s username=false token=true
I0919 07:58:07.486255       1 configobserver.go:104] Refreshing configuration from cluster secret
I0919 07:58:07.489405       1 configobserver.go:108] Support secret does not exist
I0919 07:58:07.489728       1 periodic.go:81] Gathering cluster info every 2h0m0s

Comment 4 errata-xmlrpc 2019-10-16 06:40:52 UTC
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-2019:2922


Note You need to log in before you can comment on or make changes to this bug.