Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linstor controller v1.20.3 does not start in the Kubernetes cluster due to a NullPointer exception #384

Open
dmrub opened this issue Feb 1, 2024 · 0 comments

Comments

@dmrub
Copy link

dmrub commented Feb 1, 2024

When starting in a cluster linstor controller stops with following error:

10:18:41.363 [Main] ERROR LINSTOR/Controller - SYSTEM - Unhandled exception [Report number 65BB6FFC-00000-000001]
Following error reports are in /var/log/linstor-controller/ directory:

/var/log/linstor-controller/ErrorReport-65BB6FFC-00000-000000.log

ERROR REPORT 65BB6FFC-00000-000000

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

Application:                        LINBIT? LINSTOR
Module:                             Controller
Version:                            1.20.3
Build ID:                           8d19a891df018f6e3d40538d809904f024bfe361
Build time:                         2023-01-26T08:40:26+00:00
Error time:                         2024-02-01 10:18:41
Node:                               linstor-controller-556cdd789d-kxns7

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

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

Category:                           RuntimeException
Class name:                         NullPointerException
Class canonical name:               java.lang.NullPointerException
Generated at:                       Method 'loadTeRules', Source file 'DbK8sCrdPersistence.java', Line #161


Call backtrace:

    Method                                   Native Class:Line number
    loadTeRules                              N      com.linbit.linstor.security.DbK8sCrdPersistence:161
    loadTeRules                              N      com.linbit.linstor.security.DbK8sCrdPersistence:35
    load                                     N      com.linbit.linstor.security.SecurityType:185
    load                                     N      com.linbit.linstor.security.Initializer:20
    initialize                               N      com.linbit.linstor.security.DbSecurityInitializer:42
    startSystemServices                      N      com.linbit.linstor.core.ApplicationLifecycleManager:87
    start                                    N      com.linbit.linstor.core.Controller:360
    main                                     N      com.linbit.linstor.core.Controller:608


END OF ERROR REPORT.

ErrorReport-65BB6FFC-00000-000001.log

ERROR REPORT 65BB6FFC-00000-000001

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

Application:                        LINBIT? LINSTOR
Module:                             Controller
Version:                            1.20.3
Build ID:                           8d19a891df018f6e3d40538d809904f024bfe361
Build time:                         2023-01-26T08:40:26+00:00
Error time:                         2024-02-01 10:18:41
Node:                               linstor-controller-556cdd789d-kxns7

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

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

Description:
    Unhandled exception

Category:                           LinStorException
Class name:                         SystemServiceStartException
Class canonical name:               com.linbit.SystemServiceStartException
Generated at:                       Method 'startSystemServices', Source file 'ApplicationLifecycleManager.java', Line #103

Error message:                      Unhandled exception

Call backtrace:

    Method                                   Native Class:Line number
    startSystemServices                      N      com.linbit.linstor.core.ApplicationLifecycleManager:103
    start                                    N      com.linbit.linstor.core.Controller:360
    main                                     N      com.linbit.linstor.core.Controller:608

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

Category:                           RuntimeException
Class name:                         NullPointerException
Class canonical name:               java.lang.NullPointerException
Generated at:                       Method 'loadTeRules', Source file 'DbK8sCrdPersistence.java', Line #161


Call backtrace:

    Method                                   Native Class:Line number
    loadTeRules                              N      com.linbit.linstor.security.DbK8sCrdPersistence:161
    loadTeRules                              N      com.linbit.linstor.security.DbK8sCrdPersistence:35
    load                                     N      com.linbit.linstor.security.SecurityType:185
    load                                     N      com.linbit.linstor.security.Initializer:20
    initialize                               N      com.linbit.linstor.security.DbSecurityInitializer:42
    startSystemServices                      N      com.linbit.linstor.core.ApplicationLifecycleManager:87
    start                                    N      com.linbit.linstor.core.Controller:360
    main                                     N      com.linbit.linstor.core.Controller:608


END OF ERROR REPORT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant