Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-3674

aai-graphadmin-create-db-schema job does run forever

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • Montreal Release
    • Montreal Release

      In case of a problem with the Cassandra DB connection, the job does not restart, but runs forever.
      I detected this issue multiple times using a new cassandra version.
      In the logs you might se an error like:

      {"timestamp":"2023-11-05T23:47:55.958Z","message":"No schema agreement from live replicas after 10 s. The schema may not be up to date on some nodes.","thread":"JanusGraph Cluster-worker-0","logger":"com.datastax.driver.core.Cluster","level":"WARN","logType":"app"}
      {"timestamp":"2023-11-05T23:47:55.959Z","message":"[Control connection] Refreshing schema for aaigraph.systemlog (TABLE)","thread":"JanusGraph Cluster-worker-0","logger":"c.d.driver.core.ControlConnection","level":"DEBUG","logType":"app"}
      Exception in thread "main" java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       

      but the job continues to run forever and waits for schema completion.
      This will prevent the AAI components to start...

      If the job would detect the problem and stops with a failure, it would be started and in many cases successfully finish.

            Unassigned Unassigned
            andreasgeissler Andreas Geissler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: