Bug 1953152 - Cronjob example for Logging are using older format before errata for fixing failed cronjobs
Summary: Cronjob example for Logging are using older format before errata for fixing f...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Rolfe Dlugy-Hegwer
QA Contact: Xiaoli Tian
Petr Kovar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-24 07:15 UTC by Oscar Casal Sanchez
Modified: 2024-10-01 18:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-17 22:56:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHDEVDOCS-3094 0 Low Open Bug 1953152 - Cronjob example for Logging are using older format before errata for fixing failed cronjobs 2021-06-17 20:30:59 UTC
Red Hat Knowledge Base (Solution) 6044991 0 None None None 2021-05-16 08:51:24 UTC

Description Oscar Casal Sanchez 2021-04-24 07:15:45 UTC
[Document URL ]
https://docs.openshift.com/container-platform/4.6/logging/cluster-logging-upgrading.html#cluster-logging-updating-logging_cluster-logging-upgrading

[Section Number and Name] 
Updating cluster logging

[Describe the issue] 
In one ERRATA it was changed how the cronjobs were executed and in the past. One rollover and one delete cronjob existed to delete/rollover each kind of indice (app, infra, audit). 

Then, the current examples in the logging documentation are wrong, like this:

~~~
NAME                           SCHEDULE       SUSPEND   ACTIVE   LAST SCHEDULE   AGE
elasticsearch-delete-app       */15 * * * *   False     0        <none>          27s
elasticsearch-delete-audit     */15 * * * *   False     0        <none>          27s
elasticsearch-delete-infra     */15 * * * *   False     0        <none>          27s
elasticsearch-rollover-app     */15 * * * *   False     0        <none>          27s
elasticsearch-rollover-audit   */15 * * * *   False     0        <none>          27s
elasticsearch-rollover-infra   */15 * * * *   False     0        <none>          27s
~~~

Where it should be like this:

~~~
$ oc get cronjob
NAME                     SCHEDULE       SUSPEND   ACTIVE   LAST SCHEDULE   AGE
curator                  */5 * * * *    False     0        4m50s           2d13h
elasticsearch-im-app     */15 * * * *   False     0        9m50s           2d13h
elasticsearch-im-audit   */15 * * * *   False     0        9m50s           2d13h
elasticsearch-im-infra   */15 * * * *   False     0        9m50s           2d13h
~~~

Comment 2 Rolfe Dlugy-Hegwer 2021-06-17 22:56:08 UTC
Already fixed in https://issues.redhat.com/browse/RHDEVDOCS-2945


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