Chapter 13. Upgrading the Migration Toolkit for Virtualization
Chapter 13. Upgrading the Migration Toolkit for Virtualization You can upgrade the MTV Operator by using the Red Hat OpenShift web console to install the new version. Procedure In the Red Hat OpenShift web console, click Operators Installed Operators Migration Toolkit for Virtualization Operator Subscription . Change the update channel to the correct release. See Changing update channel in the Red Hat OpenShift documentation. Confirm that Upgrade status changes from Up to date to Upgrade available . If it does not, restart the CatalogSource pod: Note the catalog source, for example, redhat-operators . From the command line, retrieve the catalog source pod: USD oc get pod -n openshift-marketplace | grep <catalog_source> Delete the pod: USD oc delete pod -n openshift-marketplace <catalog_source_pod> Upgrade status changes from Up to date to Upgrade available . If you set Update approval on the Subscriptions tab to Automatic , the upgrade starts automatically. If you set Update approval on the Subscriptions tab to Manual , approve the upgrade. See Manually approving a pending upgrade in the Red Hat OpenShift documentation. If you are upgrading from MTV 2.2 and have defined VMware source providers, edit the VMware provider by adding a VDDK init image. Otherwise, the update will change the state of any VMware providers to Critical . For more information, see Adding a VMSphere source provider . If you mapped to NFS on the Red Hat OpenShift destination provider in MTV 2.2, edit the AccessModes and VolumeMode parameters in the NFS storage profile. Otherwise, the upgrade will invalidate the NFS mapping. For more information, see Customizing the storage profile .
oc get pod -n openshift-marketplace | grep <catalog_source> oc delete pod -n openshift-marketplace <catalog_source_pod>