Bug 2139406 - Device Replacement Doc, Add "-p" to FORCE_OSD_REMOVAL param
Summary: Device Replacement Doc, Add "-p" to FORCE_OSD_REMOVAL param
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Disha Walvekar
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-02 12:27 UTC by Oded
Modified: 2023-08-10 17:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Oded 2022-11-02 12:27:49 UTC
Describe the issue:
We need to add "-p" [parameter] before FORCE_OSD_REMOVAL param.


Describe the task you were trying to accomplish:

Suggestions for improvement:

Incorrect:
$ oc process -n openshift-storage ocs-osd-removal -p FAILED_OSD_IDS=${osd_id_to_remove} FORCE_OSD_REMOVAL=false |oc create -n openshift-storage -f -

Correct:
$ oc process -n openshift-storage ocs-osd-removal -p FAILED_OSD_IDS=${osd_id_to_remove} -p FORCE_OSD_REMOVAL=false |oc create -n openshift-storage -f -

Document URL:
https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.11/html-single/replacing_devices/index

Chapter/Section Number and Title:
2.1. Replacing operational or failed storage devices on VMware infrastructure
3.1. Replacing operational or failed storage devices on Red Hat Virtualization installer-provisioned infrastructure
5.1. Replacing operational or failed storage devices on clusters backed by local storage devices

Product Version:

Environment Details:

Any other versions of this document that also needs this update:

Additional information:

Comment 2 Oded 2022-11-04 08:44:32 UTC
https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.9/html-single/replacing_devices/index
2.1. Replacing operational or failed storage devices on VMware infrastructure
3.1. Replacing operational or failed storage devices on Red Hat Virtualization installer-provisioned infrastructure
5.1. Replacing operational or failed storage devices on clusters backed by local storage devices
5.2. Replacing operational or failed storage devices on IBM Power

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.9/html-single/replacing_nodes/index
2.1.1. Replacing an operational node on bare metal user-provisioned infrastructure
2.1.2. Replacing a failed node on bare metal user-provisioned infrastructure
2.3.1. Replacing an operational or failed storage node on IBM Power
2.4.1. Replacing an operational node on VMware user-provisioned infrastructure
2.4.2. Replacing an operational node on VMware installer-provisioned infrastructure
2.4.3. Replacing a failed node on VMware user-provisioned infrastructure
2.4.4. Replacing a failed node on VMware installer-provisioned infrastructure
2.5.1. Replacing an operational node on Red Hat Virtualization installer-provisioned infrastructure
2.5.2. Replacing a failed node on Red Hat Virtualization installer-provisioned infrastructure

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html-single/replacing_devices/index
2.1. Replacing operational or failed storage devices on VMware infrastructure
3.1. Replacing operational or failed storage devices on Red Hat Virtualization installer-provisioned infrastructure
5.1. Replacing operational or failed storage devices on clusters backed by local storage devices
5.2. Replacing operational or failed storage devices on IBM Power

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html-single/replacing_nodes/index
2.1.1. Replacing an operational node on bare metal user-provisioned infrastructure
2.1.2. Replacing a failed node on bare metal user-provisioned infrastructure
2.3.1. Replacing an operational or failed storage node on IBM Power
2.4.1. Replacing an operational node on VMware user-provisioned infrastructure
2.4.2. Replacing an operational node on VMware installer-provisioned infrastructure
2.4.3. Replacing a failed node on VMware user-provisioned infrastructure
2.4.4. Replacing a failed node on VMware installer-provisioned infrastructure
2.5.1. Replacing an operational node on Red Hat Virtualization installer-provisioned infrastructure
2.5.2. Replacing a failed node on Red Hat Virtualization installer-provisioned infrastructure

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.11/html-single/replacing_devices/index
2.1. Replacing operational or failed storage devices on VMware infrastructure
3.1. Replacing operational or failed storage devices on Red Hat Virtualization installer-provisioned infrastructure
5.1. Replacing operational or failed storage devices on clusters backed by local storage devices
5.2. Replacing operational or failed storage devices on IBM Power

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.11/html-single/replacing_nodes/index
On ODF4.11 Node Replacement doc, we need to add the FORCE_OSD_REMOVAL flag to cmd:
before fix
oc process -n openshift-storage ocs-osd-removal -p FAILED_OSD_IDS=<failed_osd_id> | oc create -f -
After fix:
$ oc process -n openshift-storage ocs-osd-removal -p FAILED_OSD_IDS=<failed_osd_id> FORCE_OSD_REMOVAL=true | oc create -n openshift-storage -f -


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