[DRBD-user] DRBD9 + PROXMOX 5.2 - can't initialise drbd with drbdmanage

Sebastien CHATEAU-DUTIER sebastien at chateau-dutier.com
Sun Nov 11 23:42:33 CET 2018


Dear all

I found my error, The resources must be created by proxmox. All work 
fine for VM.

Thanks, regards

Seb

Le 11/11/2018 à 22:24, Sebastien CHATEAU-DUTIER a écrit :
>
> Le 10/11/2018 à 14:23, Yannis Milios a écrit :
>> It’s definitely in a much better state than drbdmanage is and AFAIK 
>> people are already using it in production.
>
>
> Dear all,
>
> I have tested to create my DRBD on Proxmox with Linstor, but I have a 
> problem and I don't know how resolv it...
>
> I init my cluster as it :
>
> Install linstor-satellite on two nodes, linstor-controller on one 
> node, vg_pool is my volume group for drbd.
>
> # linstor node create pve1 192.168.72.1 --node-type Combined
> # linstor node create pve2 192.168.72.2 --node-type Combined
> # linstor storage-pool create lvm pve1 drbdpool vg_drbd
> # linstor storage-pool create lvm pve2 drbdpool vg_drbd
> # linstor resource-definition create res_drbd
> # linstor volume-definition create res_drbd 100G
>
> At this point all are fine.
>
> # linstor resource create pve1 res_drbd --storage-pool drbdpool
>
> At this point all are bad, linstor use drbdadm with an 'unkow' option 
> (--config-to-exclude) on my system 'proxmox 5.2' up to date ; look at 
> the end of this mail you have the tty and log file about this error
>
> Anyone kwon how I can resolv the error ?
>
> Thanks in advance and best regards.
>
> Seb
>
>
> ----------------- TTY -----------------
> root at pve1:~# linstor resource create pve1 res_drbd --storage-pool 
> drbdpool
> SUCCESS:
> Description:
>     New resource 'res_drbd' on node 'pve1' registered.
> Details:
>     Resource 'res_drbd' on node 'pve1' UUID is: 
> 5fae9671-a8d7-4044-b23a-5a9030aeec90
> SUCCESS:
> Description:
>     Volume with number '0' on resource 'res_drbd' on node 'pve1' 
> successfully registered
> Details:
>     Volume UUID is: 829b9826-51cf-4c34-a535-ca18b2cfc234
> ERROR:
> Description:
>     (Node: 'pve1') Generated resource file for resource 'res_drbd' is 
> invalid.
> Cause:
>     Verification of resource file failed
> Details:
>     The error reported by the runtime environment or operating system is:
>     The external command 'drbdadm' exited with error code 1
>
>
> ----------------- LOG -----------------
> ERROR REPORT 5BE890FC-8A94D-000001
>
> ============================================================
>
> Application:                        LINBIT® LINSTOR
> Module:                             Satellite
> Version:                            0.7.1
> Build ID: 226b9485d39793398018542054ae855c8a0f9426
> Build time:                         2018-11-06T09:05:20+00:00
> Error time:                         2018-11-11 21:57:40
> Node:                               pve1
>
> ============================================================
>
> Reported error:
> ===============
>
> Description:
>     Operations on resource 'res_drbd' were aborted
> Cause:
>     Verification of resource file failed
> Additional information:
>     The error reported by the runtime environment or operating system is:
>     The external command 'drbdadm' exited with error code 1
>
> Category:                           LinStorException
> Class name:                         ResourceException
> Class canonical name: 
> com.linbit.linstor.core.DrbdDeviceHandler.ResourceException
> Generated at:                       Method 
> 'createResourceConfiguration', Source file 'DrbdDeviceHandler.java', 
> Line #1411
>
> Error message:                      Generated resource file for 
> resource 'res_drbd' is invalid.
>
> Error context:
>     Generated resource file for resource 'res_drbd' is invalid.
>
> Call backtrace:
>
>     Method                                   Native Class:Line number
>     createResourceConfiguration              N 
> com.linbit.linstor.core.DrbdDeviceHandler:1411
>     createResource                           N 
> com.linbit.linstor.core.DrbdDeviceHandler:1109
>     dispatchResource                         N 
> com.linbit.linstor.core.DrbdDeviceHandler:316
>     run                                      N 
> com.linbit.linstor.core.DeviceManagerImpl$DeviceHandlerInvocation:1262
>     run                                      N 
> com.linbit.WorkerPool$WorkerThread:179
>
> Caused by:
> ==========
>
> Description:
>     Execution of the external command 'drbdadm' failed.
> Cause:
>     The external command exited with error code 1.
> Correction:
>     - Check whether the external program is operating properly.
>     - Check whether the command line is correct.
>       Contact a system administrator or a developer if the command 
> line is no longer valid
>       for the installed version of the external program.
> Additional information:
>     The full command line executed was:
>     drbdadm --config-to-test /var/lib/linstor.d/res_drbd.res_tmp 
> --config-to-exclude /var/lib/linstor.d/res_drbd.res sh-nop
>
>     The external command sent the following output data:
>
>
>     The external command sent the follwing error information:
>     drbdadm: unrecognized option '--config-to-exclude'
>     try 'drbdadm help'
>
>
> Category:                           LinStorException
> Class name:                         ExtCmdFailedException
> Class canonical name: com.linbit.extproc.ExtCmdFailedException
> Generated at:                       Method 'execute', Source file 
> 'DrbdAdm.java', Line #437
>
> Error message:                      The external command 'drbdadm' 
> exited with error code 1
>
>
> Call backtrace:
>
>     Method                                   Native Class:Line number
>     execute                                  N 
> com.linbit.drbd.DrbdAdm:437
>     execute                                  N 
> com.linbit.drbd.DrbdAdm:423
>     checkResFile                             N 
> com.linbit.drbd.DrbdAdm:326
>     createResourceConfiguration              N 
> com.linbit.linstor.core.DrbdDeviceHandler:1404
>     createResource                           N 
> com.linbit.linstor.core.DrbdDeviceHandler:1109
>     dispatchResource                         N 
> com.linbit.linstor.core.DrbdDeviceHandler:316
>     run                                      N 
> com.linbit.linstor.core.DeviceManagerImpl$DeviceHandlerInvocation:1262
>     run                                      N 
> com.linbit.WorkerPool$WorkerThread:179
>
>
> END OF ERROR REPORT.
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


More information about the drbd-user mailing list