Bug 2089747

Summary: [DDF] The checking of this log should be done ALWAYS, because the job can finished as "Completed" and failing because a
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Agil Antony <agantony>
Component: documentationAssignee: Agil Antony <agantony>
Status: CLOSED CURRENTRELEASE QA Contact: Itzhak <ikave>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10CC: agantony, asriram, ddf-bot, ebenahar, kramdoss, ocs-bugs, odf-bz-bot, prsurve, sagrawal
Target Milestone: ---   
Target Release: ODF 4.10.5   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1995533 Environment:
Last Closed: 2023-03-09 12:47:11 UTC Type: ---
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: 1995533, 2094266, 2094268, 2128433    
Bug Blocks:    

Comment 13 Itzhak 2022-07-18 14:17:33 UTC
I checked the doc https://dxp-docp-prod.apps.ext-waf.spoke.prod.us-west-2.aws.paas.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html-single/replacing_devices/index?lb_target=preview and found the new changes as defined here https://gitlab.cee.redhat.com/red-hat-openshift-container-storage-documentation/openshift-data-foundation-documentation-4.10/-/commit/1ca42c93628b13f4257a816b4bb75a4143dab747. 
I found four occurrences of the change above in the document and didn't find the old version.

Also, I tested the new commands with a VSphere LSO 4.11 cluster and got this output as expected:

$ oc get pod -l job-name=ocs-osd-removal-job -n openshift-storage 
NAME                        READY   STATUS      RESTARTS   AGE
ocs-osd-removal-job-dfdmr   0/1     Completed   0          92s

$ oc logs -l job-name=ocs-osd-removal-job -n openshift-storage --tail=-1 | egrep -i 'completed removal'
2022-07-18 13:43:19.207129 I | cephosd: completed removal of OSD 0
2022-07-18 13:43:25.063755 I | cephosd: completed removal of OSD 1


Cluster versions:

OCP version:
Client Version: 4.10.0-0.nightly-2022-07-16-173050
Server Version: 4.11.0-0.nightly-2022-07-16-020951
Kubernetes Version: v1.24.0+9546431

OCS verison:
ocs-operator.v4.11.0              OpenShift Container Storage   4.11.0               Succeeded

cluster version
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-07-16-020951   True        False         4h19m   Cluster version is 4.11.0-0.nightly-2022-07-16-020951

Rook version
rook: v4.11.0-0.cf9b14df972044635a892b2a6b498961a0d78c71
go: go1.17.10

Ceph version
ceph version 16.2.8-65.el8cp (79f0367338897c8c6d9805eb8c9ad24af0dcd9c7) pacific (stable)

Comment 14 Itzhak 2022-07-18 14:18:56 UTC
According to the comment above, I am moving the bug to Verified.