Upgrade Cloudera Model Registry
When you upgrade a Cloudera Model 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 Cloudera Model Regsitries, choose a registry to upgrade.
- Copy the CRN (Creator) shown in the Cloudera Model Regsitries.
- In the Cloudera Data Platform CLI, enter
cdp ml upgrade-model-registry —crn <crn>
In the Cloudera Model Regsitries 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 workspace. Check that all of the models are there. Deleting the old Cloudera Model 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 Cloudera Model 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.