[MTC] Migrating from RHOCP 3.11 to RHOCP 4.8 fails when using NFS StorageClass backed by Trident/Netapp CSI and rsync
Issue
- Migration Toolkit for Containers (MTC) is failing when migrating
pvc/nfs-tridentbetween two OpenShift clusters:- Source cluster is v3.11 and Destination cluster is v4.8.
- Failures in
rsyncoperation can be seen:rsync error: some files/attrs were not transferred (see previous errors) (code 23).
- This only happens when the
StorageClassis Trident (Netapp) NFS:- NFS v3 and v4 are both affected.
- Other storage (such as vmdk/VMWare) does not seem to be affected.
- Other services that use Trident-based volumes (such as backup processes) work as expected.
rsynctries to copy a directory.snapshotthat does not exit on Source cluster.- Other workloads using the Trident
StorageClassare not showing incorrect behavior. This only seems to happen with MTC workloads.
Environment
- Red Hat OpenShift Container Platform (RHOCP) 3.11 (Origin cluster);
- Red Hat OpenShift Container Platform (RHOCP) 4.8 (Destination cluster);
- Migration Toolkit for Containers (MTC) 4.8.
NOTE: Both clusters are on-premises vSphere/VMWare environment (cluster type: cloud)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.