Skip to content

Test live migration 3#1720

Closed
qinqon wants to merge 6 commits intoopenshift:masterfrom
qinqon:test-live-migration-3
Closed

Test live migration 3#1720
qinqon wants to merge 6 commits intoopenshift:masterfrom
qinqon:test-live-migration-3

Conversation

@qinqon
Copy link
Contributor

@qinqon qinqon commented Jun 22, 2023

- What this PR does and why is it needed

- Special notes for reviewers

- How to verify it

- Description for the changelog

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 22, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: qinqon
Once this PR has been reviewed and has the lgtm label, please assign abhat for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@qinqon qinqon force-pushed the test-live-migration-3 branch 3 times, most recently from 10f3231 to 67db65c Compare June 27, 2023 07:51
qinqon added 6 commits June 27, 2023 11:32
Skip pod default network configuration if the pod is annotated with
"k8s.ovn.org/skip-ip-configuration-on-cni"

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
At live migration the IP has to follow the VM and at kubevirt it means
that the new virt-launcher pod has to re-use the address from the old
virt-launcher. This change annotate the virt-launcher pods with the
switch owning the subnet so it's possible to query the IPAM system with
the proper switch after live migration

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
The hypershift workers use DHCP for IP configuration, this
change configure the ipv4/ipv6 DHCP options from the VM's LSP with the
cidr from switch subnet, harcode arp proxy IP as default gw and the dns
server from kubernetes or openshift service, it also configure the
"arp_proxy" option at the LSP.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Live migrated pods will keep their IP and it will be from a subnet
different from the node switch, to continue routing to the proper node a
point to point route need to be added to ovn_cluster_router that will
change at live migration. This change add that route and implement the
live migration switch.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
This change add e2e tests to check pre and post copy live migration, for
that the "kind.sh" script has learn to install kubevirt. Github actions
also include jobs to exercise it, the post-copy test has being disabled
for them since it's not working at that env.

To test that tcp connection survives live migration http connection
reuse is check.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
@qinqon qinqon force-pushed the test-live-migration-3 branch from 67db65c to f96f92e Compare June 27, 2023 09:35
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 29, 2023
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@qinqon qinqon closed this Jul 19, 2023
@qinqon qinqon deleted the test-live-migration-3 branch July 19, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants