# linstor err show 5CF7F56F-00000-000001 ERROR REPORT 5CF7F56F-00000-000001 ============================================================ Application: LINBITŪ LINSTOR Module: Controller Version: 0.9.9 Build ID: 64b60e05c91b50097963c60f88830ce504dd4fd7 Build time: 2019-05-23T07:18:37+00:00 Error time: 2019-06-05 17:15:26 Node: drbd-kvm-1 Peer: RestClient(192.168.122.2) ============================================================ Reported error: =============== Category: Exception Class name: JdbcSQLException Class canonical name: org.h2.jdbc.JdbcSQLException Generated at: Method 'getJdbcSQLException', Source file 'DbException.java', Line #357 Error message: Unique index or primary key violation: "UNQ_LDVD_MINOR_INDEX_9 ON LINSTOR.LAYER_DRBD_VOLUME_DEFINITIONS(VLM_MINOR_NR) VALUES (1005, 6)"; SQL statement: INSERT INTO LAYER_DRBD_VOLUME_DEFINITIONS ( RESOURCE_NAME, RESOURCE_NAME_SUFFIX, VLM_NR, VLM_MINOR_NR ) VALUES ( ?, ?, ?, ? ) [23505-197] Error context: An sql excption occured while creating layer data Call backtrace: Method Native Class:Line number getJdbcSQLException N org.h2.message.DbException:357 get N org.h2.message.DbException:179 get N org.h2.message.DbException:155 getDuplicateKeyException N org.h2.index.BaseIndex:101 requireUnique N org.h2.mvstore.db.MVSecondaryIndex:236 add N org.h2.mvstore.db.MVSecondaryIndex:202 addRow N org.h2.mvstore.db.MVTable:732 insertRows N org.h2.command.dml.Insert:182 update N org.h2.command.dml.Insert:134 update N org.h2.command.CommandContainer:102 executeUpdate N org.h2.command.Command:261 executeUpdateInternal N org.h2.jdbc.JdbcPreparedStatement:199 executeUpdate N org.h2.jdbc.JdbcPreparedStatement:153 executeUpdate N org.apache.commons.dbcp2.DelegatingPreparedStatement:136 executeUpdate N org.apache.commons.dbcp2.DelegatingPreparedStatement:136 persist N com.linbit.linstor.DrbdLayerGenericDbDriver:514 createDrbdVlmDfnData N com.linbit.linstor.storage.utils.LayerDataFactory:181 ensureDrbdRscLayerCreated N com.linbit.linstor.CtrlLayerStackHelper:529 ensureStackDataExists N com.linbit.linstor.CtrlLayerStackHelper:328 create N com.linbit.linstor.VolumeDataControllerFactory:81 createVolume N com.linbit.linstor.core.apicallhandler.controller.CtrlVlmCrtApiHelper:161 restoreOnNode N com.linbit.linstor.core.apicallhandler.controller.CtrlSnapshotRestoreApiCallHandler:286 restoreResourceInTransaction N com.linbit.linstor.core.apicallhandler.controller.CtrlSnapshotRestoreApiCallHandler:172 lambda$restoreSnapshot$0 N com.linbit.linstor.core.apicallhandler.controller.CtrlSnapshotRestoreApiCallHandler:126 doInScope N com.linbit.linstor.core.apicallhandler.ScopeRunner:141 lambda$null$0 N com.linbit.linstor.core.apicallhandler.ScopeRunner:71 call N reactor.core.publisher.MonoCallable:91 trySubscribeScalarMap N reactor.core.publisher.FluxFlatMap:126 subscribe N reactor.core.publisher.MonoFlatMapMany:46 subscribe N reactor.core.publisher.Flux:7734 onNext N reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain:184 request N reactor.core.publisher.Operators$ScalarSubscription:2041 onSubscribe N reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain:131 subscribe N reactor.core.publisher.MonoCurrentContext:35 subscribe N reactor.core.publisher.MonoFlatMapMany:49 subscribe N reactor.core.publisher.FluxOnAssembly:164 subscribe N reactor.core.publisher.FluxMapFuseable:63 subscribe N reactor.core.publisher.FluxOnErrorResume:47 subscribe N reactor.core.publisher.Flux:7734 onNext N reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain:184 request N reactor.core.publisher.Operators$ScalarSubscription:2041 onSubscribe N reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain:131 subscribe N reactor.core.publisher.MonoCurrentContext:35 subscribe N reactor.core.publisher.MonoFlatMapMany:49 subscribe N reactor.core.publisher.FluxContextStart:49 subscribe N reactor.core.publisher.MonoCollectList:59 subscribe N reactor.core.publisher.MonoMapFuseable:59 subscribe N reactor.core.publisher.MonoOnErrorResume:44 subscribe N reactor.core.publisher.Mono:3608 subscribeWith N reactor.core.publisher.Mono:3714 subscribe N reactor.core.publisher.Mono:3602 subscribe N reactor.core.publisher.Mono:3569 subscribe N reactor.core.publisher.Mono:3541 doFlux N com.linbit.linstor.api.rest.v1.RequestHelper:174 restoreResource N com.linbit.linstor.api.rest.v1.SnapshotRestoreResource:65 invoke0 Y sun.reflect.NativeMethodAccessorImpl:unknown invoke N sun.reflect.NativeMethodAccessorImpl:62 invoke N sun.reflect.DelegatingMethodAccessorImpl:43 invoke N java.lang.reflect.Method:498 lambda$static$0 N org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory:52 run N org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1:124 invoke N org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:167 doDispatch N org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker:159 dispatch N org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:79 invoke N org.glassfish.jersey.server.model.ResourceMethodInvoker:469 apply N org.glassfish.jersey.server.model.ResourceMethodInvoker:391 apply N org.glassfish.jersey.server.model.ResourceMethodInvoker:80 run N org.glassfish.jersey.server.ServerRuntime$1:253 call N org.glassfish.jersey.internal.Errors$1:248 call N org.glassfish.jersey.internal.Errors$1:244 process N org.glassfish.jersey.internal.Errors:292 process N org.glassfish.jersey.internal.Errors:274 process N org.glassfish.jersey.internal.Errors:244 runInScope N org.glassfish.jersey.process.internal.RequestScope:265 process N org.glassfish.jersey.server.ServerRuntime:232 handle N org.glassfish.jersey.server.ApplicationHandler:679 service N org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer:353 run N org.glassfish.grizzly.http.server.HttpHandler$1:200 doWork N org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:569 run N org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:549 run N java.lang.Thread:748 END OF ERROR REPORT.