+++ This bug was initially created as a clone of Bug #1840226 +++ Description of problem: When we configure an empty playbook when we add a hook to a migration plan, the migration plan is left in a state where we cannot edit it in order to fix the empty playbook Version-Release number of selected component (if applicable): CAM 1.2 stage How reproducible: Always Steps to Reproduce: 1. Create a migration plan 2. In hooks screen add a hook to the migration plan 3. Leave the field "Ansible playbook" empty. Do not introduce any playbook. Actual results: The migration plan is broken and in "Not Ready" status. When we try to edit the migration plan in order to fix the problem, the edit screen is broken before we can reach the hook that we need to edit. Expected results: Probably empty playbooks should not be allowed. Additional info: --- Additional comment from Erik Nelson on 2020-05-26 17:00:15 UTC --- https://bugzilla.redhat.com/show_bug.cgi?id=1840226
https://github.com/konveyor/mig-ui/pull/878
Verified using CAM 1.2.2 stage - name: MIG_UI_REPO value: openshift-migration-ui-rhel8@sha256 - name: MIG_UI_TAG value: 6abfaea8ac04e3b5bbf9648a3479b420b4baec35201033471020c9cae1fe1e11 UI does not allow to create a hook with an empty playbook. It displays this warning "Ansible file upload required".
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, 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-2020:2571