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
[poc] kubevirt: Add hypershift requirements to primary interface #3364
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qinqon
force-pushed
the
spike-kubevirt-migration
branch
5 times, most recently
from
January 23, 2023 17:32
54aa588
to
f883ad9
Compare
davidvossel
reviewed
Jan 23, 2023
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.
nice! I made a few comments in line.
qinqon
force-pushed
the
spike-kubevirt-migration
branch
6 times, most recently
from
January 30, 2023 16:05
89eabea
to
86601e6
Compare
qinqon
force-pushed
the
spike-kubevirt-migration
branch
3 times, most recently
from
February 9, 2023 11:34
4c06f2f
to
f857c9e
Compare
/hold |
/retest-requiered |
/retest |
Oops, something went wrong:
|
qinqon
force-pushed
the
spike-kubevirt-migration
branch
5 times, most recently
from
February 13, 2023 07:04
0c86f68
to
20d207b
Compare
qinqon
force-pushed
the
spike-kubevirt-migration
branch
from
February 13, 2023 08:25
20d207b
to
9088e44
Compare
qinqon
force-pushed
the
spike-kubevirt-migration
branch
2 times, most recently
from
February 14, 2023 07:41
e3fd6c1
to
1090b81
Compare
qinqon
force-pushed
the
spike-kubevirt-migration
branch
2 times, most recently
from
February 16, 2023 11:01
73959aa
to
dc1c1eb
Compare
qinqon
force-pushed
the
spike-kubevirt-migration
branch
17 times, most recently
from
March 2, 2023 14:53
7884add
to
0aac346
Compare
This allow to use kind.sh and `--deploy` with kind local registry.
qinqon
force-pushed
the
spike-kubevirt-migration
branch
2 times, most recently
from
March 8, 2023 09:30
e584c39
to
d8ac37b
Compare
qinqon
force-pushed
the
spike-kubevirt-migration
branch
2 times, most recently
from
March 14, 2023 12:16
174c0b7
to
64d831f
Compare
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
qinqon
force-pushed
the
spike-kubevirt-migration
branch
from
March 14, 2023 13:13
64d831f
to
509a132
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
- What this PR does and why is it needed
This is a draft PR to implement features needed for hypershift hosted workers:
TODO
net.netfilter.nf_conntrack_tcp_loose=1
for snat + live migrationopenshift issues
"kube-dns" not found`
problem getting dns server
addLogicalPort failed for cluster1/virt-launcher-worker1-chdqx: failed composing DHCP options: services "kube-dns" not found
For the poc we just fallback to openshift one, but we shoiuld "mimic" what kubevirt dhcp server is doing and read for virt-launcher pod resolv.conf, this can be done by the CNI annotating the pod then ovnkube-master will use those to generate DHCP options.
node-valid-hostname.service
cannot migrate VMI: PVC test1-k7m4b-rhcos is not shared
We have to use the patch from other hypershift pocs to change the mode
We have to pass "hostname" same as kubevirt DHCP server and set it with the vm name labels from virt-launcher pod.
Using "hostname" at DHCP options is causing problem with DHCP and the VM end up without IP address
hostname option has to be quoted
Cannot connect after live-migration
Looks like the endpoint is referencing the old virt-launcher pod wich has the same ip address, removing old virt-launchers fix
the issue
Sometime the notReadyAddress is not there, looks like ovn-k Recocnile bug that appears when both pods has the same IP
Nice to have
Capk demo
https://asciinema.org/a/hEqzoFveibsuHKynQxZ3RxCHZ
- How to verify it
This is verify with the umbrella project https://github.com/qinqon/ovn-kubevirt
Docs:
ovn-kubernetes/go-controller/pkg/ovn/loadbalancer/loadbalancer.go
Line 42 in 90d77b7