[DRBD-user] [proxmox 5.4]Cannot create VM, cannot restore : timeout linstor sp l...

Christophe NOUVEL christophe.nouvel at gmail.com
Mon Feb 3 12:33:21 CET 2020


Hi,

LVM is not slow, see my previous message.

The only filter in lvm.conf is :
global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|", "r|/dev/drbd.*|"
]

Then we updated to latest available versions :
ii  linstor-client            1.0.11-1          all          Linstor client
command line tool
ii  linstor-common       1.4.2-1            all          DRBD distributed
resource management utility
ii  linstor-controller      1.4.2-1            all          DRBD
distributed resource management utility
ii  linstor-proxmox       4.1.1-1            all          DRBD distributed
resource management utility
ii  linstor-satellite        1.4.2-1            all          DRBD
distributed resource management utility
ii  python-linstor         1.0.11-1           all          Linstor python
api library

Problem is still there :

# time linstor sp l
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool          ┊ Node               ┊ Driver   ┊ PoolName ┊
FreeCapacity ┊ TotalCapacity ┊ SupportsSnapshots ┊ State ┊
╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
┊ DfltDisklessStorPool ┊ px1               ┊ DISKLESS ┊          ┊
     ┊               ┊ False             ┊ Ok    ┊
┊ DfltDisklessStorPool ┊ px2               ┊ DISKLESS ┊          ┊
     ┊               ┊ False             ┊ Ok    ┊
┊ drbdpool             ┊ px1                ┊ LVM      ┊ vg_drbd  ┊
3.59 TiB ┊      4.54 TiB ┊ False             ┊ Ok    ┊
┊ drbdpool             ┊ px2                ┊ LVM      ┊ vg_drbd  ┊
3.59 TiB ┊      4.54 TiB ┊ False             ┊ Ok    ┊
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

real    0m20.486s
user    0m0.361s
sys     0m0.020s

20 seconds, waiting there (strace) :
sendto(3, "GET /v1/view/storage-pools HTTP/"..., 153, 0, NULL, 0) = 153
poll([{fd=3, events=POLLIN}], 1, 300000

So we can't neither create a VM on this storage, nor restore.

  Christophe.

Le lun. 27 janv. 2020 à 11:35, Roland Kammerer <roland.kammerer at linbit.com>
a écrit :

> On Mon, Jan 27, 2020 at 10:19:31AM +0100, Christophe NOUVEL wrote:
> > We noticed long response time when :
> > linstor sp pl
>
> And that is the root cause for the plugin timeout.
>
> > An strace give a long wait (20s) to :
> > sendto(3, "GET /v1/view/storage-pools HTTP/"..., 153, 0, NULL, 0) = 153
> > poll([{fd=3, events=POLLIN}], 1, 300000
> >
> > Any idea?
>
> Best guess is that LVM is very slow on at least one of your nodes. Just
> try 'lvs' on all of them. If this is already slow (yes, I see that *a*
> *lot*), then properly configure your LVM (by setting some filters in
> lvm.conf).
>
> Regards, rck
> _______________________________________________
> Star us on GITHUB: https://github.com/LINBIT
> drbd-user mailing list
> drbd-user at lists.linbit.com
> https://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20200203/f5b501c0/attachment.htm>


More information about the drbd-user mailing list