Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1750665

Summary: Change default upload frequency from 10m to 2hrs
Product: OpenShift Container Platform Reporter: Radek Vokál <rvokal>
Component: Insights OperatorAssignee: Ivan Necas <inecas>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: unspecified Docs Contact: Radek Vokál <rvokal>
Priority: unspecified    
Version: 4.2.0CC: calfonso, dmisharo
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1788118 (view as bug list) Environment:
Last Closed: 2019-10-16 06:40:52 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:
Bug Depends On:    
Bug Blocks: 1788118    

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