LINBIT / linstor-client

Python client for LINSTOR
https://docs.linbit.com/docs/linstor-guide/
GNU General Public License v3.0
22 stars 10 forks source link

Failed to create meta-data for DRBD volume while auto-placing #23

Closed eleens closed 4 years ago

eleens commented 4 years ago

There occur the error with the message "Failed to create meta-data for DRBD volume" When I create 16 volumes one time. But some volumes is normal. This is the error report: ERROR REPORT 5DAFBFD1-8EBCA-000103

============================================================

Application: LINBIT® LINSTOR Module: Satellite Version: 1.0.1 Build ID: 98a9905de43631b745c7c0741c2ef8f577513b23 Build time: 2019-08-09T07:02:30+00:00 Error time: 2019-10-28 17:19:21 Node: sto3

============================================================

Reported error:

Description: Failed to create meta-data for DRBD volume rrd11/0

Category: LinStorException Class name: VolumeException Class canonical name: com.linbit.linstor.storage.layer.exceptions.VolumeException Generated at: Method 'createMetaData', Source file 'DrbdLayer.java', Line #781

Error message: Failed to create meta-data for DRBD volume rrd11/0

Error context: An error occurred while processing resource 'Node: 'sto3', Rsc: 'rrd11''

Call backtrace:

Method                                   Native Class:Line number
createMetaData                           N      com.linbit.linstor.storage.layer.adapter.drbd.DrbdLayer:781
adjustDrbd                               N      com.linbit.linstor.storage.layer.adapter.drbd.DrbdLayer:432
process                                  N      com.linbit.linstor.storage.layer.adapter.drbd.DrbdLayer:260
process                                  N      com.linbit.linstor.core.devmgr.DeviceHandlerImpl:683
processResourcesAndTheirSnapshots        N      com.linbit.linstor.core.devmgr.DeviceHandlerImpl:286
dispatchResources                        N      com.linbit.linstor.core.devmgr.DeviceHandlerImpl:137
dispatchResources                        N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:254
phaseDispatchDeviceHandlers              N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:862
devMgrLoop                               N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:589
run                                      N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:506
run                                      N      java.lang.Thread:748

Caused by:

Description: Execution of the external command 'drbdadm' failed. Cause: The external command exited with error code 20. Correction:

Category: LinStorException Class name: ExtCmdFailedException Class canonical name: com.linbit.extproc.ExtCmdFailedException Generated at: Method 'execute', Source file 'DrbdAdm.java', Line #495

Error message: The external command 'drbdadm' exited with error code 20

Call backtrace:

Method                                   Native Class:Line number
execute                                  N      com.linbit.linstor.storage.layer.adapter.drbd.utils.DrbdAdm:495
simpleAdmCommand                         N      com.linbit.linstor.storage.layer.adapter.drbd.utils.DrbdAdm:440
createMd                                 N      com.linbit.linstor.storage.layer.adapter.drbd.utils.DrbdAdm:221
createMetaData                           N      com.linbit.linstor.storage.layer.adapter.drbd.DrbdLayer:720
adjustDrbd                               N      com.linbit.linstor.storage.layer.adapter.drbd.DrbdLayer:432
process                                  N      com.linbit.linstor.storage.layer.adapter.drbd.DrbdLayer:260
process                                  N      com.linbit.linstor.core.devmgr.DeviceHandlerImpl:683
processResourcesAndTheirSnapshots        N      com.linbit.linstor.core.devmgr.DeviceHandlerImpl:286
dispatchResources                        N      com.linbit.linstor.core.devmgr.DeviceHandlerImpl:137
dispatchResources                        N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:254
phaseDispatchDeviceHandlers              N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:862
devMgrLoop                               N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:589
run                                      N      com.linbit.linstor.core.devmgr.DeviceManagerImpl:506
run                                      N      java.lang.Thread:748

END OF ERROR REPORT.

ghernadi commented 4 years ago

Hi, what is the version of drbd on that node? cat /proc/drbd

Although I don't think it is related, the current version of linstor if 1.2.0, whereas you are still running 1.0.1

raltnoeder commented 4 years ago

Also, what's the process that holds the lock (it said pid 31072)?

rp- commented 4 years ago

I'm pretty sure this isn't client related and we got no further info