Closed sstoner closed 3 years ago
Thanks for reporting. I'm quite confused of your suggestion
add delay(sleep) after https://github.com/tkestack/galaxy/blob/master/pkg/utils/utils.go#L243-L246
Do you mean after creating veth device, we should wait for its mac address to be present?
Also I have tested on kernel 4.14.105
and I can't reproduce the issue you reported. Sorry, I can't get a machine of kernel: 4.19.90-17.ky10.aarch64, arch: arm64
to try to reproduce your issue.
Thanks for reporting. I'm quite confused of your suggestion
add delay(sleep) after https://github.com/tkestack/galaxy/blob/master/pkg/utils/utils.go#L243-L246
Do you mean after creating veth device, we should wait for its mac address to be present?
yeah, because the mac address will be changed once after we created veth devices(see "Steps to Reproduce" B ), we need to aoivd to get the mac address passed away.
I'm suspicious of this fault maybe caused by kernel. I will close this issue and thanks for your reply.
I have the same issue, do you use the kylin v10 system with arm? @sstoner
I have the same issue, do you use the kylin v10 system with arm? @sstoner
@yaoice yeah...
do you find suitable method to resolve it?
Expected Behavior
pod can communicate with the host it exists.
Current Behavior
pod can't communiate with the host it exists.
the pod's default gateway and the gateway's mac are added by
galaxy-veth
, but the problem is the gateway's mac should be the veth mac of host netns(v-h6ea2d3176).Possible Solution
Steps to Reproduce
A:
B: (iproute2 5.4.0)
ip l add veth-pba type veth peer name veth-pab output:
mac address flapping in the creating process
Context (Environment)
strace -f -s 100 ip l add veth-pba type veth peer name veth-pab
Detailed Description
Possible Implementation