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
Always show applied migration configuration in VMI status #7267
Always show applied migration configuration in VMI status #7267
Conversation
/retest |
1 similar comment
/retest |
cb6bde5
to
7878145
Compare
Tests pass locally... /retest |
/retest |
/lgtm |
a47008e
to
45e89a4
Compare
/retest |
/lgtm |
/retest |
@iholder-redhat This PR looks great already! |
Signed-off-by: Itamar Holder <iholder@redhat.com>
Signed-off-by: Itamar Holder <iholder@redhat.com>
Signed-off-by: Itamar Holder <iholder@redhat.com>
Signed-off-by: Itamar Holder <iholder@redhat.com>
45e89a4
to
87251d2
Compare
Great idea! Thanks! Added. BTW - the way it is now the log entry would just show pointers (as that's what Do you have any suggestions? |
/retest |
1 similar comment
/retest |
- Also add log entry for matched configs Signed-off-by: Itamar Holder <iholder@redhat.com>
87251d2
to
86a7e6a
Compare
/retest |
1 similar comment
/retest |
/lgtm |
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.
/approve
/cc @vladikr
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stu-gott The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/retest |
What this PR does / why we need it:
In this PR #6399 that introduced Migration Policies, new fields were introduced to
VirtualMachineInstanceMigrationState
struct which is a property of the VMI status. One of those fields is namedMigrationConfiguration
which lists the actual migration configurations that were applied.Before this PR this information was part of a VMI status only if the migration was matched to a migration policy.
After this PR this information would be part of VMI status for every migration - not only migrations that were matched to a policy.
Usually, when a VMI migrates without matching to a policy (which means the configs are taken from Kubevirt CR) the applied configurations can be found in Kubevirt CR. This is not guaranteed, however, since Kubevirt CR can be changed at any moment. In such circumstances we wouldn't know the actual applied migration configs.
This information is valuable for debugging or inspecting the actual migration configs.
Release note: