Andrei Kvapil

Results 629 comments of Andrei Kvapil

@ghernadi is it possible to perform this procedure by request if one of resouce is already `InUse`? Eg, by invoking `drbdadm disconnect` with `--force`, then toggling it into diskful? >...

So sad, I don't see any option to perform the live-migration for VMs in the shared-pool and keep data locality for them :(

Okay, I made a bit investigation and found that resources with external metadata could have more than one diskful drbd replica on shared-lun. I'm not sure how this configuration is...

Or some option to explain DRBD that data between two peers is always `Consistent` to not perform actual synchronization between them

@ghernadi seems similar issue like https://github.com/LINBIT/linstor-server/issues/100, LINSTOR can't upgrade DB due to fact we're using luks encryption

I was successful to rollback latest backup and try to upgrade again, and successfully upgraded. I sent broken db dump to @ghernadi for future analysis. Thank you!

@ghernadi thanks for guidance, here is my journey for fixing this issue. --- short disclaimer if someone thinks to repeat some of my steps: **PLEASE DO IT ON YOUR OWN...

sorry, here it is: ```yaml allowVolumeExpansion: true apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: annotations: storageclass.kubernetes.io/is-default-class: "true" name: linstor-data-r2 parameters: linstor.csi.linbit.com/allowRemoteVolumeAccess: "false" linstor.csi.linbit.com/placementCount: "2" linstor.csi.linbit.com/replicasOnSame: Aux/zone linstor.csi.linbit.com/storagePool: data property.linstor.csi.linbit.com/DrbdOptions/Net/rr-conflict: retry-connect property.linstor.csi.linbit.com/DrbdOptions/Resource/on-no-data-accessible: suspend-io...

The provisioning works fine when pvc runs on `b-hv-2`, if it runs on `b-hv-3` it also tries to place volume on `c-hv-5` which is not allowed by `replicas-on-same=zone`: ```yaml apiVersion:...

@WanzenBug I see that it tries to place two volumes in one time, can't it be affected by the fact that `*csi.TopologyRequirement` is get shared between two requests somehow? https://github.com/piraeusdatastore/linstor-csi/blob/503e59c8df314e38d1328b2068dc84efab93a15d/pkg/topology/scheduler/autoplacetopology/autoplacetopology.go#L56