Description of problem: Hook can't be performed due to lacking permissions of forklift-controller. Controller tries to create a config map and it can't, so migration never ends due to hook is hanged up Version-Release number of selected component (if applicable): 2.1-34 How reproducible: 100% Steps to Reproduce: 1. Create a new plan 2. During creation add a PreHook 3. Run the plan Actual results: Plan is hanged up on hook execution Expected results: Additional info: # oc logs -c controller forklift-controller-6d4f69cfd6-v6cms E0729 13:58:24.246413 1 reflector.go:127] pkg/mod/k8s.io/client-go.3/tools/cache/reflector.go:156: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap:configmaps is forbidden: User "system:serviceaccount:openshift-mtv:forklift-controller" cannot list resource "configmaps" in API group "" at the cluster scope
We need the controller rule to include perms to CRUD on ConfigMap and Job.
RBAC fixes present in build 2.1.0-36 / IIB:94891 , please give it a try and let us know.
Verified on 2.1-36, IIB:94891
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 (Migration Toolkit for Virtualization 2.1.0), 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-2021:3278