Open nadvornik opened 1 week ago
I if we set the prepare command we should stop just after the rsync of each volume. All the config changes (and probably the distribution copy) should be done only on final migrate. The goal is to start copy the major data folder to speed migration.
I think it is safe to let the migration scrip run till the end. All the config changes it does will be overwritten by the final run, but it can help to spot potential problems earlier, before stopping the old server.
I have added kubernetes fixes - scale to 0 and skip traefik installation.
What does this PR change?
This PR adds
--prepare
option tomigrate
command. With this option, the migration does not stop the services on source server and ends after syncing the data.Test coverage
No tests: add explanation
No tests: already covered
Unit tests were added
[ ] DONE
Links
Issue(s): https://github.com/uyuni-project/uyuni-tools/issues/181
Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:
If you uncheck the checkbox after the PR is created, you will need to re-run
changelog_test
(see below)Before you merge
Check How to branch and merge properly!