Skip to content

Error creating rollback entry - Resource SecObjectProtection not found #454

@ksyblast

Description

@ksyblast

hello!

Urgent help needed!

OS: Oracle Linux 8
Kernel: UEK 5.15.0-308.179.6.el8uek.x86_64
piraeus-operator: v2.8.0
velero: v1.15.2

Got an error during backup of ANY volume:

time="2025-05-29T15:24:24Z" level=warning msg="VolumeSnapshotContent snapcontent-5fefd56c-f43b-45cf-8998-848f9b119661 has error: Failed to check and update snapshot content: failed to take snapshot of the volume pvc-e60b0f01-dfe4-4237-b4aa-b59aa70828b6: \"rpc error: code = Internal desc = failed to delete temporary snapshot ID: Message: 'Exception thrown.'; Details: 'com.linbit.linstor.transaction.TransactionException: Error creating rollback entry'; Reports: '[6822F3BD-00000-001896]'\"" backup=velero/ksy-20250529-02 cmd=/velero logSource="pkg/util/csi/volume_snapshot.go:744" pluginName=velero

ERROR REPORT 6822F3BD-00000-001896

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

Application:                        LINBIT? LINSTOR
Module:                             Controller
Version:                            1.30.4
Build ID:                           bef74a44609cb592c5efad2e707b50e696623c61
Build time:                         2025-02-03T15:48:28+00:00
Error time:                         2025-05-29 15:23:46
Node:                               linstor-controller-5dd47c5b84-7rftt
Thread:                             grizzly-http-server-8

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

Reported error:
===============

Category:                           RuntimeException
Class name:                         ApiTransactionException
Class canonical name:               com.linbit.linstor.core.apicallhandler.response.ApiTransactionException
Generated at:                       Method 'commit', Source file 'CtrlTransactionHelper.java', Line #30

Error message:                      com.linbit.linstor.transaction.TransactionException: Error creating rollback entry

Call backtrace:

    Method                                   Native Class:Line number
    commit                                   N      com.linbit.linstor.core.apicallhandler.controller.CtrlTransactionHelper:30
    modifyKvs                                N      com.linbit.linstor.core.apicallhandler.controller.CtrlKvsApiCallHandler:182
    modifyKvs                                N      com.linbit.linstor.core.apicallhandler.controller.CtrlApiCallHandler:1139
    lambda$modifyKVStore$2                   N      com.linbit.linstor.api.rest.v1.KeyValueStore:104
    doInScope                                N      com.linbit.linstor.api.rest.v1.RequestHelper:235
    modifyKVStore                            N      com.linbit.linstor.api.rest.v1.KeyValueStore:97
    invoke                                   N      jdk.internal.reflect.GeneratedMethodAccessor204:unknown
    invoke                                   N      jdk.internal.reflect.DelegatingMethodAccessorImpl:43
    invoke                                   N      java.lang.reflect.Method:569
    lambda$static$0                          N      org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory:52
    run                                      N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1:146
    invoke                                   N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:189
    doDispatch                               N      org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker:176
    dispatch                                 N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:93
    invoke                                   N      org.glassfish.jersey.server.model.ResourceMethodInvoker:478
    apply                                    N      org.glassfish.jersey.server.model.ResourceMethodInvoker:400
    apply                                    N      org.glassfish.jersey.server.model.ResourceMethodInvoker:81
    run                                      N      org.glassfish.jersey.server.ServerRuntime$1:256
    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:235
    handle                                   N      org.glassfish.jersey.server.ApplicationHandler:684
    service                                  N      org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer:356
    run                                      N      org.glassfish.grizzly.http.server.HttpHandler$1:190
    doWork                                   N      org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:535
    run                                      N      org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:515
    run                                      N      java.lang.Thread:840

Caused by:
==========

Category:                           RuntimeException
Class name:                         TransactionException
Class canonical name:               com.linbit.linstor.transaction.TransactionException
Generated at:                       Method 'commit', Source file 'ControllerK8sCrdTransactionMgr.java', Line #157

Error message:                      Error creating rollback entry

ErrorContext: 

Call backtrace:

    Method                                   Native Class:Line number
    commit                                   N      com.linbit.linstor.transaction.ControllerK8sCrdTransactionMgr:157
    commit                                   N      com.linbit.linstor.core.apicallhandler.controller.CtrlTransactionHelper:26
    modifyKvs                                N      com.linbit.linstor.core.apicallhandler.controller.CtrlKvsApiCallHandler:182
    modifyKvs                                N      com.linbit.linstor.core.apicallhandler.controller.CtrlApiCallHandler:1139
    lambda$modifyKVStore$2                   N      com.linbit.linstor.api.rest.v1.KeyValueStore:104
    doInScope                                N      com.linbit.linstor.api.rest.v1.RequestHelper:235
    modifyKVStore                            N      com.linbit.linstor.api.rest.v1.KeyValueStore:97
    invoke                                   N      jdk.internal.reflect.GeneratedMethodAccessor204:unknown
    invoke                                   N      jdk.internal.reflect.DelegatingMethodAccessorImpl:43
    invoke                                   N      java.lang.reflect.Method:569
    lambda$static$0                          N      org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory:52
    run                                      N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1:146
    invoke                                   N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:189
    doDispatch                               N      org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker:176
    dispatch                                 N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:93
    invoke                                   N      org.glassfish.jersey.server.model.ResourceMethodInvoker:478
    apply                                    N      org.glassfish.jersey.server.model.ResourceMethodInvoker:400
    apply                                    N      org.glassfish.jersey.server.model.ResourceMethodInvoker:81
    run                                      N      org.glassfish.jersey.server.ServerRuntime$1:256
    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:235
    handle                                   N      org.glassfish.jersey.server.ApplicationHandler:684
    service                                  N      org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer:356
    run                                      N      org.glassfish.grizzly.http.server.HttpHandler$1:190
    doWork                                   N      org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:535
    run                                      N      org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:515
    run                                      N      java.lang.Thread:840

Caused by:
==========

Category:                           LinStorException
Class name:                         DatabaseException
Class canonical name:               com.linbit.linstor.dbdrivers.DatabaseException
Generated at:                       Method 'createRollbackEntry', Source file 'ControllerK8sCrdRollbackMgr.java', Line #84

Error message:                      Resource SecObjectProtection/b6a849d48698fe9940ba0d46833827435bd8c66911bf4735b623d1d0dfa74686 not found

ErrorContext:


Call backtrace:

    Method                                   Native Class:Line number
    createRollbackEntry                      N      com.linbit.linstor.transaction.ControllerK8sCrdRollbackMgr:84
    commit                                   N      com.linbit.linstor.transaction.ControllerK8sCrdTransactionMgr:152
    commit                                   N      com.linbit.linstor.core.apicallhandler.controller.CtrlTransactionHelper:26
    modifyKvs                                N      com.linbit.linstor.core.apicallhandler.controller.CtrlKvsApiCallHandler:182
    modifyKvs                                N      com.linbit.linstor.core.apicallhandler.controller.CtrlApiCallHandler:1139
    lambda$modifyKVStore$2                   N      com.linbit.linstor.api.rest.v1.KeyValueStore:104
    doInScope                                N      com.linbit.linstor.api.rest.v1.RequestHelper:235
    modifyKVStore                            N      com.linbit.linstor.api.rest.v1.KeyValueStore:97
    invoke                                   N      jdk.internal.reflect.GeneratedMethodAccessor204:unknown
    invoke                                   N      jdk.internal.reflect.DelegatingMethodAccessorImpl:43
    invoke                                   N      java.lang.reflect.Method:569
    lambda$static$0                          N      org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory:52
    run                                      N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1:146
    invoke                                   N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:189
    doDispatch                               N      org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker:176
    dispatch                                 N      org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher:93
    invoke                                   N      org.glassfish.jersey.server.model.ResourceMethodInvoker:478
    apply                                    N      org.glassfish.jersey.server.model.ResourceMethodInvoker:400
    apply                                    N      org.glassfish.jersey.server.model.ResourceMethodInvoker:81
    run                                      N      org.glassfish.jersey.server.ServerRuntime$1:256
    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:235
    handle                                   N      org.glassfish.jersey.server.ApplicationHandler:684
    service                                  N      org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer:356
    run                                      N      org.glassfish.grizzly.http.server.HttpHandler$1:190
    doWork                                   N      org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:535
    run                                      N      org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker:515
    run                                      N      java.lang.Thread:840


END OF ERROR REPORT.


I have checked here it's recommended to create the problematic resource, but with which contents should I do it?
I don't find any mentions of this resource in etcd and it's triggered for ANY volume we are trying to backup with the same SecObjectProtection/b6a849d48698fe9940ba0d46833827435bd8c66911bf4735b623d1d0dfa74686.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions