-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MTV-1590 Improved hooks description #586
base: main
Are you sure you want to change the base?
Conversation
c0e8df2
to
931c4a2
Compare
documentation/modules/images/updated_hooks_figure_from_martin_cropped.png
Outdated
Show resolved
Hide resolved
76326e0
to
01b65ab
Compare
Hi, @RichardHoch ! I made some comments to you directly via Slack. Happy to continue the conversation here, if needed. |
. For a pre-migration hook, perform the following steps: | ||
|
||
.. In the *Pre migration hook* section, toggle the *Enable hook* switch to *Enable pre migration hook*. | ||
.. Enter the *Hook runner image*. The default image is `quay.io/konveyor/hook-runner` and this value must be used if you are adding an Ansible playbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mnecas @matthewsecaur comments:
The text says: "Enter the Hook runner image. The default image is quay.io/konveyor/hook-runner and this value must be used if you are adding an Ansible playbook."
Issue: I don't understand what we mean when we say "this value must be used if you are adding and Ansible playbook". Customers are free to use their own image, are they not? I suppose their custom image could be based on the default hook-runner image, by why do we say is MUST be used? Here is an example of a custom hook-runner image that can be used with a playbook: https://github.com/alezzandro/aap25-ee-vmware-rhel8/tree/main/hook-runner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar as previous comment, the users can provide any image, but if they specify the spec.playbook
they need to provide us with image that has an ansible-runner. So they don't need to be based on the hook-runner but only need the ansible-runner.
Additionally we should change that image as we no longer manage the konveyor
quay repository and the image is 2 years outdated.
We should not tell the customers to use some upstream image, we should distribute them the image on top of which they can build or let them to build their images and just mention what are the requirements. That is another issue on which we need to jump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mnecas I removed the image we had. What should I write instead of it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created for tracking: https://issues.redhat.com/browse/MTV-2024
@mnecas Matthew added some comments in Slack and I copy-pasted them here. |
. For a pre-migration hook, perform the following steps: | ||
|
||
.. In the *Pre migration hook* section, toggle the *Enable hook* switch to *Enable pre migration hook*. | ||
.. Enter the *Hook runner image*. The default image is `quay.io/konveyor/hook-runner` and this value must be used if you are adding an Ansible playbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar as previous comment, the users can provide any image, but if they specify the spec.playbook
they need to provide us with image that has an ansible-runner. So they don't need to be based on the hook-runner but only need the ansible-runner.
Additionally we should change that image as we no longer manage the konveyor
quay repository and the image is 2 years outdated.
We should not tell the customers to use some upstream image, we should distribute them the image on top of which they can build or let them to build their images and just mention what are the requirements. That is another issue on which we need to jump.
01b65ab
to
84cb85f
Compare
Signed-off-by: RichardHoch <[email protected]>
11d49ca
to
4262e66
Compare
@mnecas @matthewsecaur I made the changes you suggested -- please review this PR again. Thanks. |
Hi, @RichardHoch
I think that text is an error and should either be something else or should be removed.
That's all I see for now. Thanks! |
MTV 2.8
Resolves https://issues.redhat.com/browse/MTV-1590 by revising section 6.4. of the MTV user guide, "https://docs.redhat.com/en/documentation/migration_toolkit_for_virtualization/2.7/html-single/installing_and_using_the_migration_toolkit_for_virtualization/index#adding-hooks-migration-plan-using-api"
Preview: https://file.corp.redhat.com/rhoch/improved_hook_description/html-single/#adding-hooks-mtv-migration-plan