Bug 1920548 - When mismatch of operator versions on source and destination Alert to Privileged bool not being set
Summary: When mismatch of operator versions on source and destination Alert to Privile...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.4.0
Assignee: Shawn Hurley
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-26 14:47 UTC by Shawn Hurley
Modified: 2021-01-29 15:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-29 15:37:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-controller pull 920 0 None open Bug 1920548: Defaulting RYSNC_PRIVILEGED to false for added safety 2021-01-26 16:01:26 UTC
Github konveyor mig-controller pull 926 0 None open Bug 1920548: Adding extra info to explain to user how to fix the problem when value is missin 2021-01-26 21:39:35 UTC

Comment 4 Sergio 2021-01-29 15:28:38 UTC
We are hitting another problem before we reach the point of the fix, and the main problem is not finally reported to the user in the UI.

migration-controller-8477b87c7f-4tc2g mtc {"level":"info","ts":1611931239.6253572,"logger":"direct|5nq64","msg":"","direct":"openshift-migration/fdf3e3a0-6235-11eb-9e5f-ab41db48ee81-pmmx9","error":"configmap key not found: RSYNC_TRANSFER_IMAGE","stacktrace":"\ngithub.com/konveyor/mig-controller/pkg/apis/migration/v1alpha1.(*MigCluster).GetRsyncTransferImage()\n\t/remote-source/app/pkg/apis/migration/v1alpha1/migcluster_types.go:183\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*Task).createStunnelClientPods()\n\t/remote-source/app/pkg/controller/directvolumemigration/stunnel.go:341\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*Task).Run()\n\t/remote-source/app/pkg/controller/directvolumemigration/task.go:357\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*ReconcileDirectVolumeMigration).migrate()\n\t/remote-source/app/pkg/controller/directvolumemigration/migrate.go:40\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*ReconcileDirectVolumeMigration).Reconcile()\n\t/remote-source/app/pkg/controller/directvolumemigration/directvolumemigration_controller.go:126\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem()\n\t/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1()\n\t/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1()\n\t/remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil()\n\t/remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until()\n\t/remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88\nruntime.goexit()\n\t/opt/rh/go-toolset-1.15/root/usr/lib/go-toolset-1.15-golang/src/runtime/asm_amd64.s:1374"}


We move the issue to ASSIGNED status again.

Comment 5 Erik Nelson 2021-01-29 15:37:45 UTC
Closing as WONTFIX, this will be functionally addressed with a more broad approach to version mismatches between source and destination clusters, see https://issues.redhat.com/browse/MIG-309 for more details. As for this BZ, we're intending to leave the change made for 1.4.0 as it's an additive error message in the logs and has utility on its own.


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