Bug 2183444

Summary: [GSS] Modify the schedule to run ReclaimSpaceJob accidentally disabled CronJob.
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Kenichiro Kagoshima <kkagoshi>
Component: csi-addonsAssignee: Rakshith <rar>
Status: CLOSED ERRATA QA Contact: Yuli Persky <ypersky>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.12CC: hnallurv, kramdoss, odf-bz-bot
Target Milestone: ---Flags: kramdoss: needinfo+
Target Release: ODF 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.14.0-125 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 18:50:04 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:

Comment 9 Yuli Persky 2023-10-17 14:18:47 UTC
What logs ( can you please specify the relevant csi pod and relevant container) should I check to see the updated error message ?

Comment 11 Yuli Persky 2023-10-18 14:48:11 UTC
I've performed verification according to the steps described in comment#10. 

The following message appears in csi-addons-controller pod logs : 

(yulienv38) [ypersky@ypersky ocs-ci]$ oc logs csi-addons-controller-manager-755dc69948-8n5bc | grep "delete and recreate reclaimspacecronjob"
2023-10-18T14:43:55.967Z	ERROR	Failed to Parse out CronJob schedule	{"controller": "reclaimspacecronjob", "controllerGroup": "csiaddons.openshift.io", "controllerKind": "ReclaimSpaceCronJob", "ReclaimSpaceCronJob": {"name":"yuli-rbd-pvc1-1697551390","namespace":"default"}, "namespace": "default", "name": "yuli-rbd-pvc1-1697551390", "reconcileID": "85da6d02-420d-4e77-b9c7-44b02fdeefb9", "schedule": "*/1 * * * *", "error": "too many missed start times (> 100). Set or decrease.spec.startingDeadlineSeconds, check clock skew or delete and recreate reclaimspacecronjob."}
(yulienv38) [ypersky@ypersky ocs-ci]$ 

ODF version of the cluster: 

(yulienv38) [ypersky@ypersky ocs-ci]$ oc describe csv odf-operator.v4.14.0 -n openshift-storage | grep full
Labels:       full_version=4.14.0-151


=> The BZ is verified, improved error message appears. 
=> Moving the BZ to Verified.

Comment 13 errata-xmlrpc 2023-11-08 18:50:04 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 (Important: Red Hat OpenShift Data Foundation 4.14.0 security, enhancement & bug fix update), 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/RHSA-2023:6832