ITDevLtd / MCVirt

MCVirt - Command line virtual machine management utility
http://mcvirt.itdev.co.uk
GNU General Public License v2.0
24 stars 7 forks source link

DRBD initialisation fails if logical volume path is too long #437

Closed MatthewJohn closed 5 years ago

MatthewJohn commented 5 years ago
2019-06-20 18:59:54,804 mcvirtd      /usr/lib/python2.7/dist-packages/mcvirt/system.py 51: runCommand ERROR    Failed system command: /sbin/drbdadm, create-md, mcvirt-hd-96ed4c2f1cd67c6035-383875b3774b1b5b778504
RC: 10
Stdout: 
Stderr: drbd.d/mcvirt-hd-96ed4c2f1cd67c6035-383875b3774b1b5b778504.res:6: Token too long >>>/dev/debian-8-templa...<<<
MatthewJohn commented 5 years ago

According to http://lists.linbit.com/pipermail/drbd-user/2015-November/021948.html and http://lists.linbit.com/pipermail/drbd-user/2015-November/021959.html, double-quoting the path fixes this issue.