Description of problem: OCP 4.4 will remove some older deprecated API versions. The Migration Controller needs to work with OpenShift 3.7 -> 4.4, so it needs to be able to create the older versioned resources on older clusters and ensure that on newer clusters it creates the newer version resources. Related PR to address: https://github.com/konveyor/mig-controller/pull/446/files
In order to reproduce the following scenario 1. $ oc new-project test 2. $ oc new-app datagrid-service -p APPLICATION_USER=user 3. Migrate the namespace CAM: 1.2 stage Target cluster: 4.4 Source cluster: 4.1 CAM is not migrating resources with the right "v1" version. Even is those versions are reported properly by "oc get" command. Those resources are listed twice with 2 different beta versions too. That way, the migration of ]$ oc get controllerrevisions datagrid-service-b747fd495 -o yaml | grep "apiVe" apiVersion: apps/v1 and $ oc get sts -o yaml | grep "\- api" - apiVersion: apps/v1 Results in this warning incompatibleNamespaces: - gvks: - group: apps kind: controllerrevisions version: v1beta2 - group: apps kind: statefulsets version: v1beta2 - group: apps kind: controllerrevisions version: v1beta1 - group: apps kind: statefulsets version: v1beta1 name: ocp-24871-datagrid We move the BZ to assigned.
https://bugzilla.redhat.com/show_bug.cgi?id=1815131#c3 is most likely applicable to https://bugzilla.redhat.com/show_bug.cgi?id=1831711. The intention behind this bz was to ensure the controller is able to basic operations on openshift 4.4. GVK migrations are out of scope for this bz, which are captured in 1711.
Virified with CAM 1.2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:2326