Bug 1817251

Summary: [Docs] CAM 1.1.2: OCP 4.4 has stopped serving several deprecated APIs from apps.v1beta1 which may impact migrations of older applications
Product: OpenShift Container Platform Reporter: John Matthews <jmatthew>
Component: Migration ToolingAssignee: Avital Pinnick <apinnick>
Status: CLOSED NEXTRELEASE QA Contact: Xin jiang <xjiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: xjiang
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1817250
: 1818707 (view as bug list) Environment:
Last Closed: 2020-03-31 15:24:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1817250    
Bug Blocks: 1818707, 1818709    

Description John Matthews 2020-03-25 22:56:15 UTC
+++ This bug was initially created as a clone of Bug #1817250 +++

Description of problem:

Migrations of applications on source clusters that use API versions which have been removed from the target cluster will not work in CAM 1.1.2.

This will pose a problem for migrating from OCP 3.7 to OCP 4.4, common resources such as Deployments will not migrate.

For example, 
If a source cluster has an application using 'apps.v1beta1.Deployment' that resource will not be able to be migrated to a target that is only serving 'apps.v1.Deployment'.

OCP 4.3 was serving both 'apps.v1beta1.Deployment' and 'apps.v1.Deployment', in OCP 4.4 the 'apps.v1beta1.Deployment' was dropped.

OCP 4.4 only has 'apps.v1.Deployment', so applications using the older version will not migrate over.


Below blog post describes some of the APIs which were removed in k8s 1.16, these were still enabled in OCP 4.3, but have since been removed in OCP 4.4.
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/


CAM 1.2.0 has work to validate the required api versions and warn when an issue is seen.  This is not present in CAM 1.1.2.

Comment 3 Xin jiang 2020-03-31 00:59:43 UTC
verified

Comment 5 Avital Pinnick 2020-03-31 15:24:39 UTC
Changes merged. Updated doc will appear with 4.4 release.