Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-310

Data schema migration from Honolulu to Istanbul is failing

    XMLWordPrintable

Details

    Description

      CPS database schema migration script is not able to update the schema from Honolulu version to Istanbul.

      Steps to reproduce:

      1. Have Honolulu database schema in place and functional.
      2. Upgrade to Istambul code base (code currently in master) and start CPS

      Actual behaviour:

      CPS does not start and raises Liquibase Validation exception:

       

      2021-03-31 06:58:07.005 ERROR [,,,] 13975 --- [ main] o.s.boot.SpringApplication : Application run failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/springframework/boot/autoconfigure/liquibase/LiquibaseAutoConfiguration$LiquibaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.ValidationFailedException: Validation Failed:
       1 change sets check sum
       changelog/db/changes/03-loadData-schema-set.yaml::3.2::cps was: 8:2df63cb61c7f736b9ad12cfc80e8df43 but is now: 8:d587f45b4ef28341b0fff679fb035c6b
      

      Expected behaviour:

      Database schema migration script is able to upgrade the schema.

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ToineSiebelink Toine Siebelink
            brusak Bruno Sakoto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: