Upgrade AI Registry
When you upgrade a AI Registry, you create a new version of the registry. You can roll back to the old version, or delete the old registry if it is no longer needed.
- In AI Registries, choose a registry to upgrade.
- Copy the CRN (Creator) shown in the AI Registries.
- In the Cloudera Data Platform CLI, enter
cdp ml upgrade-model-registry —crn <crn>
In the AI Registries UI, the Status of the AI registry changes to Backup Initiated. The process starts provisioning a new registry (Status: Creating) and then performs a backup operation to restore the state.
- When the new registry shows Ready, then in Actions, click Synchronize. Check the contents of the new registry to verify that all of the models have transferred.
- Finally, after verifying the contents of the new registry, you can delete the old registry (check the Created at timestamp) in the Action menu. This action is irreversible.
To verify the data, go to a workbench. Check that all of the models are there. Deleting the old AI registry cannot be reversed.
You should also check the event logs to see if any errors occurred during the upgrade. Can also be used real time to see that the process is running. If there is a need for an escalation ticket, make sure to include the logs.
If you upgrade a AI registry, then synchronize, then rollback, any models that were added through synchronizing will not be present. The process does not transfer the data backwards to the old registry.