-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration Aides Second Release #52
Conversation
Testing/Validation NotesMigration ValidationCurrent validation of a migration is done by hand. There are ideas/plans to automate the testing.
Random objects are selected and json content is inspected to be the same (this step should be automated to ensure every resource object is the same, but that will be done later). Lastly, I Migration scenariosEnsure project group migration worksThis is a test of migrating a single project group. The target project group must have at least 1 dataset and 1 trained-model. Ensure multiple project groups are migratedThis is a test of multiple project groups in a single migration operation. One of the target project groups has the same Ensure user migration worksThis is a test to ensure that all resources associated with a single user is migrated correctly. The user should have multiple Ensure multiple users are migratedThis is a test to ensure that all resources associated with a single user is migrated correctly. On of the users should have Ensure that whole server migration still worksThis test is to ensure that the previous capability to migrate an entire server is still possible. ResultsAll tests have been performed and all tests have run successfully. CaveatsDuring testing in a customer environment the following issues were discovered and corrected. 1. Migration failed because MVI versions could not be validatedThis problem occurred because there was no route from the test source server to the destination MVI API end point. At the present time, the purpose of the version check is to ensure that we are not migrating from a higher version to a lower version. With the current support, migration only works from a standalone server to a MAS based cloud server. By definition that means the destination version will be higher. If either for the |
This PR radically changes the migration aids.
It has the following:
1. a single script that controls all aspects of the migration.
This script is self contained so that it can be copied onto a standalone server and used to manage a migration. It supports starting, checking status, and cleaning up a migration.
This script will create the deployment definition file and deploy it so that the user does not have to know anything about
deployment definitions.
However, if some customization of the deployment is needed, the deployment definition file is output so that it can be edited and deployed manually.
2. More fine grained migrations a supported
With these changes, migration of an entire user or a project group is supported. It is possible to specify multiple users or project groups on a single invocation. Or, multiple migrations can be done; either sequentially or at the same time.
When multiple users (or project groups) are given on a single invocation, each user (or project group) is migrated to completion before the next one in the list is started.
Note that you cannot mix project groups and users in a single migration invocation.