twoliter icon indicating copy to clipboard operation
twoliter copied to clipboard

check-migration script failed due to outdated migration path

Open ytsssun opened this issue 6 months ago • 0 comments

During the migration test for 1.21.1's host containers, I notice that the check-migration task failed with error

Found 4 problem(s) with data store migrations:
    - Migration 'aws-admin-container-v0-11-10' does not exist
    - Migration 'public-admin-container-v0-11-10' does not exist
    - Migration 'aws-control-container-v0-7-14' does not exist
    - Migration 'public-control-container-v0-7-14' does not exist

By looking at the Twoliter code, it is because it is pointing to an outdated root path for migrations. See https://github.com/bottlerocket-os/twoliter/blob/efd17d998a6b59cb1d26866d155f8c4db3f6bcc2/twoliter/embedded/Makefile.toml#L556

It should be now updated to sources/settings-migrations/v${version}.

ytsssun avatar Aug 19 '24 23:08 ytsssun