[DRBD-user] Failed start linstor-controller after update

Rene Peinthor rene.peinthor at linbit.com
Fri Sep 13 08:49:09 CEST 2019


Hi!

Unfortunately you discovered a bug with our changed data loading, that was
introduced with version 1.1.0.
I could reproduce this bug and I'm already working on a solution, I think
we will have a new build ready early next week.

For now you could either downgrade back to 0.9.13, or v1.0.1 should also be
safe for you.

best regards,
Rene

On Fri, Sep 13, 2019 at 8:18 AM Stéphane Larose <
Stephane.Larose at ibis.ulaval.ca> wrote:

> Hi,
>
>
>
> I am using Linstor with a Proxmox installation. Since the update of the
> linstor-controller package (Debian 9 - stretch) from 0.9.13 to 1.1.0, the
> controller module will not start. I get this error:
>
>
>
> ERROR REPORT 5D7A533E-00000-000000
>
>
>
> ============================================================
>
>
>
> Application:                        LINBIT® LINSTOR
>
> Module:                             Controller
>
> Version:                            1.1.1
>
> Build ID:
> fec52903884eb73c4e9e96260ab315989d27f207
>
> Build time:                         2019-09-10T12:59:37+00:00
>
> Error time:                         2019-09-12 10:16:34
>
> Node:                               proxmox-local
>
>
>
> ============================================================
>
>
>
> Reported error:
>
> ===============
>
>
>
> Category:                           RuntimeException
>
> Class name:                         ClassCastException
>
> Class canonical name:               java.lang.ClassCastException
>
> Generated at:                       Method 'compare', Source file
> 'TreeMap.java', Line #1294
>
>
>
> Error message:
> com.linbit.linstor.core.objects.ResourceConnectionData cannot be cast to
> java.lang.Comparable
>
>
>
> Call backtrace:
>
>
>
>     Method                                   Native Class:Line number
>
>     compare                                  N      java.util.TreeMap:1294
>
>     put                                      N      java.util.TreeMap:538
>
>     loadAll                                  N
> com.linbit.linstor.dbdrivers.sql.SQLEngine:265
>
>     loadAll                                  N
> com.linbit.linstor.dbdrivers.AbsDatabaseDriver:105
>
>     loadAllAsList                            N
> com.linbit.linstor.dbdrivers.AbsDatabaseDriver:93
>
>     loadAll                                  N
> com.linbit.linstor.dbdrivers.DatabaseLoader:341
>
>     loadCoreObjects                          N
> com.linbit.linstor.core.DbDataInitializer:153
>
>     initialize                               N
> com.linbit.linstor.core.DbDataInitializer:103
>
>     start                                    N
> com.linbit.linstor.core.Controller:244
>
>     main                                     N
> com.linbit.linstor.core.Controller:615
>
>
>
>
>
> END OF ERROR REPORT.
>
>
>
> Other logs:
>
>
>
> LINSTOR, Module Controller
>
> Version:            1.1.1 (fec52903884eb73c4e9e96260ab315989d27f207)
>
> Build time:         2019-09-10T12:59:37+00:00
>
> Java Version:       1.8
>
> Java VM:            Oracle Corporation, Version 25.222-b10
>
> Operating system:   Linux, Version 4.15.18-13-pve
>
> Environment:        amd64, 8 processors, 5356 MiB memory reserved for
> allocations
>
>
>
> System components initialization in progress
>
>
>
> 10:57:45.434 [main] INFO  LINSTOR/Controller - SYSTEM - Log directory set
> to: './logs'
>
> 10:57:45.512 [main] INFO  LINSTOR/Controller - SYSTEM - Linstor
> configuration file loaded from '/etc/linstor/linstor.toml'.
>
> 10:57:45.513 [Main] INFO  LINSTOR/Controller - SYSTEM - Loading API
> classes started.
>
> 10:57:46.098 [Main] INFO  LINSTOR/Controller - SYSTEM - API classes
> loading finished: 584ms
>
> 10:57:46.098 [Main] INFO  LINSTOR/Controller - SYSTEM - Dependency
> injection started.
>
> 10:57:47.287 [Main] INFO  LINSTOR/Controller - SYSTEM - Dependency
> injection finished: 1189ms
>
> 10:57:47.670 [Main] INFO  LINSTOR/Controller - SYSTEM - Initializing
> authentication subsystem
>
> 10:57:47.827 [Main] INFO  LINSTOR/Controller - SYSTEM - Initializing the
> database connection pool
>
> 10:57:48.328 [Main] INFO
> org.flywaydb.core.internal.license.VersionPrinter - Flyway Community
> Edition 5.2.4 by Boxfuse
>
> 10:57:48.343 [Main] INFO
> org.flywaydb.core.internal.database.DatabaseFactory - Database:
> jdbc:h2:/var/lib/linstor/linstordb (H2 1.4)
>
> 10:57:48.478 [Main] INFO  org.flywaydb.core.internal.command.DbValidate -
> Successfully validated 26 migrations (execution time 00:00.064s)
>
> 10:57:48.519 [Main] INFO  org.flywaydb.core.internal.command.DbMigrate -
> Current version of schema "LINSTOR": 2019.09.09.01.01
>
> 10:57:48.520 [Main] WARN  org.flywaydb.core.internal.command.DbMigrate -
> outOfOrder mode is active. Migration of schema "LINSTOR" may not be
> reproducible.
>
> 10:57:48.523 [Main] INFO  org.flywaydb.core.internal.command.DbMigrate -
> Schema "LINSTOR" is up to date. No migration necessary.
>
> 10:57:48.528 [Main] INFO  LINSTOR/Controller - SYSTEM - Loading security
> objects
>
> 10:57:48.543 [Main] INFO  LINSTOR/Controller - SYSTEM - Current security
> level is NO_SECURITY
>
> 10:57:48.568 [Main] INFO  LINSTOR/Controller - SYSTEM - Core objects load
> from database is in progress
>
> 10:57:48.731 [Main] ERROR LINSTOR/Controller - SYSTEM -
> com.linbit.linstor.core.objects.ResourceConnectionData cannot be cast to
> java.lang.Comparable [Report number 5D7A5CE9-00000-000000]
>
>
>
> 10:57:48.733 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Shutdown in
> progress
>
> 10:57:48.733 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Shutting down
> service instance 'DatabaseService' of type DatabaseService
>
> 10:57:48.734 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Waiting for
> service instance 'DatabaseService' to complete shutdown
>
> 10:57:48.734 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Shutting down
> service instance 'TaskScheduleService' of type TaskScheduleService
>
> 10:57:48.734 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Waiting for
> service instance 'TaskScheduleService' to complete shutdown
>
> 10:57:48.734 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Shutting down
> service instance 'TimerEventService' of type TimerEventService
>
> 10:57:48.735 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Waiting for
> service instance 'TimerEventService' to complete shutdown
>
> 10:57:48.735 [Thread-1] INFO  LINSTOR/Controller - SYSTEM - Shutdown
> complete
>
>
>
> Any help appreciated!
>
>
>
> Best regards,
>
>
>
> Stéphane
>
>
> _______________________________________________
> Star us on GITHUB: https://github.com/LINBIT
> drbd-user mailing list
> drbd-user at lists.linbit.com
> https://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20190913/e0266474/attachment-0001.htm>


More information about the drbd-user mailing list