LINBIT / linstor-server

High Performance Software-Defined Block Storage for container, cloud and virtualisation. Fully integrated with Docker, Kubernetes, Openstack, Proxmox etc.
https://docs.linbit.com/docs/linstor-guide/
GNU General Public License v3.0
984 stars 76 forks source link

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

Open dmrub opened 9 months ago

dmrub commented 9 months ago

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.