-
Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Product / Portfolio Work
-
None
-
50% To Do, 50% In Progress, 0% Done
-
False
-
-
False
-
XL
-
None
-
-
None
-
-
None
-
None
-
None
-
None
Feature Overview (aka. Goal Summary)
Allow LVMS users to remove a device from a deviceClass or a complete deviceClasses.
Goals (aka. expected user outcomes)
User should be able to remove a disk device or a complete deviceClass, in case device is no longer needed, or was added accidentally. Currently, this is a cumbersome procedure requiring the complete removal of the LVMCLuster
Requirements (aka. Acceptance Criteria):
For device removal:
- Remove an existing single device from a list of devices specified in a deviceClass. The LVM PV of that device needs to be empty/free of data. Its the responsibility of the user to move existing data to the remaining PVs, using pvmove command. Instructions on how to do so need to be provided in the documentation. Its LVMS responsibility to remove the PV from the VG using VG reduce. The implementation needs to validate that the PV is empty before removing it from the VG and provide a detail error message pointing to the pvmove command to remove the data.
For deviceClass removal:
- deviceClass can only be removed if the corresponding StorageClass has no PVC/PVs attached to it. Otherwise, removal will be rejected with a corresponding error message. Its the responsibility of the user to delete all PVC/PVs.
Deployment considerations | List applicable specific needs (N/A = not applicable) |
Self-managed, managed, or both | both |
Classic (standalone cluster) | yes |
Hosted control planes | yes |
Multi node, Compact (three node), or Single node (SNO), or all | all |
Connected / Restricted Network | all |
Architectures, e.g. x86_x64, ARM (aarch64), IBM Power (ppc64le), and IBM Z (s390x) | no change |
Operator compatibility | |
Backport needed (list applicable versions) | none |
UI need (e.g. OpenShift Console, dynamic plugin, OCM) | none |
Other (please specify) | n/a |
Questions to Answer (Optional):
n/a
Out of Scope
Wiping disks after removal - removed disks will otherwise be untouched, in case there is data on non-lvm owned areas.
Background
n/a
Customer Considerations
This has been asked for by customers, see linked RFEs
Documentation Considerations
Doc has existing statements that devices/deviceClasses can not be removed. This needs to be changed, and instructions on the requirements / procedures to do so need to be added (maybe in a "day2 operations" section).
Interoperability Considerations
none
- is cloned by
-
OCPSTRAT-1717 LVMS change default namespace
-
- Release Pending
-
- relates to
-
RFE-6170 Remove a deviceclass from LVMCluster CR
-
- Approved
-
-
RFE-6110 Remove a device from a deviceClass after it is added to LVMCluster CR
-
- Approved
-
- links to