Closed 13567436138 closed 1 month ago
moving this issue to LocalPV-LVM repo, which will be picked by my the new Mayastor structure when its activated (soon)... becasue LocalPV-LVM is being unified into Mayastor.
Experiencing exactly the same problem.
Experiencing exactly the same problem.
Can you please share any one of the node-agent logs from lvm-node daemonset pods?
I0501 14:36:22.077234 1 lvm_util.go:522] created snapshot lvmvg/bce4ca07-0b26-42d0-bf61-fed6cb467db6 from pvc-337110de-ed58-4f6b-b484-51370aaec61a
I0501 14:36:22.088215 1 snapshot.go:267] Successfully synced 'openebs-system/snapshot-bce4ca07-0b26-42d0-bf61-fed6cb467db6'
I0501 14:36:35.644706 1 lvmnode.go:110] lvm node controller: node volume groups updated current=[{Name:lvmvg UUID:B76M19-s03N-1vcL-mQA6-0YB7-QVeA-bkYDLF Size:{i:{value:1000203091968 scale:0} d:{Dec:<nil>} s:953868Mi Format:BinarySI} Free:{i:{value:677006802944 scale:0} d:{Dec:<nil>} s:645644Mi Format:BinarySI} LVCount:4 PVCount:1 MaxLV:0 MaxPV:0 SnapCount:0 MissingPVCount:0 MetadataCount:1 MetadataUsedCount:1 MetadataFree:{i:{value:519168 scale:0} d:{Dec:<nil>} s:507Ki Format:BinarySI} MetadataSize:{i:{value:1044480 scale:0} d:{Dec:<nil>} s:1020Ki Format:BinarySI} Permission:0 AllocationPolicy:0}], required=[{Name:lvmvg UUID:B76M19-s03N-1vcL-mQA6-0YB7-QVeA-bkYDLF Size:{i:{value:1000203091968 scale:0} d:{Dec:<nil>} s: Format:BinarySI} Free:{i:{value:569632620544 scale:0} d:{Dec:<nil>} s: Format:BinarySI} LVCount:5 PVCount:1 MaxLV:0 MaxPV:0 SnapCount:1 MissingPVCount:0 MetadataCount:1 MetadataUsedCount:1 MetadataFree:{i:{value:518144 scale:0} d:{Dec:<nil>} s: Format:BinarySI} MetadataSize:{i:{value:1044480 scale:0} d:{Dec:<nil>} s: Format:BinarySI} Permission:0 AllocationPolicy:0}]
I0501 14:36:35.644778 1 lvmnode.go:120] lvm node controller: updating node object with &{TypeMeta:{Kind:LVMNode APIVersion:local.openebs.io/v1alpha1} ObjectMeta:{Name:ktmb1-g-srv-005.iot.home.alexeym.net GenerateName: Namespace:openebs-system SelfLink: UID:2e007c23-88cf-487d-9431-452892030a60 ResourceVersion:1700015 Generation:5 CreationTimestamp:2024-04-29 05:09:33 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[{APIVersion:v1 Kind:Node Name:ktmb1-g-srv-005.iot.home.alexeym.net UID:1bcfbcc3-ad06-4bb2-9679-5f5d2bdda0be Controller:0xc00017a810 BlockOwnerDeletion:<nil>}] Finalizers:[] ManagedFields:[{Manager:lvm-driver Operation:Update APIVersion:local.openebs.io/v1alpha1 Time:2024-05-01 13:30:35 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"1bcfbcc3-ad06-4bb2-9679-5f5d2bdda0be\"}":{}}},"f:volumeGroups":{}} Subresource:}]} VolumeGroups:[{Name:lvmvg UUID:B76M19-s03N-1vcL-mQA6-0YB7-QVeA-bkYDLF Size:{i:{value:1000203091968 scale:0} d:{Dec:<nil>} s: Format:BinarySI} Free:{i:{value:569632620544 scale:0} d:{Dec:<nil>} s: Format:BinarySI} LVCount:5 PVCount:1 MaxLV:0 MaxPV:0 SnapCount:1 MissingPVCount:0 MetadataCount:1 MetadataUsedCount:1 MetadataFree:{i:{value:518144 scale:0} d:{Dec:<nil>} s: Format:BinarySI} MetadataSize:{i:{value:1044480 scale:0} d:{Dec:<nil>} s: Format:BinarySI} Permission:0 AllocationPolicy:0}]}
I0501 14:36:35.656589 1 lvmnode.go:124] lvm node controller: updated node object openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net
I0501 14:36:35.656624 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net'
I0501 14:36:35.656822 1 lvmnode.go:165] Got update event for lvm node openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net
I0501 14:36:35.784698 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net'
I0501 14:37:16.256841 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-004.iot.home.alexeym.net'
I0501 14:37:35.632538 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net'
I0501 14:38:16.265125 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-004.iot.home.alexeym.net'
I0501 14:38:35.640765 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net'
I0501 14:39:16.294034 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-004.iot.home.alexeym.net'
I0501 14:39:33.432159 1 lvmnode.go:165] Got update event for lvm node openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net
I0501 14:39:33.560451 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net'
I0501 14:39:35.608849 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-005.iot.home.alexeym.net'
I0501 14:40:14.269000 1 lvmnode.go:165] Got update event for lvm node openebs-system/ktmb1-g-srv-004.iot.home.alexeym.net
I0501 14:40:14.428713 1 lvmnode.go:306] Successfully synced 'openebs-system/ktmb1-g-srv-004.iot.home.alexeym.net'
@13567436138 From the PVC describe I can see that, cloning out of a snapshot is being performed. This is not supported in lvm-localpv as of today. For more options, you can follow this thread on our slack channel -- https://kubernetes.slack.com/archives/CUAKPFU78/p1714627792264429
Hi @amasolov , @13567436138 , As @w3aman mentioned. Pvc had volume snapshot as datasource.
Warning ProvisioningFailed 38s local.csi.openebs.io_openebs-lvm-controller-0_24a6e4e0-6bde-4212-b01f-8cabaf937638 failed to provision volume with StorageClass "openebs-lvmpv": error getting handle for DataSource Type VolumeSnapshot by Name rook-ceph-backup-pv-pvc-4-mc7sz: snapshot rook-ceph-backup-pv-pvc-4-mc7sz is not Ready
Its an unimplemented feature yet. However, i see snapshot was not Ready. Is dm-snapshot module loaded in lvm node machines?
As mentioned, using a snapshot as volume creation source is not yet supported and will be taken up when #13 and #175 come into the product roadmap scope. Closing this issue and the enhancement will be tracked against linked ones. Please let us know if any questions around it.
Description
kubectl logs -n kube-system openebs-lvm-controller-0 -c csi-provisioner