Bug 1970939 - The ocs-osd-removal-job should have unique names for each Job
Summary: The ocs-osd-removal-job should have unique names for each Job
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.14.0
Assignee: Malay Kumar parida
QA Contact: Itzhak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-11 14:10 UTC by Servesha
Modified: 2023-08-17 08:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 2122 0 None open Delete completed job so no need to delete it when rerunning the job 2023-08-05 22:35:07 UTC
Github red-hat-storage ocs-operator pull 2134 0 None open Bug 1970939: [release-4.14] Delete completed template job so no need to delete it when rerunning the job 2023-08-17 05:51:05 UTC

Description Servesha 2021-06-11 14:10:29 UTC
Description of problem (please be detailed as possible and provide log
snippests):

The `ocs-osd-removal-job` should generate unique names for each job. This feature would eliminate the need to delete the older/existing job when triggering the job for a second time. The user can directly proceed to the next disk replacement.



Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?

In case of UI, only one osd can be replaced at a time. With unique job names, one doesn't have to delete the older job after the first osd replacement.

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.
2.
3.


Actual results:


Expected results:


Additional info:

1. Once this feature is added, the admin can run `oc process` command to trigger the job without deleting the older/existing jobs in the cluster.
2. One template (ocs-osd-removal) will create multiple jobs.
3. This feature will need documentation efforts for the relevant OCS versions (below OCS 4.9)

Comment 4 Mudit Agarwal 2021-09-24 16:45:20 UTC
No RFE in 4.9 at this point of time.

Eran, should this be added to our backlog?

Comment 14 Malay Kumar parida 2023-03-20 09:40:53 UTC
Not a blocker & we have proper documentation for the customers to remove the existing job before creating a new one. Moving it out to 4.14.


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