-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.17.z, 4.16.z, 4.18.0, 4.19.0
This is a clone of issue OCPBUGS-45868. The following is the description of the original issue:
—
This is an LVMS Bug Report:
Please make sure that you describe your storage configuration in detail. List all devices that you plan to work with for LVMS as well as any relevant machine configuration data to make it easier for an engineer to help out.
Description of problem:
When deploying an LVMCluster with the following configuration in spec.storage.deviceClasses.deviceSelector.optionalPaths, a volume group is created successfully:
apiVersion: lvm.topolvm.io/v1alpha1 kind: LVMCluster metadata: name: lvmcluster namespace: openshift-storage spec: storage: deviceClasses: - deviceSelector: optionalPaths: - /dev/sdb fstype: xfs thinPoolConfig: chunkSizeCalculationPolicy: Static sizePercent: 90 name: thin-pool-1 overprovisionRatio: 10 default: true name: vg1
However, when attempting to add a new device path to spec.storage.deviceClasses.deviceSelector.optionalPaths afterward,
spec: storage: deviceClasses: - deviceSelector: optionalPaths: - /dev/sdb - /dev/disk/by-id/scsi-XXXXXXXXXXXXXXXXXXXXXXXXXXXXX <<<==== add
the following error occurs, and the device cannot be added:
error on node openshift-storage/<node-name> in volume group openshift-storage/vg1: failed to create thin pool thin-pool-1 for volume group vg1: failed to extend the lvm thinpool thin-pool-1 in volume group vg1: VgSize (g) and lvSize (0), units do not match and cannot be used for extension
Version-Release number of selected component (if applicable):
4.17.2
Steps to Reproduce:
1. deploy LVMCluster and create thinpool 2. edit LVMCluster for adding devicepaths to optionalPaths
Actual results:
occuers error following: error on node openshift-storage/<node-name> in volume group openshift-storage/vg1: failed to create thin pool thin-pool-1 for volume group vg1: failed to extend the lvm thinpool thin-pool-1 in volume group vg1: VgSize (g) and lvSize (0), units do not match and cannot be used for extension
Expected results:
ad devicepaths to Volume groups and expand storage.
Additional info:
- clones
-
OCPBUGS-46359 [release-4.18] Failed to extend the lvm thinpool when adding devicepaths
-
- Closed
-
- depends on
-
OCPBUGS-46359 [release-4.18] Failed to extend the lvm thinpool when adding devicepaths
-
- Closed
-
- is cloned by
-
OCPBUGS-46392 [release-4.16] Failed to extend the lvm thinpool when adding devicepaths
-
- Closed
-
- is depended on by
-
OCPBUGS-46392 [release-4.16] Failed to extend the lvm thinpool when adding devicepaths
-
- Closed
-
- links to
-
RHBA-2024:143977 LVMS 4.17.3 Bug Fix Update