Здраствуйте кластер состоит из трех нодов lin1,lin2,lin3, Ноды добавлены успешно и следующие команды выполнены успешно
lvcreate -L 1G -T vg1/thinpool #На каждом хосте
storage-pool create lvmthin lin1 thinlvmpool vg1/thinpool
storage-pool create lvmthin lin2 thinlvmpool vg1/thinpool
storage-pool create lvmthin lin3 thinlvmpool vg1/thinpool
linstor resource-definition create mythin
linstor volume-definition create mythin 500M
resource create mythin --auto-place 2 --storage-pool thinlvmpool Но на этом команде возникает ошибка который я не могу решить
Код ошибки при выполнении последний команды и +скрин
resource list
╭──────────────────────────────────────────────────────────────────╮
┊ ResourceName ┊ Node ┊ Port ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊
╞══════════════════════════════════════════════════════════════════╡
┊ mythin ┊ lin1 ┊ 7000 ┊ ┊ ┊ Unknown ┊ ┊
┊ mythin ┊ lin2 ┊ 7000 ┊ ┊ ┊ Unknown ┊ ┊
┊ mythin ┊ lin3 ┊ 7000 ┊ ┊ ┊ Unknown ┊ ┊
╰──────────────────────────────────────────────────────────────────╯
LINSTOR ==> linstor error-reports show 6362D933-CFC98-000006
ERROR REPORT 6362D933-CFC98-000006
============================================================
Application: LINBIT® LINSTOR
Module: Satellite
Version: 1.20.0
Build ID: 9c6f7fad48521899f7a99c564b1d33aeacfdbfa8
Build time: 2022-10-18T08:26:14+00:00
Error time: 2022-11-03 01:21:03
Node: lin3
============================================================
Reported error:
===============
Description:
Failed to adjust DRBD resource mythin
Category: LinStorException
Class name: ResourceException
Class canonical name: com.linbit.linstor.core.devmgr.exceptions.ResourceException
Generated at: Method 'adjustDrbd', Source file 'DrbdLayer.java', Line #819
Error message: Failed to adjust DRBD resource mythin
Error context:
An error occurred while processing resource 'Node: 'lin3', Rsc: 'mythin''
Call backtrace:
Method Native Class:Line number
adjustDrbd N com.linbit.linstor.layer.drbd.DrbdLayer:819
process N com.linbit.linstor.layer.drbd.DrbdLayer:396
process N com.linbit.linstor.core.devmgr.DeviceHandlerImpl:900
processResourcesAndSnapshots N com.linbit.linstor.core.devmgr.DeviceHandlerImpl:358
dispatchResources N com.linbit.linstor.core.devmgr.DeviceHandlerImpl:168
dispatchResources N com.linbit.linstor.core.devmgr.DeviceManagerImpl:309
phaseDispatchDeviceHandlers N com.linbit.linstor.core.devmgr.DeviceManagerImpl:1083
devMgrLoop N com.linbit.linstor.core.devmgr.DeviceManagerImpl:735
run N com.linbit.linstor.core.devmgr.DeviceManagerImpl:631
run N java.lang.Thread:750
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 -vvv adjust mythin
The external command sent the following output data:
The external command sent the following error information:
/usr/local/etc/drbd.conf:4: no match for include pattern 'drbd.d/*.res'.
no resources defined!
Category: LinStorException
Class name: ExtCmdFailedException
Class canonical name: com.linbit.extproc.ExtCmdFailedException
Generated at: Method 'execute', Source file 'DrbdAdm.java', Line #593
Error message: The external command 'drbdadm' exited with error code 1
Call backtrace:
Method Native Class:Line number
execute N com.linbit.linstor.layer.drbd.utils.DrbdAdm:593
adjust N com.linbit.linstor.layer.drbd.utils.DrbdAdm:90
adjustDrbd N com.linbit.linstor.layer.drbd.DrbdLayer:737
process N com.linbit.linstor.layer.drbd.DrbdLayer:396
process N com.linbit.linstor.core.devmgr.DeviceHandlerImpl:900
processResourcesAndSnapshots N com.linbit.linstor.core.devmgr.DeviceHandlerImpl:358
dispatchResources N com.linbit.linstor.core.devmgr.DeviceHandlerImpl:168
dispatchResources N com.linbit.linstor.core.devmgr.DeviceManagerImpl:309
phaseDispatchDeviceHandlers N com.linbit.linstor.core.devmgr.DeviceManagerImpl:1083
devMgrLoop N com.linbit.linstor.core.devmgr.DeviceManagerImpl:735
run N com.linbit.linstor.core.devmgr.DeviceManagerImpl:631
run N java.lang.Thread:750
END OF ERROR REPORT.