[DRBD-user] DRBD9 BUG (drbdmanage-proxmox): Unable to clone disk

Dominic Pratt dmp at zmt.info
Tue Jun 20 13:23:01 CEST 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Sorry to answer on this mail, but I did not receive my first mail or your answer.

We're able to reproduce this error on nearly all our DRBD9-/PVE-Clusters. There is a quorum, since all three DRBD-nodes are up and running when we try to start the cloning/migration process.

We analyzed our logs and found the attached entries. As you can see, it's obivously a DRBD-problem, no Quorom-Problem, and we're able to fix this immediatly by changing the code to he one I've posted already.

Mit freundlichen Grüßen

Dominic Pratt
Produkt- und Softwareentwicklung

---
Besuchen Sie unsere neue Webseite! www.zmt.info

[Logo schwarz weiss - side-by-side - vorlage logo_ohne2]

Zengel Medizintechnik GmbH
Am Hahnenbusch 14b
55268 Nieder-Olm

Dominic Pratt
Tel.: +49-6136-994390
Fax.: +49-6136-9943999
E-Mail: dmp at zmt.info

Geschäftsführer: Grischa Zengel
Amtsgericht Mainz HRB 46777
USt-IdNr.: DE255806446

Von: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] Im Auftrag von Dominic Pratt
Gesendet: Montag, 19. Juni 2017 16:04
An: 'drbd-user at lists.linbit.com' <drbd-user at lists.linbit.com>
Betreff: [DRBD-user] DRBD9 BUG (drbdmanage-proxmox): Unable to clone disk

Hi there guys,

I haven't found a bugtracker, so I hope this is the right place to submit a bug...

We're using DRBD9 in a PVE4-Cluster with 3 Nodes, one of them being a no-storage node. We're unable to clone disks/VMs between nodes, because the created disk needs a few seconds to become available.

Package:
drbdmanage-proxmox 1.0-1
File:
DRBDPlugin.pm
Function:
alloc_image
Error-Message:
create full clone of drive scsi0 (VG1:vm-113-disk-1)
drive mirror is starting for drive-scsi0
drive-scsi0: Cancelling block job
drive-scsi0: Done.
drbd error: Could not forward data to leader
TASK ERROR: storage migration failed: mirroring error: VM 113 qmp command 'drive-mirror' failed - Could not open '/dev/drbd/by-res/vm-113-disk-1/0': No such file or directory

Workaround/Bugfix:
    ($rc, $res) = $hdl->auto_deploy($name, $redundancy, 0, 0);
    check_drbd_res($rc);

+    warn "sleeping 10s";
+    sleep(10);

    return $name;
}

If you need more information, just let me know.

Mit freundlichen Grüßen

Dominic Pratt
Produkt- und Softwareentwicklung

---
Besuchen Sie unsere neue Webseite! www.zmt.info

[Logo schwarz weiss - side-by-side - vorlage logo_ohne2]

Zengel Medizintechnik GmbH
Am Hahnenbusch 14b
55268 Nieder-Olm

Dominic Pratt
Tel.: +49-6136-994390
Fax.: +49-6136-9943999
E-Mail: dmp at zmt.info<mailto:dmp at zmt.info>

Geschäftsführer: Grischa Zengel
Amtsgericht Mainz HRB 46777
USt-IdNr.: DE255806446

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170620/4eaf1a33/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1973 bytes
Desc: image003.png
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170620/4eaf1a33/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1973 bytes
Desc: image001.png
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170620/4eaf1a33/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drbdmanage.log
Type: application/octet-stream
Size: 12779 bytes
Desc: drbdmanage.log
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170620/4eaf1a33/attachment.obj>


More information about the drbd-user mailing list