[DRBD-user] Proxmox5.2-12 + latest linstor drbdadm --config-to-exclude error
Max O.Kipytkov
kipytkov at gmail.com
Fri Nov 30 10:46:08 CET 2018
Dear all,
I'm deploy drbd storage and use this documentation
https://www.linbit.com/en/linstor-setup-proxmox-ve-volumes/, but have
some problem and don't know how resolv it.
When i run
root at pve:~# linstor resource create pve local
I have some error:
SUCCESS:
Description:
New resource 'local' on node 'pve' registered.
Details:
Resource 'local' on node 'pve' UUID is: 1baa49d7-a08b-427f-8a65-392d79ddb9fc
SUCCESS:
Description:
Volume with number '0' on resource 'local' on node 'pve'
successfully registered
Details:
Volume UUID is: 6b4aac9a-8d25-48d7-a4d2-d96e58cc02d2
ERROR:
Description:
(Node: 'pve') Generated resource file for resource 'local' 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
Show reports:
linstor error-reports show 5C00E4DB-ADBAA-000006
And resource:
root at pve:~# linstor resource list
╭──────────────────────────────────────────────╮
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ local ┊ pve ┊ 7000 ┊ ┊ Unknown ┊
╰──────────────────────────────────────────────╯
============================================================
Application: LINBIT® LINSTOR
Module: Satellite
Version: 0.7.3
Build ID: 6e47dd2cb440e65727889f4c2f7423996153bdb3
Build time: 2018-11-22T10:24:37+00:00
Error time: 2018-11-30 12:18:09
Node: pve
============================================================
Reported error:
===============
Description:
Operations on resource 'local' 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 #1435
Error message: Generated resource file for
resource 'local' is invalid.
Error context:
Generated resource file for resource 'local' is invalid.
Call backtrace:
Method Native Class:Line number
createResourceConfiguration N
com.linbit.linstor.core.DrbdDeviceHandler:1435
createResource N
com.linbit.linstor.core.DrbdDeviceHandler:1136
dispatchResource N
com.linbit.linstor.core.DrbdDeviceHandler:364
run N
com.linbit.linstor.core.DeviceManagerImpl$DeviceHandlerInvocation:1225
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/local.res_tmp
--config-to-exclude /var/lib/linstor.d/local.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:1428
createResource N
com.linbit.linstor.core.DrbdDeviceHandler:1136
dispatchResource N
com.linbit.linstor.core.DrbdDeviceHandler:364
run N
com.linbit.linstor.core.DeviceManagerImpl$DeviceHandlerInvocation:1225
run N
com.linbit.WorkerPool$WorkerThread:179
END OF ERROR REPORT.
Anyone kwon how I can resolv the error?
Thanks in advance and best regards.
More information about the drbd-user
mailing list