Bug 2073496 - Errors in rsync pod creation are not printed in the controller logs
Summary: Errors in rsync pod creation are not printed in the controller logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 1.7.1
Assignee: Pranav Gaikwad
QA Contact: mohamed
Richard Hoch
URL:
Whiteboard:
: 2073494 (view as bug list)
Depends On: 2073488
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-08 15:39 UTC by Erik Nelson
Modified: 2022-05-05 13:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2073488
Environment:
Last Closed: 2022-05-05 13:50:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-controller pull 1276 0 None open Bug 2073496: Add logs in rsync operations function 2022-04-08 16:00:13 UTC
Red Hat Product Errata RHSA-2022:1734 0 None None None 2022-05-05 13:50:16 UTC

Description Erik Nelson 2022-04-08 15:39:06 UTC
+++ This bug was initially created as a clone of Bug #2073488 +++

Description of problem:
Any error happening during creation of Rsync pods does not get printed in the controller logs

Version-Release number of selected component (if applicable):
1.6.0

How reproducible:
Always

Steps to Reproduce:
1. Deploy any sample application in source namespace
2. Create a ResourceQuota (after creating application) so that no new Pods can be created in the source namespace: 

```yaml
apiVersion: v1
kind: ResourceQuota
metadata:
  name: zero-pod-quota
  namespace: rocket-chat
spec:
  hard:
    pods: "0"
```

3. Create a migration plan for above namespace and select DVM
4. Run a Stage/Cutover migration, and observe that it will get stuck at DirectVolume step with message "Running Rsync Pods to migrate Persistent Volume data" 

Actual results:
The migration gets stuck, there are no logs in the controller pertaining to creation of Pods.

Expected results:
Migration getting stuck is expected, but there should be some logs explaining the actual error in Pod creation. 

Additional info:

Comment 1 Pranav Gaikwad 2022-04-08 15:44:42 UTC
*** Bug 2073494 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2022-05-05 13:50:07 UTC
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 (Moderate: Migration Toolkit for Containers (MTC) 1.7.1 security and bug fix update), 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/RHSA-2022:1734


Note You need to log in before you can comment on or make changes to this bug.