[DRBD-user] OpenNebula error undeploying a service

Luke Camilleri luke.camilleri at zylacomputing.com
Wed Jun 5 19:02:47 CEST 2019


I am also noticing that some of the images are not being deleted from the nodes. This is a list of the virtual machines in the cluster

    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME
    63 oneadmin oneadmin backend_2_(serv runn  0.0  265.2M drbd-kvm-1   0d 00h04
    62 oneadmin oneadmin backend_1_(serv runn  1.0  262.2M drbd-kvm-2   0d 00h04
    61 oneadmin oneadmin backend_0_(serv runn  1.0  264.6M drbd-kvm-3   0d 00h04
    60 oneadmin oneadmin middleware_2_(s runn  1.0    148M drbd-kvm-1   0d 00h05
    59 oneadmin oneadmin middleware_1_(s runn  2.0    138M drbd-kvm-2   0d 00h05
    58 oneadmin oneadmin middleware_0_(s runn  2.0  143.1M drbd-kvm-3   0d 00h05
    57 oneadmin oneadmin frontends_2_(se runn  0.0  105.2M drbd-kvm-1   0d 00h06
    56 oneadmin oneadmin frontends_1_(se runn  0.0  104.9M drbd-kvm-2   0d 00h06
    55 oneadmin oneadmin frontends_0_(se runn  0.0  110.2M drbd-kvm-3   0d 00h06
     6 oneadmin oneadmin test-imageds-2- runn  1.0  152.3M drbd-kvm-2   2d 01h54
     5 oneadmin oneadmin test-imageds-1- runn  0.0  110.7M drbd-kvm-1   2d 02h30

Output of linstor resource list:

╭──────────────────────────────────────────────────────────────────────────╮
┊ ResourceName                     ┊ Node       ┊ Port ┊ Usage  ┊    State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ OpenNebula-Image-0               ┊ drbd-kvm-1 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0               ┊ drbd-kvm-2 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0               ┊ drbd-kvm-3 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm5-disk0     ┊ drbd-kvm-1 ┊ 7001 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm5-disk0     ┊ drbd-kvm-2 ┊ 7001 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm5-disk0     ┊ drbd-kvm-3 ┊ 7001 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm55-disk0    ┊ drbd-kvm-1 ┊ 7008 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm55-disk0    ┊ drbd-kvm-2 ┊ 7008 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm55-disk0    ┊ drbd-kvm-3 ┊ 7008 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm56-disk0    ┊ drbd-kvm-1 ┊ 7009 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm56-disk0    ┊ drbd-kvm-2 ┊ 7009 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm56-disk0    ┊ drbd-kvm-3 ┊ 7009 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm57-disk0    ┊ drbd-kvm-1 ┊ 7010 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm57-disk0    ┊ drbd-kvm-2 ┊ 7010 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-0-vm57-disk0    ┊ drbd-kvm-3 ┊ 7010 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1               ┊ drbd-kvm-1 ┊ 7003 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1               ┊ drbd-kvm-2 ┊ 7003 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1               ┊ drbd-kvm-3 ┊ 7003 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm61-disk0    ┊ drbd-kvm-1 ┊ 7025 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm61-disk0    ┊ drbd-kvm-2 ┊ 7025 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm61-disk0    ┊ drbd-kvm-3 ┊ 7025 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm62-disk0    ┊ drbd-kvm-1 ┊ 7026 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm62-disk0    ┊ drbd-kvm-2 ┊ 7026 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm62-disk0    ┊ drbd-kvm-3 ┊ 7026 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm63-disk0    ┊ drbd-kvm-1 ┊ 7027 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm63-disk0    ┊ drbd-kvm-2 ┊ 7027 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-1-vm63-disk0    ┊ drbd-kvm-3 ┊ 7027 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2               ┊ drbd-kvm-1 ┊ 7004 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2               ┊ drbd-kvm-2 ┊ 7004 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2               ┊ drbd-kvm-3 ┊ 7004 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm58-disk0    ┊ drbd-kvm-1 ┊ 7016 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm58-disk0    ┊ drbd-kvm-2 ┊ 7016 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm58-disk0    ┊ drbd-kvm-3 ┊ 7016 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm59-disk0    ┊ drbd-kvm-1 ┊ 7019 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm59-disk0    ┊ drbd-kvm-2 ┊ 7019 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm59-disk0    ┊ drbd-kvm-3 ┊ 7019 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm6-disk0     ┊ drbd-kvm-1 ┊ 7006 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm6-disk0     ┊ drbd-kvm-2 ┊ 7006 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm6-disk0     ┊ drbd-kvm-3 ┊ 7006 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm60-disk0    ┊ drbd-kvm-1 ┊ 7017 ┊ InUse  ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm60-disk0    ┊ drbd-kvm-2 ┊ 7017 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-Image-2-vm60-disk0    ┊ drbd-kvm-3 ┊ 7017 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm14-disk1 ┊ drbd-kvm-1 ┊ 7018 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm14-disk1 ┊ drbd-kvm-2 ┊ 7018 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm14-disk1 ┊ drbd-kvm-3 ┊ 7018 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm23-disk1 ┊ drbd-kvm-1 ┊ 7020 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm23-disk1 ┊ drbd-kvm-2 ┊ 7020 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm23-disk1 ┊ drbd-kvm-3 ┊ 7020 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm24-disk1 ┊ drbd-kvm-1 ┊ 7021 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm24-disk1 ┊ drbd-kvm-2 ┊ 7021 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm24-disk1 ┊ drbd-kvm-3 ┊ 7021 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm29-disk1 ┊ drbd-kvm-1 ┊ 7032 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm29-disk1 ┊ drbd-kvm-2 ┊ 7032 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm29-disk1 ┊ drbd-kvm-3 ┊ 7032 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm47-disk1 ┊ drbd-kvm-1 ┊ 7013 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm47-disk1 ┊ drbd-kvm-2 ┊ 7013 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm47-disk1 ┊ drbd-kvm-3 ┊ 7013 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm5-disk1  ┊ drbd-kvm-1 ┊ 7002 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm5-disk1  ┊ drbd-kvm-2 ┊ 7002 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm5-disk1  ┊ drbd-kvm-3 ┊ 7002 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm55-disk1 ┊ drbd-kvm-1 ┊ 7012 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm55-disk1 ┊ drbd-kvm-2 ┊ 7012 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm55-disk1 ┊ drbd-kvm-3 ┊ 7012 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm56-disk1 ┊ drbd-kvm-1 ┊ 7014 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm56-disk1 ┊ drbd-kvm-2 ┊ 7014 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm56-disk1 ┊ drbd-kvm-3 ┊ 7014 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm57-disk1 ┊ drbd-kvm-1 ┊ 7015 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm57-disk1 ┊ drbd-kvm-2 ┊ 7015 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm57-disk1 ┊ drbd-kvm-3 ┊ 7015 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm58-disk1 ┊ drbd-kvm-1 ┊ 7022 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm58-disk1 ┊ drbd-kvm-2 ┊ 7022 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm58-disk1 ┊ drbd-kvm-3 ┊ 7022 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm59-disk1 ┊ drbd-kvm-1 ┊ 7024 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm59-disk1 ┊ drbd-kvm-2 ┊ 7024 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm59-disk1 ┊ drbd-kvm-3 ┊ 7024 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm6-disk1  ┊ drbd-kvm-1 ┊ 7007 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm6-disk1  ┊ drbd-kvm-2 ┊ 7007 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm6-disk1  ┊ drbd-kvm-3 ┊ 7007 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm60-disk1 ┊ drbd-kvm-1 ┊ 7023 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm60-disk1 ┊ drbd-kvm-2 ┊ 7023 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm60-disk1 ┊ drbd-kvm-3 ┊ 7023 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm61-disk1 ┊ drbd-kvm-1 ┊ 7030 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm61-disk1 ┊ drbd-kvm-2 ┊ 7030 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm61-disk1 ┊ drbd-kvm-3 ┊ 7030 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm62-disk1 ┊ drbd-kvm-1 ┊ 7028 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm62-disk1 ┊ drbd-kvm-2 ┊ 7028 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm62-disk1 ┊ drbd-kvm-3 ┊ 7028 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm63-disk1 ┊ drbd-kvm-1 ┊ 7029 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm63-disk1 ┊ drbd-kvm-2 ┊ 7029 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm63-disk1 ┊ drbd-kvm-3 ┊ 7029 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm7-disk1  ┊ drbd-kvm-1 ┊ 7011 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm7-disk1  ┊ drbd-kvm-2 ┊ 7011 ┊ Unused ┊ UpToDate ┊
┊ OpenNebula-vm-context-vm7-disk1  ┊ drbd-kvm-3 ┊ 7011 ┊ Unused ┊ UpToDate ┊
╰──────────────────────────────────────────────────────────────────────────╯

Some of the context disks are still present when in fact they should be deleted


From: Rene Peinthor [mailto:rene.peinthor at linbit.com]
Sent: 05 June 2019 15:39
To: Luke Camilleri <luke.camilleri at zylacomputing.com>
Cc: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] OpenNebula error undeploying a service

I updated parts of that code and after some final tests,
a new version will soon be released.

Cheers,
Rene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20190605/8d41dcd1/attachment-0001.htm>


More information about the drbd-user mailing list