Bug 2247748 - [Tracker][29042] The storage-client CronJob create too many jobs
Summary: [Tracker][29042] The storage-client CronJob create too many jobs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-client-operator
Version: 4.14
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ODF 4.15.0
Assignee: aberner
QA Contact: Elena Bondarenko
URL:
Whiteboard: isf-provider
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-03 04:57 UTC by Leela Venkaiah Gangavarapu
Modified: 2024-03-19 15:28 UTC (History)
6 users (show)

Fixed In Version: 4.14.1-7
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-19 15:28:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-client-operator pull 39 0 None open Bug 2247748: A storage-client CronJob create too many jobs and pods causing maxPod limit to be reached 2023-11-09 13:50:47 UTC
Red Hat Product Errata RHSA-2024:1383 0 None None None 2024-03-19 15:28:25 UTC

Description Leela Venkaiah Gangavarapu 2023-11-03 04:57:25 UTC
Description of problem:
The storage-client CronJob create too many jobs

Version-Release number of selected component (if applicable):
4.14.0-160

How reproducible:
always

Steps to Reproduce:
1. deploy ocs client operator
2. scale down ocs client operator and edit cronjob so that it always goes to Pending state, like requiring huge resources

Actual results:
- all the pods generated from the job will stay in pending state and new jobs gets created without taking pending jobs into account

Expected results:
- if there's a job already created do not create new job at next tick

Additional info:
- targeted for 4.14.z
- could be solved in fixed in many different ways, however the aim is not to hit pod limits when these jobs getting created concurrently every minute

Comment 4 Elena Bondarenko 2023-12-06 10:44:51 UTC
I re-tested with full_version: 4.14.1-14. No unnecessary jobs were created, there was only one job in Pending state.

Comment 8 errata-xmlrpc 2024-03-19 15:28:22 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.15.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-2024:1383


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