Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-2739

Catalog-db-adapter container exiting with error

XMLWordPrintable

      Catalog-db-adapter is exiting with error code while connecting with Mariadb and not coming up on local setup.

       

      2020-03-18T14:34:50.634Z||main|||||ERROR|500||Migration of schema `catalogdb` with repeatable migration R_CloudConfigMigration failed! Please restore backups and roll back database and code!
      2020-03-18T14:34:50.681Z||main|||||ERROR|500||Application run failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException: Migration failed !)

       

      find attached debug.log file for more information 

      steps to reproduce:

       
      clone this branch
      https://github.com/onap/so-docker-config.git
       
      and run docker-compose up with latest so images. 
       
      If catalalog-adapter shows connection refused put some delay in catalog-db-adapter untill catalogdb is created in database.

        1. error.log
          6 kB
        2. debug-2.log
          8 kB

            tragait tragait
            tragait tragait
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: